HmtxTable
HmtxTable
概述
HmtxTable 是Python的Aspose.Font FOSS中的一个类.
描述情况
HmtxTable 是Python的Aspose.Font FOSS库中的一个类,它显示了3个方法和1个属性用于编程.
核心能力包括: list[hmetric].这些操作使开发人员能够直接将 hmtxtable 功能集成到 Python 应用程序中.
属性
| 名称: | 类型 | Access | 描述情况 |
|---|---|---|---|
metrics | list[HMetric] | 阅读 |
方法
| Signature | 描述情况 |
|---|---|
from_reader(r: BinaryReader, num_glyphs: int, number_of_hmetrics: int, table_length: int) → "HmtxTable" | parses the horizontal metrics (hmtx) table from a binary reader and returns an没有任何其他例子. |
to_bytes(number_of_hmetrics: int) → bytes | |
get_metric(gid: int) → HMetric | returns an包含指定符号ID的前面宽度和左侧轴承的HMetric`对象. |