TtfTableSet
TtfTableSet
概述
TtfTableSet 是Python的 Aspose.Font FOSS 的类。.
TtfTableSet.get_raw 返回由该标签识别的表中的原始比特,或者如果没有。.
此类提供2种方法,用于在Python程序中使用 TtfTableSet 对象。. 可用的方法包括: get_raw, set_raw. 所有公共成员都可以在安装Python包的 Aspose.Font FOSS后访问任何 Python应用程序。. 属性: cmap, fvar, glyf, head, hhea, hmtx,还有7个。.
属性
| 名称 | 类型 | Access | 描述 |
|---|---|---|---|
head | `HeadTable | None` | 阅读/写作 |
hhea | `HheaTable | None` | 阅读/写作 |
maxp | `MaxpTable | None` | 阅读/写作 |
os2 | `Os2Table | None` | 阅读/写作 |
name | `NameTable | None` | 阅读/写作 |
post | `PostTable | None` | 阅读/写作 |
cmap | `CmapTable | None` | 阅读/写作 |
loca | `LocaTable | None` | 阅读/写作 |
hmtx | `HmtxTable | None` | 阅读/写作 |
kern | `KernTable | None` | 阅读/写作 |
glyf | `GlyfTable | None` | 阅读/写作 |
fvar | `FvarTable | None` | 阅读/写作 |
hvar | `HvarTable | None` | 阅读/写作 |
方法
| Signature | 描述 |
|---|---|
get_raw(tag: str) → `bytes | None` |
set_raw(tag: str, data: bytes) | 设置原始值。. |