> I have a CID-keyed font, and I need to obtain the underlying glyphs in
> the font for CIDs and vice-versa. Is there a public function which
> does this already?
What exactly do you mean? [This is FreeType 2.3.6] If you call
FT_Load_Glyph for a CID-keyed font, you enter the CID, and you get
back the glyph structure.
> As an aside, I was surprised to find that the "num_glyphs" field in
> FT_FaceRec doesn't provided the number of CIDs for CID-keyed fonts,
> but instead the number of glyphs.
This is a documentation error. It *does* provide the number of CIDs
for CID-keyed fonts. I've just fixed it in the documentation.
Werner
_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel