[reportlab-users] Disable TTF Embedding

Yoann Roman yroman-reportlab at altalang.com
Wed Oct 15 14:48:07 EDT 2008


Tim Roberts wrote...

> The beauty of PDF files is that you don't need an exact version match

> to read a file. I shouldn't need a new reader to read a new PDF. If

> I have Acrobat Reader 5 on Windows 98, it won't be able to display

> those files.


It looks like the only problematic ones are Arial Narrow (all), Century
Gothic (2000/XP), Georgia (98), and Trebuchet (98). All other fonts are,
according to Adobe, installed by default on Windows 98/2000/XP. Of
course, this says nothing of Mac compatibility.

Acrobat's "High Quality Print" and "Press" settings clear this "never
embed" font list so that everything is included. I can't find any
official Adobe reasoning, so my guess is they accepted the possible
compatibility issues for smaller file sizes by default.

As for doing this with ReportLab, it turned out to be a fairly easy
patch. I'll send it along for review under a tagged subject per Andy's
recommendation.

--
Yoann Roman



More information about the reportlab-users mailing list