universal unicode font for reportlab
rridge at csclub.uwaterloo.ca
Wed Sep 10 18:28:55 CEST 2008
Duncan Booth <duncan.booth at suttoncourtenay.org.uk> wrote:
>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.
Yah, PDF files normally only contain an embedded subset of the fonts used.
It might possible to use Ghostscript's ps2pdf command (which can take a
PDF file as input) to strip out the unused glyphs from the embedded fonts.
l/ // Ross Ridge -- The Great HTMU
[oo][oo] rridge at csclub.uwaterloo.ca
More information about the Python-list