Home
last modified time | relevance | path

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

/lvgl-2.7.6/src/lv_font/
Dlv_font_fmt_txt.c92 const lv_font_fmt_txt_glyph_dsc_t * gdsc = &fdsc->glyph_dsc[gid]; in lv_font_get_bitmap_fmt_txt() local
95 if(gdsc) return &fdsc->glyph_bitmap[gdsc->bitmap_index]; in lv_font_get_bitmap_fmt_txt()
100 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()
Dlv_font_loader.c380 lv_font_fmt_txt_glyph_dsc_t * gdsc = &glyph_dsc[i]; in load_glyph() local
390 gdsc->adv_w = header->default_advance_width; in load_glyph()
393 gdsc->adv_w = read_bits(&bit_it, header->advance_width_bits, &res); in load_glyph()
400 gdsc->adv_w *= 16; in load_glyph()
403 gdsc->ofs_x = read_bits_signed(&bit_it, header->xy_bits, &res); in load_glyph()
408 gdsc->ofs_y = read_bits_signed(&bit_it, header->xy_bits, &res); in load_glyph()
413 gdsc->box_w = read_bits(&bit_it, header->wh_bits, &res); in load_glyph()
418 gdsc->box_h = read_bits(&bit_it, header->wh_bits, &res); in load_glyph()
428 gdsc->adv_w = 0; in load_glyph()
429 gdsc->box_w = 0; in load_glyph()
[all …]