CffEncoding.GidToUnicode

CffEncoding.GidToUnicode method

将 Gid 解码为 Unicode。Glyph id 是字形的唯一编号,取决于字体类型。CFF Font 的 glyph id 可以是 (GlyphStringId) 类或 (GlyphUInt32Id) 类的实例。

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

返回值

传入的 glyph id 对应的 Unicode 值。

另见