Aspose::Font::Type1::Type1Encoding Klasse
Inhalt
[
Ausblenden
]Type1Encoding class
Stellt die Type1Font Kodierung dar.
class Type1Encoding : public Aspose::Font::IFontEncoding,
public Aspose::Font::ISupportsNameAddressing
Methoden
| Methode | Beschreibung |
|---|---|
| DecodeToGid(uint32_t) override | Dekodiert Gid zu Unicode. Glyph-ID ist eine eindeutige Nummer für ein Glyph, die vom Font-Typ abhängt. Zum Beispiel: Die ID von Type1 ist ein Glyph-Name, eine Instanz der Klasse (GlyphStringId). Die ID von TTF ist ein int-Index, eine Instanz der Klasse (GlyphUInt32Id). |
| DecodeToGidParameterized(System::SharedPtr<IEncodingParameters>, uint32_t) override | Parametrisierte Dekodiermethode. Nicht unterstützt für den Type1Font Typ. |
| Encode(uint32_t, uint32_t) override | Kodiert das Glyph. Für TTF-Fonts ist der Zeichencode Unicode. Nicht unterstützt für Type1Font Typen. |
| GetNameToCharCodeIndex() override | Gibt die Zuordnung von Namen zu Zeichenkodierung zurück. Hinweis: Der Zeichencode ist kein Unicode. Der Zeichencode ist ein Zeichenindex in der Font Kodierung “Tabelle”. |
| GidToUnicode(System::SharedPtr<Glyphs::GlyphId>) override | Dekodiert Gid zu Unicode. Glyph-ID ist eine eindeutige Nummer für ein Glyph, die vom Font-Typ abhängt. Zum Beispiel: Die ID von Type1 ist ein Glyph-Name, eine Instanz der Klasse (GlyphStringId). Die ID von TTF ist ein int-Index, eine Instanz der Klasse (GlyphUInt32Id). |
| UnicodeToGid(uint32_t) override | Gibt GlyphId für Unicode zurück. Oder notdef, wenn der Font kein Glyph für das Unicode enthält. Glyph-ID ist eine eindeutige Nummer für ein Glyph, die vom Font-Typ abhängt. Zum Beispiel: Die ID von Type1 ist ein Glyph-Name, eine Instanz der Klasse (GlyphStringId). Die ID von TTF ist ein int-Index, eine Instanz der Klasse (GlyphUInt32Id). |
Siehe auch
- Class IFontEncoding
- Class ISupportsNameAddressing
- Namespace Aspose::Font::Type1
- Library Aspose.Font for C++