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

NameTypeAccessDescription
namestrReadGets the name.
font_typestrReadGets the font type.
units_per_emintReadGets the units per em.
encodingdict[int, str]ReadGets the encoding.
glyph_widthsdict[str, float]ReadGets the glyph widths.
substituteboolReadGets the substitute.
char_procsdict[str, PsProcedure] | NoneReadGets the char procs.
code_widthsdict[int, float] | NoneReadGets the code widths.
descendant"FontResource | None"ReadGets the descendant.
esc_charint | NoneReadGets the esc char.
fdep_vectorlist["FontResource"] | NoneReadGets the fdep vector.
fmap_encodinglist[int] | NoneReadGets the fmap encoding.
font_dictPsDict | NoneReadGets the font dict.
code_mapdict[int, int] | NoneReadGets the code map.
font_programbytes | NoneReadGets the font program.
fmap_typeint | NoneReadGets the fmap type.

See Also