TtfEncoding.GidToUnicode

TtfEncoding.GidToUnicode method

Decodes glyph id to unicode. Glyph id is a unique number for a glyph, which is font type dependent. For example: Type1’s id is a glyph name, instance of (GlyphStringId) class. TTF’s id is an int index, instance of (GlyphUInt32Id) class.

public uint GidToUnicode(GlyphId glyphId)
ParameterTypeDescription
glyphIdGlyphIdGlyph identifier of symbol to decode.

Return Value

Unicode value related to glyph id passed.

See Also