Lines Matching refs:info

62     stbtt_fontinfo info;  member
130 dsc->scale = stbtt_ScaleForMappingEmToPixels(&dsc->info, font_size); in lv_tiny_ttf_set_size()
132 stbtt_GetFontVMetrics(&dsc->info, &dsc->ascent, &dsc->descent, &line_gap); in lv_tiny_ttf_set_size()
233 uint32_t g1 = stbtt_FindGlyphIndex(&dsc->info, (int)unicode_letter); in ttf_get_glyph_dsc_cb()
241 …int g2 = stbtt_FindGlyphIndex(&dsc->info, (int)unicode_letter_next); /* not using cache, only do g… in ttf_get_glyph_dsc_cb()
243 int k = stbtt_GetGlyphKernAdvance(&dsc->info, g1, g2); in ttf_get_glyph_dsc_cb()
271 g2 = stbtt_FindGlyphIndex(&dsc->info, (int)unicode_letter_next); in ttf_get_glyph_dsc_cb()
279 int k = stbtt_GetGlyphKernAdvance(&dsc->info, g1, g2); in ttf_get_glyph_dsc_cb()
384 … if(0 == stbtt_InitFont(&dsc->info, &dsc->stream, stbtt_GetFontOffsetForIndex(&dsc->stream, 0))) { in lv_tiny_ttf_create()
392 if(0 == stbtt_InitFont(&dsc->info, dsc->stream, stbtt_GetFontOffsetForIndex(dsc->stream, 0))) { in lv_tiny_ttf_create()
409 if(stbtt_KernTableCheck(&dsc->info) == 0) { in lv_tiny_ttf_create()
456 int g1 = stbtt_FindGlyphIndex(&dsc->info, (int)unicode_letter); in tiny_ttf_glyph_cache_create_cb()
463 stbtt_GetGlyphBitmapBox(&dsc->info, g1, dsc->scale, dsc->scale, &x1, &y1, &x2, &y2); in tiny_ttf_glyph_cache_create_cb()
466 stbtt_GetGlyphHMetrics(&dsc->info, g1, &advw, &lsb); in tiny_ttf_glyph_cache_create_cb()
468 int k = stbtt_GetGlyphKernAdvance(&dsc->info, g1, 0); in tiny_ttf_glyph_cache_create_cb()
515 const stbtt_fontinfo * info = (const stbtt_fontinfo *)&dsc->info; in tiny_ttf_draw_data_cache_create_cb() local
517 stbtt_GetGlyphBitmapBox(info, g1, dsc->scale, dsc->scale, &x1, &y1, &x2, &y2); in tiny_ttf_draw_data_cache_create_cb()
531 stbtt_MakeGlyphBitmap(info, draw_buf->data, w, h, stride, dsc->scale, dsc->scale, g1); in tiny_ttf_draw_data_cache_create_cb()