FontSource
FontSource
概述
FontSource 是 Aspose.PDF FOSS 中用于 Python 的类。
外部字体提供程序的基类。
此类在 Python 程序中为 FontSource 对象声明了 2 个方法。可用的方法包括:__init__、get_font_definitions。安装 Aspose.PDF FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:priority。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
priority | `` | 读取 | 获取优先级。 |
方法
| 签名 | 描述 |
|---|---|
__init__(priority: int) | Calls init(priority) 在此 FontSource 实例上。 |
get_font_definitions() → list[FontDescriptor] | 未在 FOSS 版中实现 — 在运行时抛出。 返回字体定义。 |