SystemFontSource

SystemFontSource

概述

SystemFontSource 是 Aspose.PDF FOSS 中用于 Python 的类。继承自:FontSource。

从常见的系统字体目录收集字体。

此类提供 2 个用于在 Python 程序中处理 SystemFontSource 对象的方法。可用的方法包括:__init__、get_font_definitions。在安装了 Aspose.PDF FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:priority。

属性

名称类型访问描述
priority``读取获取优先级。

方法

签名描述
__init__(priority: int)Calls init(priority) 在此 SystemFontSource 实例上。
get_font_definitions() → list[FontDescriptor]返回字体定义。

另请参阅

 中文