Bladeren bron

fix: 修复u8g2字体在bsp/pc环境下编译失败,移除sarasa_m8字体的引用,该字体已被删除

Wendal Chen 1 jaar geleden
bovenliggende
commit
5617ac46ee

+ 3 - 3
components/lcd/luat_lib_lcd.c

@@ -1826,9 +1826,9 @@ static const rotable_Reg_t reg_lcd[] =
     //再大的很少用到先不加了
 #endif
 
-#ifdef USE_U8G2_SARASA_M8_CHINESE
-    { "font_sarasa_m8_chinese", ROREG_PTR((void*)u8g2_font_sarasa_m8_chinese)},
-#endif
+// #ifdef USE_U8G2_SARASA_M8_CHINESE
+//     { "font_sarasa_m8_chinese", ROREG_PTR((void*)u8g2_font_sarasa_m8_chinese)},
+// #endif
 #ifdef USE_U8G2_SARASA_M10_CHINESE
     { "font_sarasa_m10_chinese", ROREG_PTR((void*)u8g2_font_sarasa_m10_chinese)},
 #endif

+ 3 - 3
components/luatfonts/luat_lib_fonts.c

@@ -69,9 +69,9 @@ static const u8g2_font_t u8g2_fonts[] = {
     //再大的很少用到先不加了
 #endif
 
-#ifdef USE_U8G2_SARASA_M8_CHINESE
-    { .name="sarasa_m8_chinese", .font=u8g2_font_sarasa_m8_chinese},
-#endif
+// #ifdef USE_U8G2_SARASA_M8_CHINESE
+//     { .name="sarasa_m8_chinese", .font=u8g2_font_sarasa_m8_chinese},
+// #endif
 #ifdef USE_U8G2_SARASA_M10_CHINESE
     { .name="sarasa_m10_chinese", .font=u8g2_font_sarasa_m10_chinese},
 #endif

+ 3 - 3
components/u8g2/luat_lib_u8g2.c

@@ -1113,9 +1113,9 @@ static const rotable_Reg_t reg_u8g2[] =
     //再大的很少用到先不加了
 #endif
 
-#ifdef USE_U8G2_SARASA_M8_CHINESE
-    { "font_sarasa_m8_chinese", ROREG_PTR((void*)u8g2_font_sarasa_m8_chinese)},
-#endif
+// #ifdef USE_U8G2_SARASA_M8_CHINESE
+//     { "font_sarasa_m8_chinese", ROREG_PTR((void*)u8g2_font_sarasa_m8_chinese)},
+// #endif
 #ifdef USE_U8G2_SARASA_M10_CHINESE
     { "font_sarasa_m10_chinese", ROREG_PTR((void*)u8g2_font_sarasa_m10_chinese)},
 #endif

+ 23 - 0
components/u8g2/u8g2_font_opposansm.c

@@ -1,6 +1,7 @@
 /*
   u8g2_fonts.c
 */
+#include "luat_base.h"
 #include "u8g2.h"
 
 // OPPOSans-regular ascii 10~32 chinese 12~32
@@ -945,6 +946,7 @@ const uint8_t u8g2_font_opposansm32[3384] U8G2_FONT_SECTION("u8g2_font_opposansm
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_OPPOSANSM12_CHINESE
 const uint8_t u8g2_font_opposansm12_chinese[202665] U8G2_FONT_SECTION("u8g2_font_opposansm12_chinese") = 
   "\314\0\3\3\4\4\4\4\5\15\17\377\374\11\374\12\376\1\247\3n\4\345\0\5\0\230\20 \5\0\230"
   "\24!\7\241y\23\27\1\42\12D\331\26!\311$\13\0#\20\246yXYR(\241\134B\245H("
@@ -7280,6 +7282,7 @@ const uint8_t u8g2_font_opposansm12_chinese[202665] U8G2_FONT_SECTION("u8g2_font
   "\206\241\210P\62\12QJq\30\0\237\237\33\274x\234q\230U&;\314D\261`(\26<\4C\261"
   "\340A\34\24W\0\237\240!\314h\274rPD|\10\311!\222\211d\64\221\314Q\16\301H(\22<"
   "\4#\241H\60\32\3\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -7289,6 +7292,7 @@ const uint8_t u8g2_font_opposansm12_chinese[202665] U8G2_FONT_SECTION("u8g2_font
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_OPPOSANSM14_CHINESE
 const uint8_t u8g2_font_opposansm14_chinese[244253] U8G2_FONT_SECTION("u8g2_font_opposansm14_chinese") = 
   "\314\0\3\3\4\5\4\5\5\17\21\377\374\12\374\13\376\1\357\4\7\5\272\0\5\0\60B \5\0\60"
   "R!\11\262\362Q\34$\331\10\42\15U\322^H(\21ID\222\24\1#\26\307\362\345\205b\21Q"
@@ -14923,6 +14927,7 @@ const uint8_t u8g2_font_opposansm14_chinese[244253] U8G2_FONT_SECTION("u8g2_font
   "\233\36\334\322y\322\1\42\331\301dJ\16\36\242\61\331\241\26\21\5%\212\241\331!\66\36\1\237\237 "
   "\355\322\371\305\241r\330U(<\220d\262\64Y\354\60\213\311\322d\261CU\30\276\203d\0\237\240\36"
   "\334\322y\322\1\42\341a\22\207E\16\243\210H\22:\214\16\243\234\16\243\374;@\2\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -14932,6 +14937,7 @@ const uint8_t u8g2_font_opposansm14_chinese[244253] U8G2_FONT_SECTION("u8g2_font
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_OPPOSANSM16_CHINESE
 const uint8_t u8g2_font_opposansm16_chinese[293400] U8G2_FONT_SECTION("u8g2_font_opposansm16_chinese") = 
   "\314\0\3\3\5\5\5\5\6\22\24\377\373\14\373\15\375\2E\4\307\6\310\0\6\0\300\10\2 \6\0"
   "\300X\2!\11\242\305G\342P\311H\42\15\305\304\213&\24\11EB+\24\1#\35\251\305\247N\24"
@@ -24102,6 +24108,7 @@ const uint8_t u8g2_font_opposansm16_chinese[293400] U8G2_FONT_SECTION("u8g2_font
   "\221Z\0\237\237&\356E\7S\16<D\17B\251\360`\21\312DA\231\350P\12\312DA\231\350P"
   "\7H\303\322\360!\16\260\0\237\240-\356E\7[\16\263\3\204\262\211\205\16\215L(\243HR$i"
   "B\231#\35J\261P,t(\305B\261P,\24\22\305B\221\11\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -24111,6 +24118,7 @@ const uint8_t u8g2_font_opposansm16_chinese[293400] U8G2_FONT_SECTION("u8g2_font
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_OPPOSANSM18_CHINESE
 const uint8_t u8g2_font_opposansm18_chinese[343463] U8G2_FONT_SECTION("u8g2_font_opposansm18_chinese") = 
   "\312\0\3\2\5\5\5\5\6\24\26\377\373\15\373\17\375\2\224\5\306\10\22 \6\0\300X\2!\13\303"
   "\305WB\221\372;\240\14\42\15\306D\234\306K\244DC\64D\2#\35\352\305\307\62K#Q\22\245"
@@ -34846,6 +34854,7 @@ const uint8_t u8g2_font_opposansm18_chinese[343463] U8G2_FONT_SECTION("u8g2_font
   "Q\314\206\207lx\310D\61\23\305lx\310!\71\7\344\34xG\206!\1\237\240-\60F'\37\320"
   "\341!\307\246\371\264\14\17\71!\31\222!\31\242J\224D\321\220\14\311\220\23\207\7ix\220<\15\17"
   "\222\377i\220\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -34855,6 +34864,7 @@ const uint8_t u8g2_font_opposansm18_chinese[343463] U8G2_FONT_SECTION("u8g2_font
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_OPPOSANSM20_CHINESE
 const uint8_t u8g2_font_opposansm20_chinese[395343] U8G2_FONT_SECTION("u8g2_font_opposansm20_chinese") = 
   "\312\0\3\2\5\5\5\5\6\26\30\377\372\17\372\20\375\3\4\6\261\11\225 \6\0\300h\2!\13\3"
   "\306W\306\277D\355\310 \42\20\347\304\234FR$ER$E\212\24\223\2# \13\306\327RR%"
@@ -47211,6 +47221,7 @@ const uint8_t u8g2_font_opposansm20_chinese[395343] U8G2_FONT_SECTION("u8g2_font
   "wH\326\21YG\206h\310\241aP\0\237\240@r\306F\37\30rx\330\261q\36\36\244!\31\6"
   "e\320I\311\240\14\311 II\224D\322\240\14\311 \15\312\220\14:\303\7\61\223\264\60\223\264px"
   "\20\63I\13\63I\13\63I\31s,\4\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -47220,6 +47231,7 @@ const uint8_t u8g2_font_opposansm20_chinese[395343] U8G2_FONT_SECTION("u8g2_font
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_OPPOSANSM22_CHINESE
 const uint8_t u8g2_font_opposansm22_chinese[453675] U8G2_FONT_SECTION("u8g2_font_opposansm22_chinese") = 
   "\312\0\3\2\5\5\5\5\6\30\33\377\371\20\372\22\374\3R\7w\12\246 \6\0\300h\2!\12B"
   "Jg\342\77\17\12\0\42\21\347H\255b\32\242AR$ER$ER\0#$L\306\347V\213\63"
@@ -61399,6 +61411,7 @@ const uint8_t u8g2_font_opposansm22_chinese[453675] U8G2_FONT_SECTION("u8g2_font
   "\220c\303\5\237\240E\264\306f\37\322I\303\16O;\66\204C<|\210\206h\30\244A'FC\64"
   "$\203\30\265Ha\324\42\205C\64$\203\316\66|\10\207\17\241&i\242&i\342\360!\324$M\324"
   "$M\324$e\10ul\3\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -61408,6 +61421,7 @@ const uint8_t u8g2_font_opposansm22_chinese[453675] U8G2_FONT_SECTION("u8g2_font
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_OPPOSANSM24_CHINESE
 const uint8_t u8g2_font_opposansm24_chinese[499565] U8G2_FONT_SECTION("u8g2_font_opposansm24_chinese") = 
   "\312\0\4\3\5\5\5\5\6\32\35\377\371\22\371\23\374\3[\6\374\11\350 \6\0\300x\2!\15\203"
   "Jw\302\1\205\376S\213\10\0\42\26\10\311\275\206\210\211\304\210\304\210\204\214\204\214\204\214\204\310\4\0"
@@ -77021,6 +77035,7 @@ const uint8_t u8g2_font_opposansm24_chinese[499565] U8G2_FONT_SECTION("u8g2_font
   ":Ez@m\4\237\240E\366\306\206\253<\20=\304A\364\320(\31\325\301\201\5\71E<LL\205"
   "EQL\204\210DLPL\204\210DLP\205E=\66\7\7DB\211\24%\22:\70 :\70 "
   "\22J\244(\221\242\24E\302\63\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -77030,6 +77045,7 @@ const uint8_t u8g2_font_opposansm24_chinese[499565] U8G2_FONT_SECTION("u8g2_font
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_OPPOSANSM26_CHINESE
 const uint8_t u8g2_font_opposansm26_chinese[553777] U8G2_FONT_SECTION("u8g2_font_opposansm26_chinese") = 
   "\312\0\4\3\5\5\5\5\6\35 \376\370\23\370\25\374\3|\7\134\12\246 \6\0\300\210\2!\17\243"
   "Jw\302\17$T\204$\214\260\210\0\42\17\10I\316\206\214\204\214\204L\211O$\0#\62\317F\27"
@@ -94337,6 +94353,7 @@ const uint8_t u8g2_font_opposansm26_chinese[553777] U8G2_FONT_SECTION("u8g2_font
   "\307\246+=\220=\4\11\65\21)!U\305\301D\5=\4E<T\214\205#\21\11\21\11\21!\21"
   "\11\21\11\21!\13G\26\356\301\17\16\310\16\16\310d\204d\304d\204d\304\16\16\310\16\16\310d\204"
   "d\304d\204d\304d\204$\310d\204$h\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -94346,6 +94363,7 @@ const uint8_t u8g2_font_opposansm26_chinese[553777] U8G2_FONT_SECTION("u8g2_font
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_OPPOSANSM28_CHINESE
 const uint8_t u8g2_font_opposansm28_chinese[615916] U8G2_FONT_SECTION("u8g2_font_opposansm28_chinese") = 
   "\312\0\4\4\5\6\5\6\6\37\42\376\370\25\370\27\373\3\332\10%\13\313 \6\0\200!\12!\21\344"
   "\222\36\12#\346\23\371\347AF\220\20\1\0\42\30)\221m\33CF\14\31\61d\204\230\21b\254\21"
@@ -113595,6 +113613,7 @@ const uint8_t u8g2_font_opposansm28_chinese[615916] U8G2_FONT_SECTION("u8g2_font
   "\204\36\4!\302\305H>(T\202E\11\362`H\204\7\27\346\204\211CbD\10\21!F\220\30\21"
   "BD\210\21t\302\304\241\23&\316\303\370A\261\7\305\4\311L\220\314\36\24{PL\220\314\4\311L"
   "\220\24\305\4IQLx\60\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -113604,6 +113623,7 @@ const uint8_t u8g2_font_opposansm28_chinese[615916] U8G2_FONT_SECTION("u8g2_font
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_OPPOSANSM30_CHINESE
 const uint8_t u8g2_font_opposansm30_chinese[670089] U8G2_FONT_SECTION("u8g2_font_opposansm30_chinese") = 
   "\312\0\4\4\5\6\6\6\7!%\376\367\26\367\30\373\4\25\10\243\14l \6\0\0\303$!\21\4"
   "\23=$\260\230\13!\362\317E\240\20\1\0\42\35J\21]g\214\31\61f\304\230\21cF\214\31\61"
@@ -134546,6 +134566,7 @@ const uint8_t u8g2_font_opposansm30_chinese[670089] U8G2_FONT_SECTION("u8g2_font
   "\301\31#,N\214\7\65$<\310@F,\13#D\66\301\302\10\221M\260\60Bd\23\314\210eF"
   "\254\207\350\301\261\7\307\6I\64l\220D\303\6I\64\354\301\261\7\307\6I\64l\220D\303\6Ia"
   "l\220$\305\206\217\2\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -134555,6 +134576,7 @@ const uint8_t u8g2_font_opposansm30_chinese[670089] U8G2_FONT_SECTION("u8g2_font
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_OPPOSANSM32_CHINESE
 const uint8_t u8g2_font_opposansm32_chinese[727767] U8G2_FONT_SECTION("u8g2_font_opposansm32_chinese") = 
   "\312\0\4\4\6\6\6\6\7#(\376\366\30\367\32\373\4X\11\213\15N \6\0\0\206I!\17\204"
   "&zI \61\377\277\20\42\371\212\1\42\36\213\42\276\317 \63b\14\211\61C\306\14\31\63d\314\220"
@@ -157299,4 +157321,5 @@ const uint8_t u8g2_font_opposansm32_chinese[727767] U8G2_FONT_SECTION("u8g2_font
   "\70\365\200\250\7Q\254p\321\202\17\322\34iqb<\60\42\341\301\6:\201\342\330\11\24\307\304\210\30"
   "#B\214\60\61\42\306\210\20#\354\4\212c'P\234\207\263\7\311\36$\33\64\263A\63\33\64\263\7"
   "\311\36$\33\64\263A\63\33\64E\10b\203\246(\67\36@!\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */

+ 25 - 0
components/u8g2/u8g2_font_sarasa.c

@@ -1,6 +1,7 @@
 /*
   u8g2_fonts.c
 */
+#include "luat_base.h"
 #include "u8g2.h"
 
 /*
@@ -705,6 +706,7 @@ const uint8_t u8g2_font_sarasa_m32_ascii[2583] U8G2_FONT_SECTION("u8g2_font_sara
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_SARASA_M10_CHINESE
 const uint8_t u8g2_font_sarasa_m10_chinese[130704] U8G2_FONT_SECTION("u8g2_font_sarasa_m10_chinese") = 
   "\312\0\3\3\4\4\4\4\5\13\14\0\375\7\376\7\376\1B\2\203\3\252 \5\0\210\25!\7q\212"
   "\25\244\0\42\10\63\311\25\21\225\0#\15\204x\64\42\11E$\241\210$\0$\14\223x\63\241H)"
@@ -4791,6 +4793,7 @@ const uint8_t u8g2_font_sarasa_m10_chinese[130704] U8G2_FONT_SECTION("u8g2_font_
   "aD\26\12\311\10\237\232\22\210\211\272\241CDIRJ\272\34\42\42\11\0\237\233\21\210yY\263C"
   "\304d\16\35B\221\211\244\0\237\237\21\210\211\71\245X\354r\11\245\134B\261X\1\237\240\24\231x\231"
   "q@$v\220\234\236\42\231N\221\310\4\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -4800,6 +4803,7 @@ const uint8_t u8g2_font_sarasa_m10_chinese[130704] U8G2_FONT_SECTION("u8g2_font_
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_SARASA_M12_CHINESE
 const uint8_t u8g2_font_sarasa_m12_chinese[174444] U8G2_FONT_SECTION("u8g2_font_sarasa_m12_chinese") = 
   "\312\0\3\3\4\4\4\4\5\15\16\0\375\10\376\11\377\1l\2\325\4\32 \5\0\210\26!\10\202\212"
   "\26\221\334\10\42\10C\331\25\21-\1#\22\225x\65I\221H%)\22\212D*I\221\10\0$\22"
@@ -10253,6 +10257,7 @@ const uint8_t u8g2_font_sarasa_m12_chinese[174444] U8G2_FONT_SECTION("u8g2_font_
   "\233\30\253i\235rH(x\240\34b\207\70$x\30FB\301\320\322\1\237\237\31\273y}q\30\71"
   "\26\15\6\17\262\244\330!\226\24;\304\1\301\250\1\237\240\32\253\211\275q\210\332\201r\20ETB\7"
   "\321At\20\245\204\262D$\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -10262,6 +10267,7 @@ const uint8_t u8g2_font_sarasa_m12_chinese[174444] U8G2_FONT_SECTION("u8g2_font_
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_SARASA_M14_CHINESE
 const uint8_t u8g2_font_sarasa_m14_chinese[209914] U8G2_FONT_SECTION("u8g2_font_sarasa_m14_chinese") = 
   "\312\0\3\2\4\4\4\4\5\16\20\0\375\12\375\12\375\1y\2\373\4[ \5\0\210\27!\10\242\212"
   "\66}\34\2\42\10D\352\27\221S\0#\17\266x\66Q/\303\22\365\62,Q/\0$\22\305yW"
@@ -16823,6 +16829,7 @@ const uint8_t u8g2_font_sarasa_m14_chinese[209914] U8G2_FONT_SECTION("u8g2_font_
   "\320j\353\0\237\233\35\274y\276:\60i\303\240\34n\71\20\16C\16D\332p\20\243b\64DS\62"
   "\14\237\237\27\314y~\71\66\254Z:\34\42\255\267\341\326\66\334\252\255\303\2\237\240 \314x\335\71\266"
   "\3\232\264\14\203\64,Z\242$\332\260h\303-\252d\303-\252dQ%\1\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -16832,6 +16839,7 @@ const uint8_t u8g2_font_sarasa_m14_chinese[209914] U8G2_FONT_SECTION("u8g2_font_
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_SARASA_M16_CHINESE
 const uint8_t u8g2_font_sarasa_m16_chinese[283890] U8G2_FONT_SECTION("u8g2_font_sarasa_m16_chinese") = 
   "\312\0\3\2\5\5\5\5\6\21\23\0\374\14\375\16\376\1\337\3\242\5< \6\0@\210\2!\11\202"
   "M\210\246\77\16\1\42\10\244H\214\42\362\24#\33\307Aw\252\26eQ\62\14Q-\312\242,\312\242"
@@ -25705,6 +25713,7 @@ const uint8_t u8g2_font_sarasa_m16_chinese[283890] U8G2_FONT_SECTION("u8g2_font_
   "\224!\235\242a\10\237\237!\357\305\27S\207\207!\7\304\34\20s\340\323\330\343p\20\373\70\34\304:"
   "!\316\201T\7\16\2\237\240)\357\301\367ZG\225\34\22\267e\30\222\235\266\34\223\36\223\36\227\343p"
   "\20\243,\12\243,\12\207\203\30eQ\30e\211\4\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -25714,6 +25723,7 @@ const uint8_t u8g2_font_sarasa_m16_chinese[283890] U8G2_FONT_SECTION("u8g2_font_
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_SARASA_M18_CHINESE
 const uint8_t u8g2_font_sarasa_m18_chinese[293397] U8G2_FONT_SECTION("u8g2_font_sarasa_m18_chinese") = 
   "\312\0\3\2\5\5\5\5\6\22\23\0\374\14\375\16\376\1\347\3\275\5g \6\0@\210\2!\11\202"
   "M\210\246\77\16\1\42\10\244H\214\42\362\24#\33\310A\207\252\30\205Q\64\14R\61\12\243\60\12\243"
@@ -34884,6 +34894,7 @@ const uint8_t u8g2_font_sarasa_m18_chinese[293397] U8G2_FONT_SECTION("u8g2_font_
   "\322-\32\206\0\237\237!\357\305\27S\207\207!\7\304\34\20s\340\323\330\343p\20\373\70\34\304:!"
   "\316\201T\7\16\2\237\240-\360\305\27\37\320QE\207\324m\31\206d\320i\313\60\210II\12\223\222"
   "\24.\303 \16\217QV\214\262\342\360\30e\305(K&\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -34893,6 +34904,7 @@ const uint8_t u8g2_font_sarasa_m18_chinese[293397] U8G2_FONT_SECTION("u8g2_font_
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_SARASA_M20_CHINESE
 const uint8_t u8g2_font_sarasa_m20_chinese[375840] U8G2_FONT_SECTION("u8g2_font_sarasa_m20_chinese") = 
   "\312\0\3\2\5\5\5\5\6\25\30\0\373\17\374\21\375\2X\4\372\7X \6\0@\250\2!\13\343"
   "Q\250B\361\337\1e\30\42\20\346\310\254B\32\242!\32\242!\32\242!\22# )B\227J\21\25"
@@ -46639,6 +46651,7 @@ const uint8_t u8g2_font_sarasa_m20_chinese[375840] U8G2_FONT_SECTION("u8g2_font_
   "\32\0\237\237&R\306GW\247\14wH\325\21UGT\35\31>\15\241\177\34\36D\377qx\20\315"
   "\71$\353\210\254#\303\5\237\240\66rFG\37\321)C\216N;\62\17\321\220\14\203\62\350\324\341\233"
   "\62$\223\246\14\311\244\15\337\31~\323\42\315\26i\332\360M\213\64[\244\331\42\315\26)\23\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -46648,6 +46661,7 @@ const uint8_t u8g2_font_sarasa_m20_chinese[375840] U8G2_FONT_SECTION("u8g2_font_
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_SARASA_M22_CHINESE
 const uint8_t u8g2_font_sarasa_m22_chinese[383799] U8G2_FONT_SECTION("u8g2_font_sarasa_m22_chinese") = 
   "\312\0\3\2\5\5\5\5\6\25\30\0\373\17\374\21\375\2c\5\4\7] \6\0@\250\2!\12\343"
   "Q\270B\361\337\201\7\42\20\346\310\254B\32\242!\32\242!\32\242!\22#\36)B\247\312&i\222"
@@ -58643,6 +58657,7 @@ const uint8_t u8g2_font_sarasa_m22_chinese[383799] U8G2_FONT_SECTION("u8g2_font_
   "\303G\253h\25\255\342\360\321\16\344\220\16\350\210\16\350\320p\1\237\240AtFW\37\322ICN\321"
   "vh\210\207lP\206A\31v\206\207d\20\225!Q\42Q\31\22%\22\207C\62\350l\303\207P\313"
   "\244Q\313\244q\370\20j\231\64j\231\64j\231\64j\231\62D\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -58652,6 +58667,7 @@ const uint8_t u8g2_font_sarasa_m22_chinese[383799] U8G2_FONT_SECTION("u8g2_font_
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_SARASA_M24_CHINESE
 const uint8_t u8g2_font_sarasa_m24_chinese[482333] U8G2_FONT_SECTION("u8g2_font_sarasa_m24_chinese") = 
   "\312\0\4\3\5\5\5\5\6\32\34\0\372\22\373\25\375\2\311\5w\7\332 \6\0@\310\2!\12C"
   "R\270\206\376\307\7\2\42\11\7\315\335\202\14\177##-\213F\327\212\214\220\214\220\214\220\214\220\214\310"
@@ -73726,6 +73742,7 @@ const uint8_t u8g2_font_sarasa_m24_chinese[482333] U8G2_FONT_SECTION("u8g2_font_
   "\7\7S\7\7S\312\244\224I\35\34L\35\34L\251\324\313\203\332\3\12\0\237\240C\366F\207k<"
   "\224<P=\0\311,U\325\301\203\231\3\31z\310\212\12\243\212\12#\11\235\10UT\30UT\330\303"
   "\36\34\20\35\34\20\311(R\243H\350\340\200\350\340\200HF\221\32\25E\62Jf\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -73735,6 +73752,7 @@ const uint8_t u8g2_font_sarasa_m24_chinese[482333] U8G2_FONT_SECTION("u8g2_font_
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_SARASA_M26_CHINESE
 const uint8_t u8g2_font_sarasa_m26_chinese[525542] U8G2_FONT_SECTION("u8g2_font_sarasa_m26_chinese") = 
   "\312\0\4\3\5\5\5\5\6\32\36\0\372\23\373\25\373\2\373\5\324\10c \6\0@\330\2!\16d"
   "V\350\206\210\376\347\22\7\21\22\0\42\11\7M\336\202\14\177##/\253F\327\212\214\220\214\220\214\220"
@@ -90160,6 +90178,7 @@ const uint8_t u8g2_font_sarasa_m26_chinese[525542] U8G2_FONT_SECTION("u8g2_font_
   "<\304\20\355`\325\301\203\232\203\31z`\213\12+\21\211\20\211\30)\21\211\20\211\30)\213\12+\213"
   "\12{\360\203\203\252\203\203*!\31\231)!\31\231\251\203\203\252\203\203*!\31\231)!\31\231)!"
   "\31\211\32\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -90169,6 +90188,7 @@ const uint8_t u8g2_font_sarasa_m26_chinese[525542] U8G2_FONT_SECTION("u8g2_font_
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_SARASA_M28_CHINESE
 const uint8_t u8g2_font_sarasa_m28_chinese[574719] U8G2_FONT_SECTION("u8g2_font_sarasa_m28_chinese") = 
   "\312\0\4\3\5\5\5\5\6\34\37\0\372\25\372\27\374\3\37\6A\11\20 \6\0@\350\2!\17\244"
   "V\350\206\210\376\357a$\16\42$\0\42\12(\315\356\202\20\377H\0#\60\354F\347\216*\31)\31"
@@ -108130,6 +108150,7 @@ const uint8_t u8g2_font_sarasa_m28_chinese[574719] U8G2_FONT_SECTION("u8g2_font_
   "\71IYIYI\331\3\343\3\12\0\237\240Q:\307\307\263<\134=\324\310<\4\21ma\325\301\301"
   "\304A\311\1ME<\134<\2\13g\42\22\42\22\42b\42\22\42\22\42b\42\22\42\22\42b\26\356"
   "\221\34\34\230\35\34\230\11i&\244\231\220f\7\7f\7\7fB\232\11i&\244\204\6\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -108139,6 +108160,7 @@ const uint8_t u8g2_font_sarasa_m28_chinese[574719] U8G2_FONT_SECTION("u8g2_font_
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_SARASA_M30_CHINESE
 const uint8_t u8g2_font_sarasa_m30_chinese[624484] U8G2_FONT_SECTION("u8g2_font_sarasa_m30_chinese") = 
   "\312\0\4\3\5\5\5\6\6\36\42\0\371\26\372\31\373\3U\6\247\11\255 \6\0@\360\5!\17\304"
   "V\320\15\21\375\277\207\221\70\210\220\0\42\12H\315\366\5!\376#\1#\65\15G\357\35!)!)"
@@ -127656,6 +127678,7 @@ const uint8_t u8g2_font_sarasa_m30_chinese[624484] U8G2_FONT_SECTION("u8g2_font_
   "\63\7%\25\362p\362\10,.\314D$d$D\304D$d$D\304D$d$D\304,.\354"
   "q\360\331\301\63!)!\61!)!\261\203g\7\317\204\244\204\304\204\244\204\304\204\244\204\304\204\244D"
   "h\0\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */
 
 /*
@@ -127665,6 +127688,7 @@ const uint8_t u8g2_font_sarasa_m30_chinese[624484] U8G2_FONT_SECTION("u8g2_font_
   BBX Build Mode: 0
 */
 #ifdef U8G2_USE_LARGE_FONTS
+#ifdef USE_U8G2_SARASA_M32_CHINESE
 const uint8_t u8g2_font_sarasa_m32_chinese[677775] U8G2_FONT_SECTION("u8g2_font_sarasa_m32_chinese") = 
   "\312\0\4\3\5\5\6\6\7 #\0\371\27\372\32\373\3~\7\11\12\34 \6\0\200 \24!\17\344"
   "\232 \64\366\377{\20\211\203\10\11\0\42\12I\215\356\23f\374o\6#\65N\207\36tV\315L\315"
@@ -148847,5 +148871,6 @@ const uint8_t u8g2_font_sarasa_m32_chinese[677775] U8G2_FONT_SECTION("u8g2_font_
   "\357\241h\350!\310jK\255\16\16*\16l\16j\354\221\134<\273x&#!#!#&#!#"
   "!#v\361\354\342=\216\16\36\210\35<\20\33\22Z\66$\264lHh\331\301\3\261\203\7bCB"
   "\313\206\204\226\15\11M\230\15\11\215\20\1\0";
+#endif
 #endif /* U8G2_USE_LARGE_FONTS */