Aspose::Font::IFontEncoding::DecodeToGid method
IFontEncoding::DecodeToGid method
Dekodiert einen Zeichencode und gibt die Glyph‑ID zurück. Glyph‑ID ist eine eindeutige Nummer für ein Glyph, die vom Font‑Typ abhängig ist. Zum Beispiel: Type1’s ID ist ein Glyph‑Name, Instanz der Klasse (GlyphStringId). TTF’s ID ist ein int‑Index, Instanz der Klasse (GlyphUInt32Id). Hinweis: Der Zeichencode ist nicht unbedingt ein Unicode. Der Zeichencode ist ein Zeichen‑Index in der Font Kodierung "table".
virtual System::SharedPtr<Glyphs::GlyphId> Aspose::Font::IFontEncoding::DecodeToGid(uint32_t charCode)=0
| Parameter | Typ | Beschreibung |
|---|---|---|
| charCode | uint32_t | Zeichencode, für den der Glyph-Bezeichner ermittelt werden soll. |
ReturnValue
Glyph‑Bezeichner, der dem übergebenen charCode zugeordnet ist.
Siehe auch
- Typedef SharedPtr
- Class GlyphId
- Class IFontEncoding
- Namespace Aspose::Font
- Library Aspose.Font for C++