diff --git a/src/lv_font/lv_font.h b/src/lv_font/lv_font.h index a86ce25f6..e6433b892 100644 --- a/src/lv_font/lv_font.h +++ b/src/lv_font/lv_font.h @@ -76,12 +76,12 @@ typedef struct _lv_font_struct /*Pointer to the font in a font pack (must have the same line height)*/ uint8_t line_height; /**< The real line height where any text fits*/ uint8_t base_line; /**< Base line measured from the top of the line_height*/ + uint8_t subpx :2; /**< An element of `lv_font_subpx_t`*/ void * dsc; /**< Store implementation specific data here*/ #if LV_USE_USER_DATA lv_font_user_data_t user_data; /**< Custom user data for font. */ #endif - uint32_t subpx :2; /**< An element of `lv_font_subpx_t`*/ } lv_font_t;