[reportlab-users] embedding standard fonts
Robin Becker
robin at reportlab.com
Tue Jul 29 10:05:39 EDT 2008
adam hyde wrote:
>> ......
>> There are/were some examples of embedding T1 fonts in the main tests area. I
>> think you'll need the afm and pfb files for your standard fonts (see eg
>> http://www.reportlab.com/ftp/pfbfer.zip). You'll also need to give them names
>> other than the standard ones so you can use them in reportlab without clashing.
>> with the real standard fonts (which won't be embedded).
>
> you mean different file names or change the name of the font family
> within the file with something like fontforge?
........
I thought this would be easy, but it seems we don't have the original afm files
for these fonts which measn we need to synthesize some as I believe they're not
freely available on the interweb. If we had them we could change the names in
the reportlab internal data structure to allow the embedding to proceed without
interfering with the standard fonts.
I guess I'll try and think of a way to use the pfb file for embedding purposes
without having the afm.
--
Robin Becker
More information about the reportlab-users
mailing list