FontCache
FontCache
Overview
FontCache 是Python的Aspose.Page FOSS中的一个类.
这个类提供了4种方法,用于在Python程序中使用FontCache 对象. 有的方法包括: __init__, find_font, load, metrics_for. 在安装Python包的Aspose.Page FOSS后,所有公众成员都可以访问任何 Python 应用程序.
Methods
| Signature | Description |
|---|---|
__init__() | |
| `load(additional_fonts_folder: str | None)` |
| `find_font(font_name: str, font_style: str | None)→FontRecord |
metrics_for(path: Path) → FontMetrics |