FontLoader
Overview
FontLoader is a class in Aspose.Font FOSS for Python.
Methods
| Signature | Description |
|---|---|
open(source: str | os.PathLike[str] | bytes | io.IOBase, font_type: FontType | None, collection_index: int | None) → Font | Load 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) → LoadedFont | Load a font and keep friendly metadata about where it came from. |