IFontEncoding.UnicodeToGid

IFontEncoding.UnicodeToGid method

Decodes a unicode and returns glyph id. 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 GlyphId UnicodeToGid(uint unicode)
ParameterTypeDescription
unicodeUInt32Unicode to get glyph identifier for.

Return Value

Glyph identifier related to unicode passed.

See Also