Home
last modified time | relevance | path

Searched refs:cur_bmp_size (Results 1 – 1 of 1) sorted by relevance

/lvgl-3.5.0/src/font/
Dlv_font_loader.c353 int cur_bmp_size = 0; in load_glyph() local
411 gdsc->bitmap_index = cur_bmp_size; in load_glyph()
413 cur_bmp_size += bmp_size; in load_glyph()
417 uint8_t * glyph_bmp = (uint8_t *)lv_mem_alloc(sizeof(uint8_t) * cur_bmp_size); in load_glyph()
421 cur_bmp_size = 0; in load_glyph()
445 if(lv_fs_read(fp, &glyph_bmp[cur_bmp_size], bmp_size, NULL) != LV_FS_RES_OK) { in load_glyph()
451 glyph_bmp[cur_bmp_size + k] = read_bits(&bit_it, 8, &res); in load_glyph()
456 glyph_bmp[cur_bmp_size + bmp_size - 1] = read_bits(&bit_it, 8 - nbits % 8, &res); in load_glyph()
462 … glyph_bmp[cur_bmp_size + bmp_size - 1] = glyph_bmp[cur_bmp_size + bmp_size - 1] << (nbits % 8); in load_glyph()
466 cur_bmp_size += bmp_size; in load_glyph()