Lines Matching refs:info
73 stbtt_fontinfo info; member
101 int g1 = stbtt_FindGlyphIndex(&dsc->info, (int)unicode_letter); in ttf_get_glyph_dsc_cb()
108 stbtt_GetGlyphBitmapBox(&dsc->info, g1, dsc->scale, dsc->scale, &x1, &y1, &x2, &y2); in ttf_get_glyph_dsc_cb()
111 g2 = stbtt_FindGlyphIndex(&dsc->info, (int)unicode_letter_next); in ttf_get_glyph_dsc_cb()
114 stbtt_GetGlyphHMetrics(&dsc->info, g1, &advw, &lsb); in ttf_get_glyph_dsc_cb()
115 int k = stbtt_GetGlyphKernAdvance(&dsc->info, g1, g2); in ttf_get_glyph_dsc_cb()
133 const stbtt_fontinfo * info = (const stbtt_fontinfo *)&dsc->info; in ttf_get_glyph_bitmap_cb() local
134 int g1 = stbtt_FindGlyphIndex(info, (int)unicode_letter); in ttf_get_glyph_bitmap_cb()
140 stbtt_GetGlyphBitmapBox(info, g1, dsc->scale, dsc->scale, &x1, &y1, &x2, &y2); in ttf_get_glyph_bitmap_cb()
170 stbtt_MakeGlyphBitmap(info, buffer, w, h, stride, dsc->scale, dsc->scale, g1); in ttf_get_glyph_bitmap_cb()
200 … if(0 == stbtt_InitFont(&dsc->info, &dsc->stream, stbtt_GetFontOffsetForIndex(&dsc->stream, 0))) { in lv_tiny_ttf_create()
208 if(0 == stbtt_InitFont(&dsc->info, dsc->stream, stbtt_GetFontOffsetForIndex(dsc->stream, 0))) { in lv_tiny_ttf_create()
262 dsc->scale = stbtt_ScaleForMappingEmToPixels(&dsc->info, font_size); in lv_tiny_ttf_set_size()
264 stbtt_GetFontVMetrics(&dsc->info, &dsc->ascent, &dsc->descent, &line_gap); in lv_tiny_ttf_set_size()