Aspose::Font::IFontEncoding::GidToUnicode 方法

IFontEncoding::GidToUnicode method

将 Gid 解码为 unicode。Glyph id 是字形的唯一编号,取决于字体类型。例如: Type1’s id 是字形名称,属于 (GlyphStringId) 类的实例。TTF’s id 是整数索引,属于 (GlyphUInt32Id) 类的实例。

virtual uint32_t Aspose::Font::IFontEncoding::GidToUnicode(System::SharedPtr<Glyphs::GlyphId> gid)=0
参数类型描述
gidSystem::SharedPtr<Glyphs::GlyphId>要解码的符号的字形标识符。

ReturnValue

与传入的字形 ID 相关的 Unicode 值。

另见