Aspose::Font::Ttf::TtfFont::GetGlyphById method
Contents
[
Hide
]TtfFont::GetGlyphById(System::SharedPtr<Aspose::Font::Glyphs::GlyphId>) method
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.
System::SharedPtr<Aspose::Font::Glyphs::Glyph> Aspose::Font::Ttf::TtfFont::GetGlyphById(System::SharedPtr<Aspose::Font::Glyphs::GlyphId> id) override
Parameter | Type | Description |
---|---|---|
id | System::SharedPtr<Aspose::Font::Glyphs::GlyphId> | Glyph id. |
ReturnValue
Glyph.
See Also
- Typedef SharedPtr
- Class Glyph
- Class GlyphId
- Class TtfFont
- Namespace Aspose::Font::Ttf
- Library Aspose.Font for C++
TtfFont::GetGlyphById(System::String) method
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.
System::SharedPtr<Aspose::Font::Glyphs::Glyph> Aspose::Font::Ttf::TtfFont::GetGlyphById(System::String glyphName)
Parameter | Type | Description |
---|---|---|
glyphName | System::String | Glyph string identifier. |
ReturnValue
Glyph.
See Also
- Typedef SharedPtr
- Class Glyph
- Class String
- Class TtfFont
- Namespace Aspose::Font::Ttf
- Library Aspose.Font for C++
TtfFont::GetGlyphById(uint32_t) method
Returns glyph by glyph id.
System::SharedPtr<Aspose::Font::Glyphs::Glyph> Aspose::Font::Ttf::TtfFont::GetGlyphById(uint32_t id)
Parameter | Type | Description |
---|---|---|
id | uint32_t | Glyph index. |
ReturnValue
Glyph.
See Also
- Typedef SharedPtr
- Class Glyph
- Class TtfFont
- Namespace Aspose::Font::Ttf
- Library Aspose.Font for C++