FontEncoding
FontEncoding
Overview
FontEncoding 是Python的Aspose.Font FOSS中的一个类. 继承人: ABC.
将Unicode代码点映射到字符标识号.
这个类提供了在Python程序中使用FontEncoding 对象的2种方法. 有的方法包括: get_all_codepoints, unicode_to_gid. 在安装Python包的Aspose.Font FOSS后,所有公众成员都可以访问任何 Python 应用程序.
Methods
| Signature | Description |
|---|---|
unicode_to_gid(codepoint: int) → GlyphId | 将 Unicode 代码转换为 GlyphId 的对应值. |
get_all_codepoints() → list[int] | 返回所有代码点. |