From 5a7b0136491bc6ebc901af5c9138350f948f4b07 Mon Sep 17 00:00:00 2001 From: Daniel Morais Date: Mon, 3 Jun 2024 15:38:33 +0200 Subject: [PATCH] Add support for Brazilian/German/Russian/Turkish (BR/DE/RU/TR) languages --- lib_bagl/include/bagl_font_rom.inc | 8 ++++++++ lib_nbgl/include/fonts/nbgl_font_rom.inc | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/lib_bagl/include/bagl_font_rom.inc b/lib_bagl/include/bagl_font_rom.inc index 6b9e37d15..1a19a5a86 100644 --- a/lib_bagl/include/bagl_font_rom.inc +++ b/lib_bagl/include/bagl_font_rom.inc @@ -33,6 +33,14 @@ #include "bolos_pack_fr_glyphes.inc" #elif (OS_LANGUAGE==LANG_SPANISH) #include "bolos_pack_es_glyphes.inc" + #elif (OS_LANGUAGE==LANG_BRAZILIAN) + #include "bolos_pack_br_glyphes.inc" + #elif (OS_LANGUAGE==LANG_GERMAN) + #include "bolos_pack_de_glyphes.inc" + #elif (OS_LANGUAGE==LANG_RUSSIAN) + #include "bolos_pack_ru_glyphes.inc" + #elif (OS_LANGUAGE==LANG_TURKISH) + #include "bolos_pack_tr_glyphes.inc" #else //OS_LANGUAGE #error No default language defined! #endif //OS_LANGUAGE diff --git a/lib_nbgl/include/fonts/nbgl_font_rom.inc b/lib_nbgl/include/fonts/nbgl_font_rom.inc index 9bdd5a06b..249b32d3e 100644 --- a/lib_nbgl/include/fonts/nbgl_font_rom.inc +++ b/lib_nbgl/include/fonts/nbgl_font_rom.inc @@ -45,6 +45,14 @@ #include "bolos_pack_fr_glyphes.inc" #elif (OS_LANGUAGE==LANG_SPANISH) #include "bolos_pack_es_glyphes.inc" + #elif (OS_LANGUAGE==LANG_BRAZILIAN) + #include "bolos_pack_br_glyphes.inc" + #elif (OS_LANGUAGE==LANG_GERMAN) + #include "bolos_pack_de_glyphes.inc" + #elif (OS_LANGUAGE==LANG_RUSSIAN) + #include "bolos_pack_ru_glyphes.inc" + #elif (OS_LANGUAGE==LANG_TURKISH) + #include "bolos_pack_tr_glyphes.inc" #else //OS_LANGUAGE #error No default language defined! #endif //OS_LANGUAGE