From 5fced7c71dd674e2f5fc96d90a435fdcfc61557a Mon Sep 17 00:00:00 2001 From: obrusvit Date: Mon, 9 Dec 2024 12:12:21 +0100 Subject: [PATCH] fixup! fixup! refactor(core): remove UTF-8 support from C --- core/embed/rust/src/trezorhal/display.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/embed/rust/src/trezorhal/display.rs b/core/embed/rust/src/trezorhal/display.rs index 4152fbd027..f3285ce01b 100644 --- a/core/embed/rust/src/trezorhal/display.rs +++ b/core/embed/rust/src/trezorhal/display.rs @@ -13,7 +13,8 @@ pub fn backlight(val: i32) -> i32 { pub fn get_font_info(font: i32) -> Option { // SAFETY: - // - `ffi::get_font_info` returns either null (for invalid fonts) or a pointer to a static font_info_t struct + // - `ffi::get_font_info` returns either null (for invalid fonts) or a pointer + // to a static font_info_t struct // - The font_info_t data is in ROM, making it immutable and static // - The font_info_t contains pointers to static glyph data arrays also in ROM // - All font data is generated at compile time and included in the binary