[cairo] [PATCH] Use Type2 CID fonts instead of Type42 fonts in PDF backend

Behdad Esfahbod behdad at behdad.org
Sun Jan 21 13:32:47 PST 2007

On Fri, 2007-01-19 at 11:32 -0500, Eugeniy Meshcheryakov wrote:
> With attached patch cairo PDF backend outputs Type2 CID fonts for
> truetype, instead of Type42 fonts. This has advantage that most of
> truetype fonts will not be fragmented. This can make some documents
> significantly more compact: all structures that were dublicated in
> multiple Type42 fonts (cvt, fpgm, prep, some glyphs referenced from
> other glyphs, maybe other tables) will now be included only once. 

Nice work.  Thanks.  How well is this supported in various PDF

Adrian, would you review the patch (and commit if you like it) please?


"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759

More information about the cairo mailing list