Type1Encoding.UnicodeToGid

Type1Encoding.UnicodeToGid method

Returns GlyphId for unicode. Or notdef if font doesn’t contain glyph for the 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 GlyphId UnicodeToGid(uint unicode)
ParameterTypeDescription
unicodeUInt32Unicode to get glyph identifier for.

Return Value

Glyph identifier related to unicode passed.

See Also