Home
last modified time | relevance | path

Searched refs:glyph_index (Results 1 – 5 of 5) sorted by relevance

/lvgl-latest/src/libs/freetype/
Dlv_freetype_outline.c27 FT_UInt glyph_index; member
35 …v_freetype_outline_t outline_create(lv_freetype_context_t * ctx, FT_Face face, FT_UInt glyph_index,
41 …c lv_cache_entry_t * lv_freetype_outline_lookup(lv_freetype_font_dsc_t * dsc, FT_UInt glyph_index);
129 node->glyph_index, in freetype_glyph_outline_create_cb()
139 LV_LOG_INFO("glyph_index = 0x%" LV_PRIx32, (uint32_t)node->glyph_index); in freetype_glyph_outline_create_cb()
158 if(node_a->glyph_index == node_b->glyph_index) { in freetype_glyph_outline_cmp_cb()
161 return node_a->glyph_index > node_b->glyph_index ? 1 : -1; in freetype_glyph_outline_cmp_cb()
194 …ic lv_cache_entry_t * lv_freetype_outline_lookup(lv_freetype_font_dsc_t * dsc, FT_UInt glyph_index) in lv_freetype_outline_lookup() argument
200 tmp_node.glyph_index = glyph_index; in lv_freetype_outline_lookup()
204 …LV_LOG_ERROR("glyph outline lookup failed for glyph_index = 0x%" LV_PRIx32, (uint32_t)glyph_index); in lv_freetype_outline_lookup()
[all …]
Dlv_freetype_image.c30 FT_UInt glyph_index; member
93 FT_UInt glyph_index = (FT_UInt)g_dsc->gid.index; in freetype_get_glyph_bitmap_cb() local
98 .glyph_index = glyph_index, in freetype_get_glyph_bitmap_cb()
145 error = FT_Load_Glyph(face, data->glyph_index, in freetype_image_create_cb()
204 if(lhs->glyph_index != rhs->glyph_index) { in freetype_image_compare_cb()
205 return lhs->glyph_index > rhs->glyph_index ? 1 : -1; in freetype_image_compare_cb()
Dlv_freetype_glyph.c142 FT_UInt glyph_index = FT_Get_Char_Index(face, data->unicode); in freetype_glyph_create_cb() local
157 …error = FT_Load_Glyph(face, glyph_index, FT_LOAD_COMPUTE_METRICS | FT_LOAD_NO_BITMAP | FT_LOAD_NO_… in freetype_glyph_create_cb()
160 error = FT_Load_Glyph(face, glyph_index, FT_LOAD_COMPUTE_METRICS | FT_LOAD_NO_AUTOHINT); in freetype_glyph_create_cb()
202 dsc_out->is_placeholder = glyph_index == 0; in freetype_glyph_create_cb()
203 dsc_out->gid.index = (uint32_t)glyph_index; in freetype_glyph_create_cb()
/lvgl-latest/src/libs/tiny_ttf/
Dlv_tiny_ttf.c81 uint32_t glyph_index; member
292 uint32_t glyph_index = g_dsc->gid.index; in ttf_get_glyph_bitmap_cb() local
296 .glyph_index = glyph_index, in ttf_get_glyph_bitmap_cb()
507 int g1 = (int)node->glyph_index; in tiny_ttf_draw_data_cache_create_cb()
547 if(lhs->glyph_index != rhs->glyph_index) { in tiny_ttf_draw_data_cache_compare_cb()
548 return lhs->glyph_index > rhs->glyph_index ? 1 : -1; in tiny_ttf_draw_data_cache_compare_cb()
Dstb_truetype_htcw.h829 STBTT_DEF void stbtt_GetGlyphHMetrics(const stbtt_fontinfo * info, int glyph_index, int * advanceWi…
832 STBTT_DEF int stbtt_GetGlyphBox(const stbtt_fontinfo * info, int glyph_index, int * x0, int * y0, …
871 STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo * info, int glyph_index);
875 STBTT_DEF int stbtt_GetGlyphShape(const stbtt_fontinfo * info, int glyph_index, stbtt_vertex ** ver…
1804 static int stbtt__GetGlyfOffset(const stbtt_fontinfo * info, int glyph_index) argument
1810 if(glyph_index >= info->numGlyphs) return -1; // glyph index out of range
1814 g1 = info->glyf + ttUSHORT(info->data, info->loca + glyph_index * 2) * 2;
1815 g2 = info->glyf + ttUSHORT(info->data, info->loca + glyph_index * 2 + 2) * 2;
1818 g1 = info->glyf + ttULONG(info->data, info->loca + glyph_index * 4);
1819 g2 = info->glyf + ttULONG(info->data, info->loca + glyph_index * 4 + 4);
[all …]