universal unicode font for reportlab
Tim Roberts
timr at probo.com
Thu Sep 11 01:32:00 EDT 2008
Duncan Booth <duncan.booth at invalid.invalid> wrote:
>
>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.
No, it does subsetting. There was a debate a year or two ago on the
reportlab list about how the font subset should be named in the resulting
PDF file.
Is it possible you have an older release?
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list