[reportlab-users] Generated PDFs missing fonts

Robin Becker robin at reportlab.com
Sat Jun 11 07:39:20 EDT 2005


Matthew Somerville wrote:
......
> This is all going very nicely, thank you very much for creating this 
> library. However, we are getting a few bug reports from users that the 
> PDFs aren't displaying any of the text in one of the two fonts we use. 
> We are using Transport and Rockwell TTF fonts, I have them both 
> installed on my computer, and the PDFs display fine. I thought that the 
> fonts would be embedded somehow in the generated PDF so you wouldn't 
> need the fonts to display the PDF - is this incorrect?
.....

your assumption is correct. The intention is that the ttf fonts are 
embedded in small (length 256) subsets. Each subset certainly references 
the original TTF file, but I don't actually see that the fontfile is 
being internalized.  I'm not the TTF expert so we need help from Marius 
Gedminas who did the original work.

Can you send an example of a problematic file. I don't know the 
Transport and Rockwell fonts.

It might be possible to force the whole file into the document if that's 
required; I would need to check the PDF docs.
-- 
Robin Becker


More information about the reportlab-users mailing list