[cairo] PS surface and composite glyphs
rocallahan at novell.com
Sun Aug 7 19:06:43 PDT 2005
On Fri, 2005-08-05 at 02:08 -0400, Kristian Høgsberg wrote:
> Adrian Johnson wrote:
> > I've been working with the postscript surface and found that printing of
> > composite glyphs was not working. Here's a patch that got it working for
> > me.
> Good work, thanks. Patch applied with a couple of changes: I renamed
> cairo_pdf_ft_font_remap_composite_glyphs to
> cairo_pdf_ft_font_remap_composite_glyph since it's only remapping one
> glyph at a time and I added a comment about why the glyf table has to be
> the first we write out.
> > 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
More information about the cairo