[cairo] Embedding TTF

Adrian Johnson ajohnson at redneon.com
Sat Apr 3 19:46:12 PDT 2010


ecir hana wrote:
> Hello,
> 
> just a silly question, I'm reading PDF spec and there it says:
> 
> If the TrueType font program is embedded, the Type 2 CIDFont
> dictionary must contain a CIDToGIDMap entry that maps CIDs to the
> glyph indices for the appropriate glyph descriptions in that font
> program.

CIDToGIDMap is an optional entry in the CIDFont dictionary. If it is 
omitted the default value is Identity.

> 
> But I cannot find "CIDToGIDMap" in
> "_cairo_pdf_surface_emit_truetype_font_subset" in
> "cairo-pdf-surface.c".
> 
> Is there a reason for that? Am I missing something?
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo



More information about the cairo mailing list