Lines Matching refs:dsc_out
64 bool lv_font_get_glyph_dsc(const lv_font_t * font_p, lv_font_glyph_dsc_t * dsc_out, uint32_t letter, in lv_font_get_glyph_dsc() argument
69 LV_ASSERT_NULL(dsc_out); in lv_font_get_glyph_dsc()
77 dsc_out->resolved_font = NULL; in lv_font_get_glyph_dsc()
80 bool found = f->get_glyph_dsc(f, dsc_out, letter, letter_next); in lv_font_get_glyph_dsc()
82 if(!dsc_out->is_placeholder) { in lv_font_get_glyph_dsc()
83 dsc_out->resolved_font = f; in lv_font_get_glyph_dsc()
97 placeholder_font->get_glyph_dsc(placeholder_font, dsc_out, letter, letter_next); in lv_font_get_glyph_dsc()
98 dsc_out->resolved_font = placeholder_font; in lv_font_get_glyph_dsc()
106 dsc_out->box_w = 0; in lv_font_get_glyph_dsc()
107 dsc_out->adv_w = 0; in lv_font_get_glyph_dsc()
111 dsc_out->box_w = font_p->line_height / 2; in lv_font_get_glyph_dsc()
112 dsc_out->adv_w = dsc_out->box_w + 2; in lv_font_get_glyph_dsc()
114 dsc_out->box_w = 0; in lv_font_get_glyph_dsc()
115 dsc_out->adv_w = 0; in lv_font_get_glyph_dsc()
119 dsc_out->resolved_font = NULL; in lv_font_get_glyph_dsc()
120 dsc_out->box_h = font_p->line_height; in lv_font_get_glyph_dsc()
121 dsc_out->ofs_x = 0; in lv_font_get_glyph_dsc()
122 dsc_out->ofs_y = 0; in lv_font_get_glyph_dsc()
123 dsc_out->bpp = 1; in lv_font_get_glyph_dsc()
124 dsc_out->is_placeholder = true; in lv_font_get_glyph_dsc()