fix(font): load_glyph calculate the wrong size(one byte short) of last glyph (#2042)
* fix(font): load_glyph calculate the wrong size(one byte short) of last glyph * Print the banner before running the font test
This commit is contained in:
@@ -51,6 +51,11 @@ extern lv_font_t font_3;
|
||||
void lv_test_font_loader(void)
|
||||
{
|
||||
#if LV_USE_FILESYSTEM
|
||||
lv_test_print("");
|
||||
lv_test_print("===================");
|
||||
lv_test_print("Start lv_font tests");
|
||||
lv_test_print("===================");
|
||||
|
||||
lv_font_t * font_1_bin = lv_font_load("f:font_1.fnt");
|
||||
lv_font_t * font_2_bin = lv_font_load("f:font_2.fnt");
|
||||
lv_font_t * font_3_bin = lv_font_load("f:font_3.fnt");
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @file lv_font_loader.h
|
||||
* @file lv_test_font_loader.h
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user