WebFontOptimizerPackage
Overview
WebFontOptimizerPackage is a class in Aspose.Font FOSS for Python.
WebFontOptimizerPackage.write_to writes all generated web‑font assets to a target directory and returns a list of Path objects for the created files.
This class declares 1 method for WebFontOptimizerPackage objects in Python programs.
Available methods include: write_to.
Public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Properties: bundle, cdn_manifest, css, css_filename, decision_artifact, decision_report, and 10 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
size_summary | dict[str, object] | Read | Gets the size summary. |
readiness | dict[str, object] | Read | Gets the readiness. |
notes | list[dict[str, str]] | Read | Gets the notes. |
bundle | WebFontBundle | Read/Write | Gets or sets the bundle. |
css | str | Read/Write | Gets or sets the css. |
specimen_html | str | Read/Write | Gets or sets the specimen html. |
css_filename | str | Read/Write | Gets or sets the css filename. |
specimen_html_filename | str | Read/Write | Gets or sets the specimen html filename. |
specimen_template | str | Read/Write | Gets or sets the specimen template. |
manifest | dict[str, object] | Read/Write | Gets or sets the manifest. |
manifest_filename | str | Read/Write | Gets or sets the manifest filename. |
detailed_timing | dict[str, int] | None | Read/Write | Gets or sets the detailed timing. |
decision_report | DecisionReport | None | Read/Write | Gets or sets the decision report. |
performance_available | bool | Read/Write | Gets or sets the performance available. |
cdn_manifest | dict[str, object] | None | Read/Write | Gets or sets the cdn manifest. |
decision_artifact | PreviewImage | None | Read/Write | Gets or sets the decision artifact. |
Methods
| Signature | Description |
|---|---|
write_to(directory: str | Path, decision_report_pdf: str | Path | None) → list[Path] | Write package files to the directory and also create a zip archive of all artifacts. |