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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user