Aspose::Font::Type1::Type1Encoding::GidToUnicode 方法

Type1Encoding::GidToUnicode method

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

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

ReturnValue

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

另见