Aspose::Font::Cff::CffFont::GetGlyphById 方法

CffFont::GetGlyphById(System::SharedPtr<Glyphs::GlyphId>) method

根据字形 ID 返回字形。字形 ID 是字形的唯一编号,取决于字体类型。CFF Font 的字形 ID 可以是 (GlyphStringId) 类或 (GlyphUInt32Id) 类的实例。

System::SharedPtr<Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(System::SharedPtr<Glyphs::GlyphId> id) override
参数类型描述
标识符System::SharedPtr<Glyphs::GlyphId>字形 id。

ReturnValue

Glyph。

另见

CffFont::GetGlyphById(System::String) method

通过字形名称返回字形。

System::SharedPtr<Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(System::String glyphName)
参数类型描述
glyphNameSystem::String字形名称。

ReturnValue

Glyph。

另见

CffFont::GetGlyphById(uint32_t) method

根据字形 id 返回字形。

System::SharedPtr<Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById(uint32_t id)
参数类型描述
标识符uint32_t字形 id。

ReturnValue

Glyph。

另见