Aspose::Font::Type1::Type1Encoding::UnicodeToGid method

Type1Encoding::UnicodeToGid method

Returns GlyphId for unicode. Or notdef if font doesn’t contain glyph for the unicode. 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::Type1::Type1Encoding::UnicodeToGid(uint32_t unicode) override
ParameterTypeDescription
unicodeuint32_tUnicode to get glyph identifier for.

ReturnValue

Glyph identifier related to unicode passed.

See Also