I am working on reportlab in python and want to use Avenir font I have this font of OTF type and There is class TTFont in reportlab but i want to use .otf font how to use it
pdfmetrics.registerFont(TTFont("Avenir", avenir_font_path)) #this only work with .ttfont
all your suggestions would be highly appreciated.