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

NameTypeAccessDescription
is_compositeboolReadWhether this is a composite (Type 0) font, whose codes select CIDs.
pagestuple[int, ...]ReadThe one-based page numbers, for showing a person.
base_fontstrReadGets the base font.
namestrReadGets the name.
subtypestrReadGets the subtype.
descendant_subtypestr | NoneReadGets the descendant subtype.
encodingstr | NoneReadGets the encoding.
has_differencesboolReadGets the has differences.
embeddedboolReadGets the embedded.
program_keystr | NoneReadGets the program key.
program_formatstr | NoneReadGets the program format.
program_bytesint | NoneReadGets the program bytes.
stored_bytesint | NoneReadGets the stored bytes.
is_subsetboolReadGets the is subset.
is_standard_14boolReadGets the is standard 14.
has_to_unicodeboolReadGets the has to unicode.
page_indexestuple[int, ...]ReadGets the page indexes.
locationstuple[str, ...]ReadGets the locations.

Methods

SignatureDescription
__str__() → strCalls str on this DocumentFont instance.

See Also