TtfEncoding.DecodeToGid
TtfEncoding.DecodeToGid method
TTF Font’s DecodeToGlyphId implementation finds unicode table and returns glyph id for unicode char. 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 DecodeToGid(uint unicode)
Parameter | Type | Description |
---|---|---|
unicode | UInt32 | Character code to get glyph identifier for. |
Return Value
Glyph identifier related to character code passed.
See Also
- class GlyphId
- class TtfEncoding
- namespace Aspose.Font.Ttf
- assembly Aspose.Font