[cairo] Type1 font subsetting and embedding

Kristian Høgsberg krh at bitplanet.net
Thu Aug 11 07:58:35 PDT 2005


Attached is a patch to add type1 font subsetting and embedding to the 
pdf and postscript backends.  The approach I've taken is to scan through 
the type1 file and keep as much of the font file unchanged.  The few 
things I do change is the encoding table, the font name and of course 
filter out unused glyph definitions.  Type1 fonts are quite loosely 
specified, but I think this approach is fairly robust.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: t1-subset.patch
Type: text/x-diff
Size: 36186 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050811/a8983afe/t1-subset.bin

More information about the cairo mailing list