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

NameTypeAccessDescription
size_summarydict[str, object]ReadGets the size summary.
readinessdict[str, object]ReadGets the readiness.
noteslist[dict[str, str]]ReadGets the notes.
bundleWebFontBundleRead/WriteGets or sets the bundle.
cssstrRead/WriteGets or sets the css.
specimen_htmlstrRead/WriteGets or sets the specimen html.
css_filenamestrRead/WriteGets or sets the css filename.
specimen_html_filenamestrRead/WriteGets or sets the specimen html filename.
specimen_templatestrRead/WriteGets or sets the specimen template.
manifestdict[str, object]Read/WriteGets or sets the manifest.
manifest_filenamestrRead/WriteGets or sets the manifest filename.
detailed_timingdict[str, int] | NoneRead/WriteGets or sets the detailed timing.
decision_reportDecisionReport | NoneRead/WriteGets or sets the decision report.
performance_availableboolRead/WriteGets or sets the performance available.
cdn_manifestdict[str, object] | NoneRead/WriteGets or sets the cdn manifest.
decision_artifactPreviewImage | NoneRead/WriteGets or sets the decision artifact.

Methods

SignatureDescription
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.

See Also