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)
Parameter | Type | Description |
---|---|---|
unicode | UInt32 | Unicode to get glyph identifier for. |
Return Value
Glyph identifier related to unicode passed.
See Also
- class GlyphId
- interface IFontEncoding
- namespace Aspose.Font
- assembly Aspose.Font