Description
no display china font use bin,but picture can display use bin,filesystem already join
What MCU/Processor/Board and compiler are you using?
STM32 in keli
What LVGL version are you using?
LVGL8.2
What do you want to achieve?
stm32F429diaplay font use sd bin
What have you tried so far?
no display china font use bin,but picture can display use bin,filesystem already join
Code to reproduce
lv_font_t *my_font;
my_font = lv_font_load("0:/myfont.bin");
static lv_style_t font_style;
lv_style_init(&font_style);
lv_style_set_text_font(&font_style, my_font);
lv_obj_t *label_zh = lv_label_create(lv_scr_act());
lv_obj_align(label_zh, LV_ALIGN_BOTTOM_MID, 0, 0);
lv_obj_add_style(label_zh, &font_style, 0);
lv_label_set_text(label_zh, "china font");
/*You code here*/
lv_obj_t * icon = lv_img_create(lv_scr_act());
/From file/
lv_img_set_src(icon, “0:/mypicture.bin”);
/already use sd filesystem,picture is display ok/
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.