[reportlab-users] Embedding TrueType fonts
Mon, 26 May 2003 11:09:50 +0100
> It looks like Microsoft allows this for some of its fonts
> (Installable Embedding Allowed) but I don't know how to change a
> TTF font into an AFM/PFB pair that can be embedded via ReportLab?
> How to I get from .TTF -> AFM/PFB ?
They are different; AFM/PFB is Type 1, and you need a pecial
tool like Pyrus FontLab to convert them. However, you CAN embed TrueType
fonts using our library. Look at test_pdfbase_ttfonts.py in reportlab/test/