[cairo] PS surface and composite glyphs
ajohnson at redneon.com
Wed Aug 10 09:12:01 PDT 2005
Robert O'Callahan wrote:
> On Fri, 2005-08-05 at 02:08 -0400, Kristian Høgsberg wrote:
>>Adrian Johnson wrote:
>>>Is Type 1 font support planned for the postscript backend?
>>Yes, but not subsetting. That shouldn't be a problem, though, since
>>Type1 fonts are restricted to 255 glyphs. My plan was to just embed the
>>Type1 font directly, but I haven't yet figured out how to get at the raw
>>font data given an FT_Face using the public freetype API.
> You may find this code and its references instructive:
> It may even be possible to reuse some of that code ... it's GPL/LGPL/MPL
I don't think this code would be the best solution as all the
hint commands from the CharStrings dictionary will be lost.
It would be better if freetype made the raw font data available.
The code would be useful for printing truetype fonts to printers
that don't support Type 42. It could also be used for printing
any other scalable font type supported by freetype.
More information about the cairo