Aspose::Font::Cff::CffEncoding::DecodeToGid method

CffEncoding::DecodeToGid method

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.

System::SharedPtr<Aspose::Font::Glyphs::GlyphId> Aspose::Font::Cff::CffEncoding::DecodeToGid(uint32_t charCode) override
ParameterTypeDescription
charCodeuint32_tCharacter code(CID) to get glyph identifier for.

ReturnValue

Glyph identifier related to CID passed.

See Also