/* Generic glyph width get function used in 'font->get_width' when the font contains all characters in the range  */
int16_t lv_font_get_width_continuous(const lv_font_t *font, uint32_t unicode_letter)
/* Generic glyph width get function used in 'font->get_width' when the font contains all characters in the range  */
int16_t lv_font_get_width_continuous(const lv_font_t *font, uint32_t unicode_letter)
{
    if(unicode_letter < font->unicode_first || unicode_letter > font->unicode_last) {
        return -1;
    }
    uint32_t index = (unicode_letter - font->unicode_first);
    return font->glyph_dsc[index].w_px;
}