Type1Encoding.GidToUnicode

Type1Encoding.GidToUnicode method

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

public uint GidToUnicode(GlyphId gid)
参数类型描述
gidGlyphId要解码的符号的 glyph 标识符。

返回值

传入的 glyph id 对应的 Unicode 值。

另见