1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-13 18:08:10 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
obrusvit
d42cea3818 fixup! refactor(core): remove UTF-8 support from C 2024-12-09 11:57:13 +01:00
obrusvit
9f98797188 refactor(core): remove UTF-8 support from C
- re-implement some fonts handling functions in Rust and delete them
from C
- C code only needs to handle ASCII characters
2024-12-08 19:07:16 +01:00
obrusvit
e62b11b560 refactor(core): change gen_font.py and regen fonts
Change to the new structures and preserve manual changes. This commit
also removes duplicated definition of nonprintable glyph for _UPPER
fonts.

[no changelog]
2024-12-03 00:22:48 +01:00
obrusvit
35cc8b5d38 refactor(core): simplify font handling
This commit removes the usage of macros for font data definitions.
Instead, it includes data as const structs of newly introduced
font_info_t type.

[no changelog]

refactor(core): use font_id_t instead of plain int

[no changelog]
2024-12-03 00:22:48 +01:00
obrusvit
b3fe8d1917 refactor(core): separate concerns of FONT macros
Introduce a new flag `_NAME` for each font and reduce the usage of
`_ENABLE` flag to purely compilation guard.

[no changelog]
2024-12-02 23:06:04 +01:00
cepetr
089db2cadf refactor(core): restructure embed folder
[no changelog]
2024-11-18 09:41:02 +01:00