fix: Added CN/TW translations, reduced TW text size to fit firmware, TX16 BOR tweak (#1776)

* Added CN/TW translation and reduced TW text size

Added CN/TW translation and reduced TW text size.
Because the TW text causes the firmware to exceed the flash size, reduce the text size.

* Modify the STM32 BOR level on TX16S to avoid system failure in extreme cases

Modify the STM32 BOR level on TX16S to avoid system failure in extreme cases.

* Update cn.h.txt

* Update tw.h.txt
This commit is contained in:
zyren
2022-04-01 10:46:09 +10:00
committed by GitHub
parent dbb9a5e4b2
commit 8a988b7f88
5 changed files with 63 additions and 38 deletions
+3 -1
View File
@@ -32,8 +32,10 @@ add_truetype_font_target(17 17 ${subset} none "${FONT_ARGS}")
add_truetype_font_target(17en 17 en none "${FONT_ARGS}")
add_truetype_font_target(bold17 17 ${subset} bold "${FONT_ARGS}")
add_truetype_font_target(24 24 ${subset} none "${FONT_ARGS}")
if( (${subset} STREQUAL "cn") OR (${subset} STREQUAL "tw"))
if(${subset} STREQUAL "cn")
add_truetype_font_target(32 30 ${subset} bold "${FONT_ARGS}")
elseif(${subset} STREQUAL "tw")
add_truetype_font_target(32 24 ${subset} bold "${FONT_ARGS}")
else()
add_truetype_font_target(32 32 ${subset} bold "${FONT_ARGS}")
endif()