Weblate Fonts Collection is a Python package bundling a subset of fonts, including Source Code Pro, Source Sans 3, and Kurinto. It is primarily developed for Weblate's internal needs, specifically for rendering checks within the localization system. It is not intended as a general-purpose font bundle, and the package explicitly states that compatibility between releases is not guaranteed as Weblate itself pins exact versions of this library. The current version is 2026.1, requiring Python >=3.11.
pip install weblate-fontsNo compatibility data collected yet for this library.
This package is not designed for direct programmatic Python imports of functions or classes. Instead, it serves as a collection of font files. The quickstart demonstrates how to programmatically locate a specific font file within the installed package, which might be useful for integration with font rendering engines outside of Weblate's direct usage.
Only use this package as a dependency for Weblate. If using for other purposes, pin to a specific version and thoroughly test on updates.
For general font needs in other projects, use dedicated font management solutions or integrate fonts directly rather than depending on `weblate-fonts`.
To force an update, modify the translation string or associated flags to invalidate the cache. Alternatively, clear Weblate's rendering cache manually if available.
Make a minor edit to the problematic translation string or its associated flags (e.g., `font-size`) to force a cache invalidation and re-rendering of the preview.
Double-check the exact font group name configured in Weblate and ensure it precisely matches the `font-family` flag used (e.g., `font-family:segoeui` vs. `font-family:segoe ui`). Verify the correct font `.ttf` or `.otf` file is uploaded and active for the specified family and language. Also ensure system-level font rendering dependencies (Pango/Cairo) are correctly installed and configured.