CffEncoding
内容
[
隐藏
]CffEncoding class
表示 CFF 字体编码。
public class CffEncoding : IFontEncoding, ISupportsNameAddressing
方法
| 姓名 | 描述 |
|---|---|
| DecodeToGid(uint) | 获取通过的 charCode 的 Gid。此方法专为 CFF CIDFonts 设计, 其中 charCode 必须是有效的 CID 值。 Glyph id 是字形的唯一编号,取决于字体类型。 CFF 字体字形 id 可以是 (GlyphStringId) 类或 (GlyphUInt32Id 类. |
| DecodeToGidParameterized(IEncodingParameters, uint) | 参数化解码方法。 CFF 字体类型不支持。 |
| Encode(uint, uint) | 对字形进行编码。 CFF 字体类型不支持。 |
| GetNameToCharCodeIndex() | 将名称返回到字符代码编码映射。 注意:字符代码不是 unicode。字符代码是字体编码“表”中的字符索引。 |
| GetNameToGidIndex() | 将名称返回到字符代码编码映射。 注意:字符代码不是 unicode。字符代码是字体编码“表”中的字符索引。 |
| GetNameToSidIndex() | 将名称返回到字符代码编码映射。 注意:字符代码不是 unicode。字符代码是字体编码“表”中的字符索引。 |
| GetSidName(int) | 获取指定 SID 的名称。 |
| GidToUnicode(GlyphId) | 将 Gid 解码为 unicode。 字形 ID 是字形的唯一编号,取决于字体类型。 CFF 字体字形 ID 可以是 (GlyphStringId) 类或 (GlyphUInt32Id 类. |
| UnicodeToGid(uint) | 解码 unicode 并返回字形 id。 字形 id 是字形的唯一编号,取决于字体类型。 CFF 字体字形 id 可以是 (GlyphStringId) 类或 (GlyphUInt32Id 类. |
也可以看看
- interface IFontEncoding
- interface ISupportsNameAddressing
- 命名空间 Aspose.Font.Cff
- 部件 Aspose.Font