Aspose::Font::Ttf::TtfFont::GetGlyphComponentsById method

TtfFont::GetGlyphComponentsById(System::SharedPtr<Aspose::Font::Glyphs::GlyphId>, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList>) method

Gets a glyph by glyph identifier passed and fills passed list of glyph identifiers with components of this glyph. Glyph id is a unique number for a glyph, which is font type dependent. TTF Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class. Name (string) glyph addressing is supported for TTF Fonts via Post table mapping. In case CFF Font inside, the CFF structures are used to address glyphs by name.

virtual void Aspose::Font::Ttf::TtfFont::GetGlyphComponentsById(System::SharedPtr<Aspose::Font::Glyphs::GlyphId> id, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList> componentsToPopulate)
ParameterTypeDescription
idSystem::SharedPtr<Aspose::Font::Glyphs::GlyphId>Glyph id.
componentsToPopulateSystem::SharedPtr<Aspose::Font::Glyphs::GlyphIdList>List of glyph identifiers to fill.

Remarks

Empty collection componentsToPopulate should be passed that will contain glyph components id list.

See Also

TtfFont::GetGlyphComponentsById(System::String, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList>) method

Gets a glyph by glyph name passed and fills passed list of glyph identifiers with components of this glyph.

void Aspose::Font::Ttf::TtfFont::GetGlyphComponentsById(System::String glyphName, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList> componentsToPopulate)
ParameterTypeDescription
glyphNameSystem::StringGlyph name.
componentsToPopulateSystem::SharedPtr<Aspose::Font::Glyphs::GlyphIdList>List of glyph identifiers to fill.

Remarks

Empty collection componentsToPopulate should be passed that will contain glyph components id list.

See Also

TtfFont::GetGlyphComponentsById(uint32_t, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList>) method

Gets a glyph by glyph index passed and fills passed list of glyph identifiers with components of this glyph.

void Aspose::Font::Ttf::TtfFont::GetGlyphComponentsById(uint32_t id, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList> componentsToPopulate)
ParameterTypeDescription
iduint32_tGlyph index.
componentsToPopulateSystem::SharedPtr<Aspose::Font::Glyphs::GlyphIdList>List of glyph identifiers to fill.

Remarks

Empty collection componentsToPopulate should be passed that will contain glyph components id list.

See Also