Skip to content

Commit cd0c330

Browse files
committed
重新加入中文字体:
modified: lv_conf.h modified: lvgl/src/font/lv_font.h new file: lvgl/src/font/lv_font_siyuan_heiti_medium_16.c modified: lvgl/src/font/lv_symbol_def.h
1 parent 2cac845 commit cd0c330

File tree

4 files changed

+39183
-0
lines changed

4 files changed

+39183
-0
lines changed

lv_conf.h

+1
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@ extern void mp_lv_deinit_gc();
442442
#define LV_FONT_MONTSERRAT_44 0
443443
#define LV_FONT_MONTSERRAT_46 0
444444
#define LV_FONT_MONTSERRAT_48 0
445+
#define LV_FONT_SIYUAN_HEITI_MEDIUM_16 1
445446

446447
/*Demonstrate special features*/
447448
#define LV_FONT_MONTSERRAT_28_COMPRESSED 0 /*bpp = 3*/

lvgl/src/font/lv_font.h

+4
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,10 @@ LV_FONT_DECLARE(lv_font_unscii_8)
288288
LV_FONT_DECLARE(lv_font_unscii_16)
289289
#endif
290290

291+
#if LV_FONT_SIYUAN_HEITI_MEDIUM_16
292+
LV_FONT_DECLARE(lv_font_siyuan_heiti_medium_16)
293+
#endif
294+
291295
/*Declare the custom (user defined) fonts*/
292296
#ifdef LV_FONT_CUSTOM_DECLARE
293297
LV_FONT_CUSTOM_DECLARE

0 commit comments

Comments
 (0)