CI: detect missing glyphs in language file #4149
Labels
ci
Continuous Integration (CI) related
code
Code improvements
core
Trezor Core firmware. Runs on Trezor Model T and T2B1.
tests
Automated integration tests
translations
Put this label on a PR to run tests in all languages
Milestone
Currently, adding new glyphs requires manually regenerating font bitmap files. If a language JSON is updated with a string that uses new glyph then Trezor users will see �.
There are several approaches:
gen_font.py
uses against set of chars used in language JSONpanic!()
in debug buildsCI job regenerates bitmaps then compares them with bitmaps in gitdisadvantages: TTF of some fonts is in private repo, may possibly break on freetype updatesRelated to: #992
The text was updated successfully, but these errors were encountered: