FontResource
FontResource
概述
FontResource 是Python的Aspose.Page FOSS中的一个类.
表示一个解读字体资源.
特性: char_procs, code_map, code_widths, descendant, encoding, esc_char,另外10个.
属性
| 名称: | 类型 | Access | 描述情况 |
|---|---|---|---|
name | str | 阅读 | 获取名称。. |
font_type | str | 阅读 | 获取字体类型。. |
units_per_em | int | 阅读 | 获取每个 em 的单位。. |
encoding | dict[int, str] | 阅读 | 获取编码。. |
glyph_widths | dict[str, float] | 阅读 | 获取字形宽度。. |
substitute | bool | 阅读 | 获取替代项。. |
char_procs | `dict[str, PsProcedure] | None` | 阅读 |
code_widths | `dict[int, float] | None` | 阅读 |
descendant | `“FontResource | None”` | 阅读 |
esc_char | `int | None` | 阅读 |
fdep_vector | `list[“FontResource”] | None` | 阅读 |
fmap_encoding | `list[int] | None` | 阅读 |
font_dict | `PsDict | None` | 阅读 |
code_map | `dict[int, int] | None` | 阅读 |
font_program | `bytes | None` | 阅读 |
fmap_type | `int | None` | 阅读 |