Searched refs:glyph_index (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.6.0/src/extra/libs/freetype/ |
D | lv_freetype.c | 206 FT_UInt glyph_index, lv_font_glyph_dsc_t * dsc_out) in get_bold_glyph() argument 208 if(FT_Load_Glyph(face, glyph_index, FT_LOAD_DEFAULT)) { in get_bold_glyph() 264 FT_UInt glyph_index = FTC_CMapCache_Lookup(cmap_cache, face_id, charmap_index, unicode_letter); in get_glyph_dsc_cb_cache() local 265 dsc_out->is_placeholder = glyph_index == 0; in get_glyph_dsc_cb_cache() 278 if(!get_bold_glyph(font, face, glyph_index, dsc_out)) { in get_glyph_dsc_cb_cache() 292 FT_Error error = FTC_SBitCache_Lookup(sbit_cache, &desc_type, glyph_index, &sbit, NULL); in get_glyph_dsc_cb_cache() 305 … FT_Error error = FTC_ImageCache_Lookup(image_cache, &desc_type, glyph_index, &image_glyph, NULL); in get_glyph_dsc_cb_cache() 478 FT_UInt glyph_index = FT_Get_Char_Index(face, unicode_letter); in get_glyph_dsc_cb_nocache() local 483 dsc_out->is_placeholder = glyph_index == 0; in get_glyph_dsc_cb_nocache() 485 error = FT_Load_Glyph(face, glyph_index, FT_LOAD_DEFAULT); in get_glyph_dsc_cb_nocache()
|
/lvgl-3.6.0/src/extra/libs/tiny_ttf/ |
D | stb_truetype_htcw.h | 833 STBTT_DEF void stbtt_GetGlyphHMetrics(const stbtt_fontinfo * info, int glyph_index, int * advanceWi… 836 STBTT_DEF int stbtt_GetGlyphBox(const stbtt_fontinfo * info, int glyph_index, int * x0, int * y0, … 875 STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo * info, int glyph_index); 879 STBTT_DEF int stbtt_GetGlyphShape(const stbtt_fontinfo * info, int glyph_index, stbtt_vertex ** ver… 1812 static int stbtt__GetGlyfOffset(const stbtt_fontinfo * info, int glyph_index) argument 1818 if(glyph_index >= info->numGlyphs) return -1; // glyph index out of range 1822 g1 = info->glyf + ttUSHORT(info->data, info->loca + glyph_index * 2) * 2; 1823 g2 = info->glyf + ttUSHORT(info->data, info->loca + glyph_index * 2 + 2) * 2; 1826 g1 = info->glyf + ttULONG(info->data, info->loca + glyph_index * 4); 1827 g2 = info->glyf + ttULONG(info->data, info->loca + glyph_index * 4 + 4); [all …]
|