universal unicode font for reportlab

Duncan Booth duncan.booth at invalid.invalid
Wed Sep 10 16:42:41 CEST 2008

Laszlo Nagy <gandalf at shopzeus.com> wrote:

> I need to use HTML anyway. I realized that universal unicode fonts are 
> above 5MB in size. The report would be a 10KB PDF, but I need to embed 
> the font before I can send it to anyone. Since some reports needs to be 
> sent in emails, I need to use something else. I cannot be sending 10MB 
> emails for  "one page" reports.
I thought that usually when you embed a font in a PDF only the glyphs which 
are actually used in the document get embedded. Unfortunately a quick test 
with reportlab seems to show that it doesn't do that optimisation: it looks 
as though it just embeds the entire font.

Duncan Booth http://kupuguy.blogspot.com

More information about the Python-list mailing list