obrusvit
5d1401ef4f
refactor(core): safe iface for get_glyph_data
...
[no changelog]
2024-12-16 13:54:27 +01:00
obrusvit
5a9c8c81ae
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
[no changelog]
2024-12-16 13:54:27 +01:00
obrusvit
db0e8e8421
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-16 13:54:27 +01:00
obrusvit
b5ea26eb7a
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-16 13:54:27 +01:00
cepetr
089db2cadf
refactor(core): restructure embed folder
...
[no changelog]
2024-11-18 09:41:02 +01:00