mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-03 11:57:10 +01:00
Replace the bundled Google Sans Flex (v4.004, weight axis only, 277,596 bytes) with a trimmed build of the official variable font v5.000 from the Google Fonts repository (google/fonts, ofl/googlesansflex, commit bd8f81dd). The weight (wght 1-1000), width (wdth 25-151) and rounded (ROND 0-100) axes stay variable; optical size and slant are pinned to their defaults (opsz 18, slnt 0) with the fontTools instancer. The new file is 571,544 bytes. Its defaults are wght 400, wdth 100 and ROND 0, and it covers every codepoint of the old file with the same features (including tnum), vertical metrics and advance widths for text. The font is licensed under the SIL Open Font License 1.1. Ship the license as assets/fonts/GoogleSansFlex-LICENSE.txt and register it with the license registry next to Inter's. The Material text theme now gives the display, headline and title roles ROND 100 when the bundled family is in use. Body and label roles keep ROND 0 for crisp reading text and small labels. Only ROND is set, so the engine still derives wght from each style's fontWeight. System and imported fonts get no axes, and the Mornye style is unchanged.