Aspose::Font::Cff::CffEncoding class
Contents
[
Hide
]CffEncoding class
Represents CFF Font encoding.
class CffEncoding : public Aspose::Font::IFontEncoding,
public Aspose::Font::ISupportsNameAddressing
Methods
Method | Description |
---|---|
DecodeToGid(uint32_t) override | Gets Gid for charCode passed. This method designed for a CFF CIDFonts, where charCode must be a valid CID value. Glyph id is a unique number for a glyph, which is font type dependent. CFF Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class. |
DecodeToGidParameterized(System::SharedPtr<IEncodingParameters>, uint32_t) override | Parameterized decode method. Not supported for CFF Font type. |
Encode(uint32_t, uint32_t) override | Encodes the glyph. Not supported for CFF Font types. |
GetNameToCharCodeIndex() override | Returns name to character code encoding map. Note: character code is not a unicode. Character code is a char index in Font encoding “table”. |
GetNameToGidIndex() | Returns name to character code encoding map. Note: Character code is not a unicode. Character code is a char index in Font encoding “table”. |
GetNameToSidIndex() | Returns name to character code encoding map. Note: Character code is not a unicode. Character code is a char index in Font encoding “table”. |
GetSidName(int32_t) | Gets name for the SID specified. |
GidToUnicode(System::SharedPtr<Aspose::Font::Glyphs::GlyphId>) override | Decodes Gid to unicode. Glyph id is a unique number for a glyph, which is font type dependent. CFF Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class. |
UnicodeToGid(uint32_t) override | Decodes a unicode and returns glyph id. Glyph id is a unique number for a glyph, which is font type dependent. CFF Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class. |
See Also
- Class IFontEncoding
- Class ISupportsNameAddressing
- Namespace Aspose::Font::Cff
- Library Aspose.Font for C++