FontSource

Overview

FontSource is a class in Aspose.PDF FOSS for Python.

Base class for external font providers.

This class declares 2 methods for FontSource objects in Python programs. Available methods include: __init__, get_font_definitions. All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package. Properties: priority.

Properties

NameTypeAccessDescription
priority``ReadGets the priority.

Methods

SignatureDescription
__init__(priority: int)Calls init(priority) on this FontSource instance.
get_font_definitions()list[FontDescriptor]Not implemented in the FOSS edition — throws at runtime. Returns the font definitions.