Aspose::Font::Ttf::TtfFont::GetGlyphById Methode

TtfFont::GetGlyphById(System::SharedPtr<Glyphs::GlyphId>) method

Gibt ein Glyph anhand der Glyph-ID zurück. Die Glyph-ID ist eine eindeutige Nummer für ein Glyph, die vom Font-Typ abhängt. Die Glyph-ID eines TTF Font kann eine Instanz der Klasse (GlyphStringId) oder der Klasse (GlyphUInt32Id) sein. Die Glyph-Adressierung nach Name (String) wird für TTF-Fonts über die Post-Tabellen-Zuordnung unterstützt. Im Falle eines CFF Font wird die CFF-Struktur verwendet, um Glyphs über ihren Namen anzusprechen.

System::SharedPtr<Glyphs::Glyph> Aspose::Font::Ttf::TtfFont::GetGlyphById(System::SharedPtr<Glyphs::GlyphId> id) override
ParameterTypBeschreibung
idSystem::SharedPtr<Glyphs::GlyphId>Glyph-ID.

ReturnValue

Glyph.

Siehe auch

TtfFont::GetGlyphById(System::String) method

Gibt ein Glyph anhand des Glyph-Namens zurück. Die Glyph-Adressierung nach Name (String) wird für TTF-Fonts über die Post-Tabellen-Zuordnung unterstützt. Im Falle eines CFF Font wird die CFF-Struktur verwendet, um Glyphs über ihren Namen anzusprechen.

System::SharedPtr<Glyphs::Glyph> Aspose::Font::Ttf::TtfFont::GetGlyphById(System::String glyphName)
ParameterTypBeschreibung
glyphNameSystem::StringGlyph-String-Bezeichner.

ReturnValue

Glyph.

Siehe auch

TtfFont::GetGlyphById(uint32_t) method

Gibt die Glyphe anhand ihrer Glyphen‑ID zurück.

System::SharedPtr<Glyphs::Glyph> Aspose::Font::Ttf::TtfFont::GetGlyphById(uint32_t id)
ParameterTypBeschreibung
iduint32_tGlyph-Index.

ReturnValue

Glyph.

Siehe auch