Creating glyph index table for PDF text Rendering using Freetype

925 Views Asked by At

( PDF Specific ) If we want to render text using freetype, we requires glyph-index corresponding to character..etc. So, do we need to parse a font / embedded-font ( file ) for TrueType, Type1 etc. using tables and data there and then create glyph-index mapping for character? Or there is some shortcut to find glyph-index. More preciously is FT_Get_Char_Index sufficient to give glyph-index in all cases?

1

There are 1 best solutions below

4
On

Freetype is a rendering engine for several font technologies which are used in PDF.What are you trying to do exactly?