Home
last modified time | relevance | path

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

/lvgl-latest/src/libs/tiny_ttf/
Dlv_tiny_ttf.c241 …int g2 = stbtt_FindGlyphIndex(&dsc->info, (int)unicode_letter_next); /* not using cache, only do g… in ttf_get_glyph_dsc_cb() local
242 if(g2) { in ttf_get_glyph_dsc_cb()
243 int k = stbtt_GetGlyphKernAdvance(&dsc->info, g1, g2); in ttf_get_glyph_dsc_cb()
266 int g2 = 0; in ttf_get_glyph_dsc_cb() local
271 g2 = stbtt_FindGlyphIndex(&dsc->info, (int)unicode_letter_next); in ttf_get_glyph_dsc_cb()
274 g2 = data_next->glyph_dsc.gid.index; in ttf_get_glyph_dsc_cb()
278 if(g2) { in ttf_get_glyph_dsc_cb()
279 int k = stbtt_GetGlyphKernAdvance(&dsc->info, g1, g2); in ttf_get_glyph_dsc_cb()
Dstb_truetype_htcw.h1806 int g1, g2; local
1815 g2 = info->glyf + ttUSHORT(info->data, info->loca + glyph_index * 2 + 2) * 2;
1819 g2 = info->glyf + ttULONG(info->data, info->loca + glyph_index * 4 + 4);
1822 return g1 == g2 ? -1 : g1; // if length is 0, return -1
2901 STBTT_DEF int stbtt_GetGlyphKernAdvance(const stbtt_fontinfo * info, int g1, int g2) argument
2906 xAdvance += stbtt__GetGlyphGPOSInfoAdvance(info, g1, g2);
2908 xAdvance += stbtt__GetGlyphKernInfoAdvance(info, g1, g2);
/lvgl-latest/src/core/
Dlv_group.c145 lv_group_t * g2 = lv_obj_get_group(obj2); in lv_group_swap_obj() local
146 if(g1 != g2) return; in lv_group_swap_obj()