Aspose.Font FOSS is an open-source Python library for loading, inspecting, converting, subsetting, and previewing font files without requiring extra tools or OS font libraries. Read and write TTF, OTF, CFF, Type 1, WOFF, WOFF2, and EOT formats. Variable-font workflows are supported, including axis exploration, named-instance resolution, and HVAR-aware width calculations. The library also provides animation preview generation (PNG, APNG, SVG), font subsetting by codepoints or glyph IDs, and web packaging to emit WOFF2/WOFF bundles with CSS and specimen HTML. The library is MIT licensed and requires no native dependencies — ideal for font design, web font management, and any application that needs programmatic access to font metrics, glyph outlines, and table data. To manage font loading, conversion, and glyph rendering in commercial applications with full OpenType, CFF, and WOFF coverage, see the Aspose.Font — Enterprise Product Family.
Open-source Python library for loading, inspecting, converting, and subsetting TTF, OTF, CFF, WOFF, WOFF2, and EOT font files.
Do not just take our word for it. See what users have to say about APIs.