mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-23 17:53:45 +08:00
fix(draw_label): fix draw label missing format mapping (#5413)
This commit is contained in:
parent
838cbd6ae6
commit
356f3ed018
@ -423,6 +423,9 @@ static void draw_letter(lv_draw_unit_t * draw_unit, lv_draw_glyph_dsc_t * dsc,
|
||||
else if(g.bpp == LV_IMGFONT_BPP) {
|
||||
dsc->format = LV_DRAW_LETTER_BITMAP_FORMAT_IMAGE;
|
||||
}
|
||||
else if(g.bpp == LV_VECFONT_BPP) {
|
||||
dsc->format = LV_DRAW_LETTER_VECTOR_FORMAT;
|
||||
}
|
||||
else {
|
||||
dsc->format = LV_DRAW_LETTER_BITMAP_FORMAT_A8;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user