Update lvgl to v8.4.0

This commit is contained in:
lewisxhe
2024-09-13 11:35:47 +08:00
parent 1a57bfcf2b
commit f285d52d61
641 changed files with 25425 additions and 30726 deletions
+12 -1
View File
@@ -68,7 +68,10 @@ bool lv_font_get_glyph_dsc(const lv_font_t * font_p, lv_font_glyph_dsc_t * dsc_o
LV_ASSERT_NULL(font_p);
LV_ASSERT_NULL(dsc_out);
#if LV_USE_FONT_PLACEHOLDER
const lv_font_t * placeholder_font = NULL;
#endif
const lv_font_t * f = font_p;
dsc_out->resolved_font = NULL;
@@ -80,19 +83,22 @@ bool lv_font_get_glyph_dsc(const lv_font_t * font_p, lv_font_glyph_dsc_t * dsc_o
dsc_out->resolved_font = f;
return true;
}
#if LV_USE_FONT_PLACEHOLDER
else if(placeholder_font == NULL) {
placeholder_font = f;
}
#endif
}
f = f->fallback;
}
#if LV_USE_FONT_PLACEHOLDER
if(placeholder_font != NULL) {
placeholder_font->get_glyph_dsc(placeholder_font, dsc_out, letter, letter_next);
dsc_out->resolved_font = placeholder_font;
return true;
}
#endif
if(letter < 0x20 ||
letter == 0xf8ff || /*LV_SYMBOL_DUMMY*/
@@ -101,8 +107,13 @@ bool lv_font_get_glyph_dsc(const lv_font_t * font_p, lv_font_glyph_dsc_t * dsc_o
dsc_out->adv_w = 0;
}
else {
#if LV_USE_FONT_PLACEHOLDER
dsc_out->box_w = font_p->line_height / 2;
dsc_out->adv_w = dsc_out->box_w + 2;
#else
dsc_out->box_w = 0;
dsc_out->adv_w = 0;
#endif
}
dsc_out->resolved_font = NULL;
@@ -5864,7 +5864,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -6556,8 +6555,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
}
};
/*--------------------
* ALL CUSTOM DATA
*--------------------*/
@@ -6583,7 +6580,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -6608,7 +6604,4 @@ lv_font_t lv_font_dejavu_16_persian_hebrew = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_DEJAVU_16_PERSIAN_HEBREW*/
+3 -3
View File
@@ -148,10 +148,10 @@ const uint8_t * lv_font_get_bitmap_fmt_txt(const lv_font_t * font, uint32_t unic
bool lv_font_get_glyph_dsc_fmt_txt(const lv_font_t * font, lv_font_glyph_dsc_t * dsc_out, uint32_t unicode_letter,
uint32_t unicode_letter_next)
{
bool is_tab = false;
if(unicode_letter == '\t') {
/*It fixes a strange compiler optimization issue: https://github.com/lvgl/lvgl/issues/4370*/
bool is_tab = unicode_letter == '\t';
if(is_tab) {
unicode_letter = ' ';
is_tab = true;
}
lv_font_fmt_txt_dsc_t * fdsc = (lv_font_fmt_txt_dsc_t *)font->dsc;
uint32_t gid = get_glyph_dsc_id(font, unicode_letter);
@@ -973,7 +973,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x30, 0x0, 0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -1170,7 +1169,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -1597,7 +1595,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -1632,7 +1629,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -1657,7 +1653,4 @@ lv_font_t lv_font_montserrat_10 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_10*/
@@ -1234,7 +1234,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -1431,7 +1430,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -1858,7 +1856,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -1893,7 +1890,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -1918,7 +1914,4 @@ lv_font_t lv_font_montserrat_12 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_12*/
@@ -3175,7 +3175,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -3372,7 +3371,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -3799,7 +3797,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -3834,7 +3831,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -3859,7 +3855,4 @@ lv_font_t lv_font_montserrat_12_subpx = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_12_SUBPX*/
@@ -1510,7 +1510,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -1707,7 +1706,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -2134,7 +2132,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -2169,7 +2166,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -2194,7 +2190,4 @@ lv_font_t lv_font_montserrat_14 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_14*/
@@ -1779,7 +1779,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -1976,7 +1975,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -2403,7 +2401,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -2438,7 +2435,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -2463,7 +2459,4 @@ lv_font_t lv_font_montserrat_16 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_16*/
@@ -2179,7 +2179,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -2376,7 +2375,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -2803,7 +2801,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -2838,7 +2835,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -2863,7 +2859,4 @@ lv_font_t lv_font_montserrat_18 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_18*/
@@ -2536,7 +2536,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -2733,7 +2732,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -3160,7 +3158,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -3195,7 +3192,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -3220,7 +3216,4 @@ lv_font_t lv_font_montserrat_20 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_20*/
@@ -2965,7 +2965,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -3162,7 +3161,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -3589,7 +3587,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -3624,7 +3621,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -3649,7 +3645,4 @@ lv_font_t lv_font_montserrat_22 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_22*/
@@ -3376,7 +3376,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -3573,7 +3572,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -4000,7 +3998,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -4035,7 +4032,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -4060,7 +4056,4 @@ lv_font_t lv_font_montserrat_24 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_24*/
@@ -3911,7 +3911,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -4108,7 +4107,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -4535,7 +4533,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -4570,7 +4567,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -4595,7 +4591,4 @@ lv_font_t lv_font_montserrat_26 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_26*/
@@ -4460,7 +4460,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -4657,7 +4656,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -5084,7 +5082,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -5119,7 +5116,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -5144,7 +5140,4 @@ lv_font_t lv_font_montserrat_28 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_28*/
@@ -2590,7 +2590,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0xff, 0x3a, 0xba, 0x40, 0x3f, 0xf9, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -2787,7 +2786,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -3214,7 +3212,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -3249,7 +3246,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -3274,7 +3270,4 @@ lv_font_t lv_font_montserrat_28_compressed = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_28_COMPRESSED*/
@@ -5042,7 +5042,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -5239,7 +5238,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -5666,7 +5664,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -5701,7 +5698,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -5726,7 +5722,4 @@ lv_font_t lv_font_montserrat_30 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_30*/
@@ -5531,7 +5531,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -5728,7 +5727,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -6155,7 +6153,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -6190,7 +6187,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -6215,7 +6211,4 @@ lv_font_t lv_font_montserrat_32 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_32*/
@@ -6330,7 +6330,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -6527,7 +6526,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -6954,7 +6952,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -6989,7 +6986,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -7014,7 +7010,4 @@ lv_font_t lv_font_montserrat_34 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_34*/
@@ -6974,7 +6974,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -7171,7 +7170,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -7598,7 +7596,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -7633,7 +7630,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -7658,7 +7654,4 @@ lv_font_t lv_font_montserrat_36 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_36*/
@@ -7719,7 +7719,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -7916,7 +7915,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -8343,7 +8341,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -8378,7 +8375,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -8403,7 +8399,4 @@ lv_font_t lv_font_montserrat_38 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_38*/
@@ -8567,7 +8567,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -8764,7 +8763,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -9191,7 +9189,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -9226,7 +9223,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -9251,7 +9247,4 @@ lv_font_t lv_font_montserrat_40 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_40*/
@@ -9409,7 +9409,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -9606,7 +9605,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -10033,7 +10031,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -10068,7 +10065,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -10093,7 +10089,4 @@ lv_font_t lv_font_montserrat_42 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_42*/
@@ -10235,7 +10235,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -10432,7 +10431,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -10859,7 +10857,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -10894,7 +10891,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -10919,7 +10915,4 @@ lv_font_t lv_font_montserrat_44 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_44*/
@@ -11187,7 +11187,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -11384,7 +11383,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -11811,7 +11809,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -11846,7 +11843,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -11871,7 +11867,4 @@ lv_font_t lv_font_montserrat_46 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_46*/
@@ -11888,7 +11888,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -12085,7 +12084,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -12512,7 +12510,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -12547,7 +12544,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -12572,7 +12568,4 @@ lv_font_t lv_font_montserrat_48 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_48*/
-7
View File
@@ -759,7 +759,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -956,7 +955,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
* KERNING
*----------------*/
/*Map glyph_ids to kern left classes*/
static const uint8_t kern_left_class_mapping[] = {
0, 0, 1, 2, 0, 3, 4, 5,
@@ -1383,7 +1381,6 @@ static const int8_t kern_class_values[] = {
0, 0, 0, 0, 0
};
/*Collect the kern class' data in one place*/
static const lv_font_fmt_txt_kern_classes_t kern_classes = {
.class_pair_values = kern_class_values,
@@ -1418,7 +1415,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -1443,7 +1439,4 @@ lv_font_t lv_font_montserrat_8 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_MONTSERRAT_8*/
@@ -22100,7 +22100,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x2f, 0xdd, 0xdd, 0x80, 0x0, 0x0, 0x0, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -23723,8 +23722,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
}
};
/*--------------------
* ALL CUSTOM DATA
*--------------------*/
@@ -23750,7 +23747,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -23775,7 +23771,4 @@ lv_font_t lv_font_simsun_16_cjk = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_SIMSUN_16_CJK*/
-9
View File
@@ -475,7 +475,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0xc0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -584,8 +583,6 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
* CHARACTER MAPPING
*--------------------*/
/*Collect the unicode lists and glyph_id offsets*/
static const lv_font_fmt_txt_cmap_t cmaps[] = {
{
@@ -594,8 +591,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
}
};
/*--------------------
* ALL CUSTOM DATA
*--------------------*/
@@ -621,7 +616,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -646,7 +640,4 @@ lv_font_t lv_font_unscii_16 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_UNSCII_16*/
-9
View File
@@ -311,7 +311,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0xc1, 0x42, 0xbd, 0x2c, 0x40, 0x81, 0x0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
@@ -420,8 +419,6 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
* CHARACTER MAPPING
*--------------------*/
/*Collect the unicode lists and glyph_id offsets*/
static const lv_font_fmt_txt_cmap_t cmaps[] = {
{
@@ -430,8 +427,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = {
}
};
/*--------------------
* ALL CUSTOM DATA
*--------------------*/
@@ -457,7 +452,6 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
@@ -482,7 +476,4 @@ lv_font_t lv_font_unscii_8 = {
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if LV_FONT_UNSCII_8*/
-1
View File
@@ -31,7 +31,6 @@ extern "C" {
* If they are not predefined, they will use the following values
*/
#if !defined LV_SYMBOL_AUDIO
#define LV_SYMBOL_AUDIO "\xEF\x80\x81" /*61441, 0xF001*/
#endif