[cairo] Type3 outline glyph support in PostScript backend
keithp at keithp.com
Sun Apr 9 00:54:09 PDT 2006
I've written some basic Type3 font support for the PostScript backend.
It doesn't yet support bitmap fonts, but otherwise makes no demands on
the font backend, so it should run everywhere.
Adding bitmap support will be straightforward; it just requires a
pre-processing step to emit all of the requisite images.
As it doesn't check which font backend is in use, it must live at the
cairo_scaled_font_t level, which means that each scaled font generates a
new Type3 font. This may cause a bit of thrashing for applications using
numerous scaled fonts.
The code also fails to figure out the nominal advance for each glyph, so
each is placed independently in the output making for rather a lot of
So, tasks remaining:
1 Bitmap glyph support
2 Unscaled font support (font backend specific)
3 FreeType support for Type1/Type42 fonts
4 Replace Type3 with Type1 fonts?
5 'show' merging
This is on the ps-type3 branch in my cairo repository:
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060409/6c363c54/attachment.pgp
More information about the cairo