DocumentFont
Overview
DocumentFont is a class in Aspose.PDF FOSS for Python.
One font the document draws with.
This class declares 1 method for DocumentFont objects in Python programs.
Available methods include: __str__.
Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: base_font, descendant_subtype, embedded, encoding, has_differences, has_to_unicode, and 12 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
is_composite | bool | Read | Whether this is a composite (Type 0) font, whose codes select CIDs. |
pages | tuple[int, ...] | Read | The one-based page numbers, for showing a person. |
base_font | str | Read | Gets the base font. |
name | str | Read | Gets the name. |
subtype | str | Read | Gets the subtype. |
descendant_subtype | str | None | Read | Gets the descendant subtype. |
encoding | str | None | Read | Gets the encoding. |
has_differences | bool | Read | Gets the has differences. |
embedded | bool | Read | Gets the embedded. |
program_key | str | None | Read | Gets the program key. |
program_format | str | None | Read | Gets the program format. |
program_bytes | int | None | Read | Gets the program bytes. |
stored_bytes | int | None | Read | Gets the stored bytes. |
is_subset | bool | Read | Gets the is subset. |
is_standard_14 | bool | Read | Gets the is standard 14. |
has_to_unicode | bool | Read | Gets the has to unicode. |
page_indexes | tuple[int, ...] | Read | Gets the page indexes. |
locations | tuple[str, ...] | Read | Gets the locations. |
Methods
| Signature | Description |
|---|---|
__str__() → str | Calls str on this DocumentFont instance. |