Home
last modified time | relevance | path

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

/lvgl-latest/src/font/
Dlv_font_loader.c356 lv_font_fmt_txt_glyph_dsc_t * gdsc = &glyph_dsc[i]; in load_glyph() local
366 gdsc->adv_w = header->default_advance_width; in load_glyph()
369 gdsc->adv_w = read_bits(&bit_it, header->advance_width_bits, &res); in load_glyph()
376 gdsc->adv_w *= 16; in load_glyph()
379 gdsc->ofs_x = read_bits_signed(&bit_it, header->xy_bits, &res); in load_glyph()
384 gdsc->ofs_y = read_bits_signed(&bit_it, header->xy_bits, &res); in load_glyph()
389 gdsc->box_w = read_bits(&bit_it, header->wh_bits, &res); in load_glyph()
394 gdsc->box_h = read_bits(&bit_it, header->wh_bits, &res); in load_glyph()
404 gdsc->adv_w = 0; in load_glyph()
405 gdsc->box_w = 0; in load_glyph()
[all …]
Dlv_font_fmt_txt.c87 const lv_font_fmt_txt_glyph_dsc_t * gdsc = &fdsc->glyph_dsc[gid]; in lv_font_get_bitmap_fmt_txt() local
90 return &fdsc->glyph_bitmap[gdsc->bitmap_index]; in lv_font_get_bitmap_fmt_txt()
98 uint32_t gsize = gdsc->box_w * gdsc->box_h; in lv_font_get_bitmap_fmt_txt()
127 …decompress(&fdsc->glyph_bitmap[gdsc->bitmap_index], LV_GC_ROOT(_lv_font_decompr_buf), gdsc->box_w,… in lv_font_get_bitmap_fmt_txt()
169 const lv_font_fmt_txt_glyph_dsc_t * gdsc = &fdsc->glyph_dsc[gid]; in lv_font_get_glyph_dsc_fmt_txt() local
173 uint32_t adv_w = gdsc->adv_w; in lv_font_get_glyph_dsc_fmt_txt()
180 dsc_out->box_h = gdsc->box_h; in lv_font_get_glyph_dsc_fmt_txt()
181 dsc_out->box_w = gdsc->box_w; in lv_font_get_glyph_dsc_fmt_txt()
182 dsc_out->ofs_x = gdsc->ofs_x; in lv_font_get_glyph_dsc_fmt_txt()
183 dsc_out->ofs_y = gdsc->ofs_y; in lv_font_get_glyph_dsc_fmt_txt()