TtfFont.GetGlyphById
Contents
[
Hide
]GetGlyphById(GlyphId)
Returns glyph by glyph id. Glyph id is a unique number for a glyph, which is font type dependent. TTF Font glyph id can be instance of (GlyphStringId
) class or (GlyphUInt32Id
) class. Name (string) glyph addressing is supported for TTF Fonts via Post table mapping. In case CFF Font inside, the CFF structures are used to address glyphs by name.
public override Glyph GetGlyphById(GlyphId id)
Parameter | Type | Description |
---|---|---|
id | GlyphId | Glyph id. |
Return Value
Glyph.
See Also
- class Glyph
- class GlyphId
- class TtfFont
- namespace Aspose.Font.Ttf
- assembly Aspose.Font
GetGlyphById(string)
Returns glyph by glyph name. Name (string) glyph addressing is supported for TTF fonts via Post table mapping. In case CFF Font inside, the CFF structures are used to address glyphs by name.
public Glyph GetGlyphById(string glyphName)
Parameter | Type | Description |
---|---|---|
glyphName | String | Glyph string identifier. |
Return Value
Glyph.
See Also
- class Glyph
- class TtfFont
- namespace Aspose.Font.Ttf
- assembly Aspose.Font
GetGlyphById(uint)
Returns glyph by glyph id.
public Glyph GetGlyphById(uint id)
Parameter | Type | Description |
---|---|---|
id | UInt32 | Glyph index. |
Return Value
Glyph.
See Also
- class Glyph
- class TtfFont
- namespace Aspose.Font.Ttf
- assembly Aspose.Font