/* Generic bitmap get function used in 'font->get_bitmap' when the font NOT contains all characters in the range (sparse)  */
const uint8_t* lv_font_get_bitmap_sparse(const lv_font_t *font, uint32_t unicode_letter)
/* Generic bitmap get function used in 'font->get_bitmap' when the font NOT contains all characters in the range (sparse)  */
const uint8_t* lv_font_get_bitmap_sparse(const lv_font_t *font, uint32_t unicode_letter)
{
    if(unicode_letter < font->unicode_first || unicode_letter > font->unicode_last) return NULL;
    uint32_t i;
    for(i = 0; font->unicode_list[i] != 0; i++) {
        if(font->unicode_list[i] == unicode_letter) {
            return &font->glyph_bitmap[font->glyph_dsc[i].glyph_index];
        }
    }
    return NULL;
}