Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/extra/libs/tiny_ttf/
Dlv_tiny_ttf.c75 int ascent; member
264 stbtt_GetFontVMetrics(&dsc->info, &dsc->ascent, &dsc->descent, &line_gap); in lv_tiny_ttf_set_size()
265 font->line_height = (lv_coord_t)(dsc->scale * (dsc->ascent - dsc->descent + line_gap)); in lv_tiny_ttf_set_size()
Dstb_truetype_htcw.h383 int i, j, ascent, baseline, ch = 0;
391 stbtt_GetFontVMetrics(&font, &ascent, 0, 0);
392 baseline = (int)(ascent * scale);
799 STBTT_DEF void stbtt_GetFontVMetrics(const stbtt_fontinfo * info, int * ascent, int * descent, int …
2886 STBTT_DEF void stbtt_GetFontVMetrics(const stbtt_fontinfo * info, int * ascent, int * descent, int … argument
2888 if(ascent) *ascent = ttSHORT(info->data, info->hhea + 4);
4705 …void stbtt_GetScaledFontVMetrics(STBTT_STREAM_TYPE fontdata, int index, float size, float * ascent,
4708 … stbtt_GetScaledFontVMetrics(const unsigned char * fontdata, int index, float size, float * ascent,
4713 …void stbtt_GetScaledFontVMetrics(STBTT_STREAM_TYPE fontdata, int index, float size, float * ascent, argument
4716 … stbtt_GetScaledFontVMetrics(const unsigned char * fontdata, int index, float size, float * ascent,
[all …]
/lvgl-3.7.0/src/font/
Dlv_font_loader.c30 uint16_t ascent; member
504 font->line_height = font_header.ascent - font_header.descent; in lvgl_load_font()