Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/freetype/src/cff/
Dcffgload.c45 FT_UInt glyph_index, in cff_get_glyph_data() argument
58 glyph_index, &data ); in cff_get_glyph_data()
73 return cff_index_access_element( &cff->charstrings_index, glyph_index, in cff_get_glyph_data()
141 FT_Int glyph_index;
158 for ( glyph_index = 0; glyph_index < face->root.num_glyphs;
159 glyph_index++ )
166 error = cff_get_glyph_data( face, glyph_index,
170 error = decoder_funcs->prepare( &decoder, size, glyph_index );
196 FT_UInt glyph_index, in cff_slot_load() argument
222 if ( glyph_index != 0 ) in cff_slot_load()
[all …]
Dcffdrivr.c163 FT_UInt glyph_index, in cff_glyph_load() argument
174 FT_TRACE1(( "cff_glyph_load: glyph index %d\n", glyph_index )); in cff_glyph_load()
192 error = cff_slot_load( slot, size, glyph_index, load_flags ); in cff_glyph_load()
317 FT_UInt glyph_index, in cff_get_glyph_name() argument
342 glyph_index, in cff_get_glyph_name()
367 sid = font->charset.sids[glyph_index]; in cff_get_glyph_name()
776 FT_UInt glyph_index, in cff_get_cid_from_glyph_index() argument
797 if ( glyph_index >= cff->num_glyphs ) in cff_get_cid_from_glyph_index()
803 c = cff->charset.sids[glyph_index]; in cff_get_cid_from_glyph_index()
Dcffgload.h31 FT_UInt glyph_index,
53 FT_UInt glyph_index,
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttsubpix.c822 FT_UInt glyph_index, in sph_test_tweak() argument
840 rule[i].glyph ) == glyph_index ) in sph_test_tweak()
853 FT_UInt glyph_index, in scale_test_tweak() argument
871 rule[i].glyph ) == glyph_index ) in scale_test_tweak()
884 FT_UInt glyph_index ) in sph_test_tweak_x_scaling() argument
886 return scale_test_tweak( face, family, ppem, style, glyph_index, in sph_test_tweak_x_scaling()
892 if ( sph_test_tweak( face, family, ppem, style, glyph_index, \
897 if ( sph_test_tweak( face, family, ppem, style, glyph_index, \
904 FT_UInt glyph_index ) in sph_set_tweaks() argument
918 family, ppem, style, glyph_index, glyph_index ); in sph_set_tweaks()
[all …]
Dttgload.c152 FT_UInt glyph_index ) in tt_get_metrics() argument
170 TT_Get_HMetrics( face, glyph_index, in tt_get_metrics()
173 TT_Get_VMetrics( face, glyph_index, in tt_get_metrics()
196 sph_set_tweaks( loader, glyph_index ); in tt_get_metrics()
221 FT_UInt glyph_index ) in tt_get_metrics_incremental() argument
245 glyph_index, FALSE, &incr_metrics ); in tt_get_metrics_incremental()
261 glyph_index, TRUE, &incr_metrics ); in tt_get_metrics_incremental()
299 FT_UInt glyph_index, in TT_Access_Glyph_Frame() argument
306 FT_UNUSED( glyph_index ); in TT_Access_Glyph_Frame()
989 loader->glyph_index, in TT_Process_Simple_Glyph()
[all …]
Dttsubpix.h79 FT_UInt glyph_index,
88 FT_UInt glyph_index );
92 FT_UInt glyph_index );
Dttdriver.c432 FT_UInt glyph_index, in tt_glyph_load() argument
451 if ( glyph_index >= (FT_UInt)face->num_glyphs && in tt_glyph_load()
454 if ( glyph_index >= (FT_UInt)face->num_glyphs ) in tt_glyph_load()
484 error = TT_Load_Glyph( size, slot, glyph_index, load_flags ); in tt_glyph_load()
/third_party/skia/third_party/externals/freetype/src/type1/
Dt1gload.c43 FT_UInt glyph_index, in T1_Parse_Glyph_And_Get_Char_String() argument
74 glyph_index, char_string ); in T1_Parse_Glyph_And_Get_Char_String()
81 char_string->pointer = type1->charstrings[glyph_index]; in T1_Parse_Glyph_And_Get_Char_String()
82 char_string->length = type1->charstrings_len[glyph_index]; in T1_Parse_Glyph_And_Get_Char_String()
151 glyph_index, FALSE, &metrics ); in T1_Parse_Glyph_And_Get_Char_String()
166 FT_UInt glyph_index ) in T1_Parse_Glyph() argument
171 decoder, glyph_index, &glyph_data, in T1_Parse_Glyph()
217 FT_Int glyph_index; in T1_Compute_Max_Advance() local
256 for ( glyph_index = 0; glyph_index < type1->num_glyphs; glyph_index++ ) in T1_Compute_Max_Advance()
259 (void)T1_Parse_Glyph( &decoder, (FT_UInt)glyph_index ); in T1_Compute_Max_Advance()
[all …]
/third_party/skia/third_party/externals/freetype/src/cid/
Dcidgload.c45 FT_UInt glyph_index ) in cid_load_glyph() argument
66 FT_TRACE1(( "cid_load_glyph: glyph index %u\n", glyph_index )); in cid_load_glyph()
78 glyph_index, &glyph_data ); in cid_load_glyph()
109 glyph_index * entry_len ) || in cid_load_glyph()
240 glyph_index, FALSE, &metrics ); in cid_load_glyph()
285 FT_Int glyph_index;
312 for ( glyph_index = 0; glyph_index < face->root.num_glyphs;
313 glyph_index++ )
316 error = cid_load_glyph( &decoder, glyph_index );
334 FT_UInt glyph_index, in cid_slot_load_glyph() argument
[all …]
Dcidriver.c149 FT_UInt glyph_index, in cid_get_cid_from_glyph_index() argument
157 *cid = glyph_index; /* identity mapping */ in cid_get_cid_from_glyph_index()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttsbit.c694 FT_UInt glyph_index,
1259 FT_UInt glyph_index, in tt_sbit_decoder_load_image() argument
1288 if ( glyph_index >= start && glyph_index <= end ) in tt_sbit_decoder_load_image()
1315 p += 4 * ( glyph_index - start ); in tt_sbit_decoder_load_image()
1339 image_start = image_size * ( glyph_index - start ); in tt_sbit_decoder_load_image()
1345 p += 2 * ( glyph_index - start ); in tt_sbit_decoder_load_image()
1376 if ( gindex == glyph_index ) in tt_sbit_decoder_load_image()
1416 if ( gindex == glyph_index ) in tt_sbit_decoder_load_image()
1440 image_format, glyph_index )); in tt_sbit_decoder_load_image()
1459 glyph_index )); in tt_sbit_decoder_load_image()
[all …]
/third_party/skia/third_party/externals/freetype/src/psnames/
Dpsmodule.c355 map->glyph_index = n; in ps_unicodes_init()
372 map->glyph_index = extra_glyphs[n]; in ps_unicodes_init()
451 return result->glyph_index; in ps_unicodes_char_index()
480 result = map->glyph_index; in ps_unicodes_char_next()
487 result = map->glyph_index; in ps_unicodes_char_next()
504 result = map->glyph_index; in ps_unicodes_char_next()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-shape-normalize.cc98 (void) font->get_nominal_glyph (info.codepoint, &info.glyph_index()); in set_glyph()
105 buffer->cur().glyph_index() = glyph; in output_char()
113 buffer->cur().glyph_index() = glyph; in next_char()
230 …variation_glyph (buffer->cur().codepoint, buffer->cur(+1).codepoint, &buffer->cur().glyph_index())) in handle_variation_selector_cluster()
356 &buffer->cur().glyph_index(), in _hb_ot_shape_normalize()
467 buffer->out_info[starter].glyph_index() = glyph; in _hb_ot_shape_normalize()
Dhb-buffer.hh239 HB_NODISCARD bool replace_glyph (hb_codepoint_t glyph_index) in replace_glyph()
240 { return replace_glyphs (1, 1, &glyph_index); } in replace_glyph()
243 HB_NODISCARD bool output_glyph (hb_codepoint_t glyph_index) in output_glyph()
244 { return replace_glyphs (0, 1, &glyph_index); } in output_glyph()
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafcjk.c83 FT_ULong glyph_index; in af_cjk_metrics_init_widths() local
114 glyph_index = 0; in af_cjk_metrics_init_widths()
138 glyph_index = af_shaper_get_elem( &metrics->root, in af_cjk_metrics_init_widths()
143 if ( glyph_index ) in af_cjk_metrics_init_widths()
149 if ( !glyph_index ) in af_cjk_metrics_init_widths()
152 if ( !glyph_index ) in af_cjk_metrics_init_widths()
156 ch, glyph_index )); in af_cjk_metrics_init_widths()
158 error = FT_Load_Glyph( face, glyph_index, FT_LOAD_NO_SCALE ); in af_cjk_metrics_init_widths()
358 FT_ULong glyph_index; in af_cjk_metrics_init_blues() local
394 glyph_index = af_shaper_get_elem( &metrics->root, in af_cjk_metrics_init_blues()
[all …]
Dafdummy.c41 af_dummy_hints_apply( FT_UInt glyph_index, in af_dummy_hints_apply() argument
48 FT_UNUSED( glyph_index ); in af_dummy_hints_apply()
Dafindic.c77 af_indic_hints_apply( FT_UInt glyph_index, in af_indic_hints_apply() argument
83 return af_cjk_hints_apply( glyph_index, hints, outline, metrics ); in af_indic_hints_apply()
/third_party/skia/third_party/externals/freetype/include/freetype/
Dftincrem.h181 FT_UInt glyph_index,
249 FT_UInt glyph_index,
/third_party/skia/third_party/externals/freetype/src/base/
Dftcid.c92 FT_UInt glyph_index, in FT_Get_CID_From_Glyph_Index() argument
107 error = service->get_cid_from_glyph_index( face, glyph_index, &c); in FT_Get_CID_From_Glyph_Index()
/third_party/skia/third_party/externals/freetype/src/bdf/
Dbdfdrivr.c787 FT_UInt glyph_index, in BDF_Glyph_Load() argument
806 if ( glyph_index >= (FT_UInt)face->num_glyphs ) in BDF_Glyph_Load()
812 FT_TRACE1(( "BDF_Glyph_Load: glyph index %d\n", glyph_index )); in BDF_Glyph_Load()
815 if ( glyph_index == 0 ) in BDF_Glyph_Load()
816 glyph_index = bdf->default_glyph; in BDF_Glyph_Load()
818 glyph_index--; in BDF_Glyph_Load()
821 glyph = bdf->bdffont->glyphs[glyph_index]; in BDF_Glyph_Load()
/third_party/skia/third_party/externals/freetype/src/type42/
Dt42drivr.c61 FT_UInt glyph_index, in t42_get_glyph_name() argument
65 FT_STRCPYN( buffer, face->type1.glyph_names[glyph_index], buffer_max ); in t42_get_glyph_name()
Dt42objs.c651 FT_UInt glyph_index, in T42_GlyphSlot_Load() argument
661 FT_TRACE1(( "T42_GlyphSlot_Load: glyph index %d\n", glyph_index )); in T42_GlyphSlot_Load()
664 glyph_index = (FT_UInt)ft_strtol( in T42_GlyphSlot_Load()
665 (const char *)t42face->type1.charstrings[glyph_index], in T42_GlyphSlot_Load()
671 glyph_index, in T42_GlyphSlot_Load()
/third_party/skia/third_party/externals/imgui/
Dimstb_truetype.h800 STBTT_DEF void stbtt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_index, int *advanceWidt…
802 STBTT_DEF int stbtt_GetGlyphBox(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int…
831 STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index);
835 STBTT_DEF int stbtt_GetGlyphShape(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **verti…
1568 static int stbtt__GetGlyfOffset(const stbtt_fontinfo *info, int glyph_index) in stbtt__GetGlyfOffset() argument
1574 if (glyph_index >= info->numGlyphs) return -1; // glyph index out of range in stbtt__GetGlyfOffset()
1578 g1 = info->glyf + ttUSHORT(info->data + info->loca + glyph_index * 2) * 2; in stbtt__GetGlyfOffset()
1579 g2 = info->glyf + ttUSHORT(info->data + info->loca + glyph_index * 2 + 2) * 2; in stbtt__GetGlyfOffset()
1581 g1 = info->glyf + ttULONG (info->data + info->loca + glyph_index * 4); in stbtt__GetGlyfOffset()
1582 g2 = info->glyf + ttULONG (info->data + info->loca + glyph_index * 4 + 4); in stbtt__GetGlyfOffset()
[all …]
/third_party/mesa3d/src/imgui/
Dimstb_truetype.h800 STBTT_DEF void stbtt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_index, int *advanceWidt…
802 STBTT_DEF int stbtt_GetGlyphBox(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int…
831 STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index);
835 STBTT_DEF int stbtt_GetGlyphShape(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **verti…
1568 static int stbtt__GetGlyfOffset(const stbtt_fontinfo *info, int glyph_index) in stbtt__GetGlyfOffset() argument
1574 if (glyph_index >= info->numGlyphs) return -1; // glyph index out of range in stbtt__GetGlyfOffset()
1578 g1 = info->glyf + ttUSHORT(info->data + info->loca + glyph_index * 2) * 2; in stbtt__GetGlyfOffset()
1579 g2 = info->glyf + ttUSHORT(info->data + info->loca + glyph_index * 2 + 2) * 2; in stbtt__GetGlyfOffset()
1581 g1 = info->glyf + ttULONG (info->data + info->loca + glyph_index * 4); in stbtt__GetGlyfOffset()
1582 g2 = info->glyf + ttULONG (info->data + info->loca + glyph_index * 4 + 4); in stbtt__GetGlyfOffset()
[all …]
/third_party/skia/third_party/externals/freetype/src/winfonts/
Dwinfnt.c998 FT_UInt glyph_index, in FNT_Load_Glyph() argument
1020 glyph_index >= (FT_UInt)( FT_FACE( face )->num_glyphs ) ) in FNT_Load_Glyph()
1026 FT_TRACE1(( "FNT_Load_Glyph: glyph index %d\n", glyph_index )); in FNT_Load_Glyph()
1028 if ( glyph_index > 0 ) in FNT_Load_Glyph()
1029 glyph_index--; /* revert to real index */ in FNT_Load_Glyph()
1031 glyph_index = font->header.default_char; /* the `.notdef' glyph */ in FNT_Load_Glyph()
1037 offset = ( new_format ? 148 : 118 ) + len * glyph_index; in FNT_Load_Glyph()

123