Aspose::Font::Ttf::TtfEncoding::DecodeToGid method

TtfEncoding::DecodeToGid method

TTF Font’s DecodeToGlyphId implementation finds unicode table and returns glyph id for unicode char. Glyph id is a unique number for a glyph, which is font type dependent. For example: Type1’s id is a glyph name, instance of (GlyphStringId) class. TTF’s id is an int index, instance of (GlyphUInt32Id) class.

System::SharedPtr<Aspose::Font::Glyphs::GlyphId> Aspose::Font::Ttf::TtfEncoding::DecodeToGid(uint32_t unicode) override
ParameterTypeDescription
unicodeuint32_tCharacter code to get glyph identifier for.

ReturnValue

Glyph identifier related to character code passed.

See Also