Aspose::Font::TtfTables::TtfPostTable::GetGlyphIndex 方法

TtfPostTable::GetGlyphIndex method

获取按字形名称的字形索引。

uint32_t Aspose::Font::TtfTables::TtfPostTable::GetGlyphIndex(System::String glyphName)
参数类型描述
glyphNameSystem::String字形名称。

ReturnValue

字形索引。当此字体文件的字形未提供 PostScript 名称信息时,返回索引 0,即未定义字形或 ".notdef" 字形。

另见