mirror of
https://github.com/ALLFATHER-BV/wadamesh.git
synced 2026-11-07 14:17:18 +00:00
At the bigger text sizes (the Large/Huge presets on the T-Deck, M9, V4-R8, T-Deck Pro, Pager; the large screens and the browser build always) the UI swaps an 18/20/24/28 px Montserrat into g_font_12/14/16. That face is ASCII only, so every accented letter came from the fallback chain, which stayed at 12/14/16 px: "Urządzenie", "Dźwięk", "Język" drew their ą ź ę visibly smaller in Polish, and the same for Czech, Hungarian and Romanian. Only the Tanmatsu spliced a size-matched Latin font (#129). initTouchFontFallbacks() now gives every slot the extras at its primary's own size on every CAP_UI_SIZE board: the full extras_12/14/16 (or the Pager's extras_20/24) where one exists at that size, otherwise extras_lat_18/ 20/24/28 (Latin-1, Latin Extended-A) in front of the biggest full extras for Greek/Cyrillic/Arabic. extras_lat_18 is new; 18/20/24 are built under the same board gate as the 18/20/24 px UI faces. Romanian's ș ț Ș Ț (U+0218-021B, Latin Extended-B, 85 uses in ro.lang) were in no font at all and drew as the missing-glyph mark: added to the extras, the Latin extras and the SemiBold. Flash (vs the previous commit): heltec_v4_tft +2.2 KB (94.4%, the V4 has no text-size setting, so only the Romanian glyphs); T-Deck +37.6 KB (91.2%), M9 +37.5 KB (89.3%): extras_lat_18 and _24. The 28 px Latin font is only referenced where a preset reaches 28 px (large screens), and the Pager (98%) keeps its 20 px extras for its 18 px face instead of linking extras_lat_18. Tanmatsu application.bin 3,126,480 B (ceiling 3,276,800). Proof: the browser host build with pl.lang active, Settings before/after. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>