FontResource
Overview
FontResource is a class in Aspose.Page FOSS for Python.
Represents a resolved font resource.
Properties: char_procs, code_map, code_widths, descendant, encoding, esc_char, and 10 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | str | Read | Gets the name. |
font_type | str | Read | Gets the font type. |
units_per_em | int | Read | Gets the units per em. |
encoding | dict[int, str] | Read | Gets the encoding. |
glyph_widths | dict[str, float] | Read | Gets the glyph widths. |
substitute | bool | Read | Gets the substitute. |
char_procs | dict[str, PsProcedure] | None | Read | Gets the char procs. |
code_widths | dict[int, float] | None | Read | Gets the code widths. |
descendant | "FontResource | None" | Read | Gets the descendant. |
esc_char | int | None | Read | Gets the esc char. |
fdep_vector | list["FontResource"] | None | Read | Gets the fdep vector. |
fmap_encoding | list[int] | None | Read | Gets the fmap encoding. |
font_dict | PsDict | None | Read | Gets the font dict. |
code_map | dict[int, int] | None | Read | Gets the code map. |
font_program | bytes | None | Read | Gets the font program. |
fmap_type | int | None | Read | Gets the fmap type. |