CffEncoding.UnicodeToGid

CffEncoding.UnicodeToGid method

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

public GlyphId UnicodeToGid(uint unicode)
参数类型描述
unicodeUInt32用于获取 glyph 标识符的 Unicode。

返回值

传入的 Unicode 对应的 glyph 标识符。

另见