FontLoader

Overview

FontLoader is a class in Aspose.Font FOSS for Python.

Description

FontLoader is a class in the Aspose.Font FOSS library for Python that exposes 2 methods and 0 properties for programmatic use.

Methods

SignatureDescription
open(source: str | os.PathLike[str] | bytes | io.IOBase, font_type: FontType | None, collection_index: int | None)FontLoad a font from a file path, raw bytes, or stream.
load(source: str | os.PathLike[str] | bytes | io.IOBase, font_type: FontType | None, collection_index: int | None)LoadedFontLoad a font and keep friendly metadata about where it came from.

See Also