Home
last modified time | relevance | path

Searched refs:gindex (Results 1 – 25 of 39) sorted by relevance

12

/external/freetype/src/autofit/
Dafglobal.c121 FT_UInt gindex; in af_face_globals_compute_script_coverage() local
124 gindex = FT_Get_Char_Index( face, charcode ); in af_face_globals_compute_script_coverage()
126 if ( gindex != 0 && in af_face_globals_compute_script_coverage()
127 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_script_coverage()
128 gscripts[gindex] == AF_SCRIPT_LIST_NONE ) in af_face_globals_compute_script_coverage()
129 gscripts[gindex] = (FT_Byte)ss; in af_face_globals_compute_script_coverage()
133 charcode = FT_Get_Next_Char( face, charcode, &gindex ); in af_face_globals_compute_script_coverage()
135 if ( gindex == 0 || charcode > range->last ) in af_face_globals_compute_script_coverage()
138 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_script_coverage()
139 gscripts[gindex] == AF_SCRIPT_LIST_NONE ) in af_face_globals_compute_script_coverage()
[all …]
Dafglobal.h52 FT_UInt gindex,
61 FT_UInt gindex );
/external/freetype/src/cache/
Dftcsbits.c104 FT_UInt gindex, in ftc_snode_load() argument
116 if ( (FT_UInt)(gindex - gnode->gindex) >= snode->count ) in ftc_snode_load()
122 sbit = snode->sbits + ( gindex - gnode->gindex ); in ftc_snode_load()
127 error = clazz->family_load_glyph( family, gindex, manager, &face ); in ftc_snode_load()
215 FT_UInt gindex = gquery->gindex; in FTC_SNode_New() local
224 if ( total == 0 || gindex >= total ) in FTC_SNode_New()
235 start = gindex - ( gindex % FTC_SBIT_ITEMS_PER_NODE ); in FTC_SNode_New()
250 gindex, in FTC_SNode_New()
333 FT_UInt gindex = gquery->gindex; in ftc_snode_compare() local
340 (FT_UInt)( gindex - gnode->gindex ) < snode->count ); in ftc_snode_compare()
[all …]
Dftcbasic.c165 FT_UInt gindex, in ftc_basic_family_load_bitmap() argument
180 error = FT_Load_Glyph( face, gindex, in ftc_basic_family_load_bitmap()
192 FT_UInt gindex, in ftc_basic_family_load_glyph() argument
211 error = FT_Load_Glyph( face, gindex, family->attrs.load_flags ); in ftc_basic_family_load_glyph()
318 FT_UInt gindex, in FTC_ImageCache_Lookup() argument
376 hash = FTC_BASIC_ATTR_HASH( &query.attrs ) + gindex; in FTC_ImageCache_Lookup()
382 hash, gindex, in FTC_ImageCache_Lookup()
388 hash, gindex, in FTC_ImageCache_Lookup()
414 FT_UInt gindex, in FTC_ImageCache_LookupScaler() argument
445 hash = FTC_BASIC_ATTR_HASH( &query.attrs ) + gindex; in FTC_ImageCache_LookupScaler()
[all …]
Dftcglyph.c32 FT_UInt gindex, in FTC_GNode_Init() argument
36 gnode->gindex = gindex; in FTC_GNode_Init()
59 gnode->gindex = 0; in FTC_GNode_Done()
79 gnode->gindex == gquery->gindex ); in ftc_gnode_compare()
189 FT_UInt gindex, in FTC_GCache_Lookup() argument
196 query->gindex = gindex; in FTC_GCache_Lookup()
Dftcglyph.h152 FT_UInt gindex; member
162 FT_UInt gindex; member
180 FT_UInt gindex, /* glyph index for node */
264 FT_UInt gindex,
281 gindex, query, node, error ) \ argument
289 _gquery->gindex = (gindex); \
312 gindex, query, node, error ) \ argument
315 error = FTC_GCache_Lookup( FTC_GCACHE( cache ), hash, gindex, \
Dftccmap.c297 FT_UInt gindex = 0; in FTC_CMapCache_Lookup() local
390 gindex = FTC_CMAP_NODE( node )->indices[char_code - in FTC_CMapCache_Lookup()
392 if ( gindex == FTC_CMAP_UNKNOWN ) in FTC_CMapCache_Lookup()
397 gindex = 0; in FTC_CMapCache_Lookup()
422 gindex = FT_Get_Char_Index( face, char_code ); in FTC_CMapCache_Lookup()
430 = (FT_UShort)gindex; in FTC_CMapCache_Lookup()
434 return gindex; in FTC_CMapCache_Lookup()
Dftcsbits.h42 #define FTC_SNODE_GINDEX( x ) FTC_GNODE( x )->gindex
51 FT_UInt gindex,
/external/freetype/src/sfnt/
Dttcmap.c135 FT_UInt gindex = 0; in tt_cmap0_char_next() local
141 gindex = table[charcode]; in tt_cmap0_char_next()
142 if ( gindex != 0 ) in tt_cmap0_char_next()
150 return gindex; in tt_cmap0_char_next()
468 FT_UInt gindex = 0; in tt_cmap2_char_next() local
508 gindex = ( idx + delta ) & 0xFFFFU; in tt_cmap2_char_next()
509 if ( gindex != 0 ) in tt_cmap2_char_next()
526 return gindex; in tt_cmap2_char_next()
761 FT_UInt gindex = FT_NEXT_USHORT( p ); in tt_cmap4_next() local
764 if ( gindex != 0 ) in tt_cmap4_next()
[all …]
Dttmtx.c351 FT_UInt gindex, in tt_face_get_metrics() argument
384 if ( gindex < (FT_UInt)k ) in tt_face_get_metrics()
386 table_pos += 4 * gindex; in tt_face_get_metrics()
405 table_pos += 4 + 2 * ( gindex - k ); in tt_face_get_metrics()
430 FT_UInt gindex, in tt_face_get_metrics() argument
444 gindex >= (FT_UInt)face->max_profile.numGlyphs ) in tt_face_get_metrics()
450 if ( gindex < (FT_UInt)k ) in tt_face_get_metrics()
452 longs_m = (TT_LongMetrics)header->long_metrics + gindex; in tt_face_get_metrics()
458 *abearing = ((TT_ShortMetrics*)header->short_metrics)[gindex - k]; in tt_face_get_metrics()
Dttmtx.h46 FT_UInt gindex,
Dttsbit0.c664 FT_UInt gindex = FT_NEXT_USHORT( p ); in tt_sbit_decoder_load_compound() local
670 error = tt_sbit_decoder_load_image( decoder, gindex, in tt_sbit_decoder_load_compound()
902 FT_UInt gindex = FT_NEXT_USHORT( p ); in tt_sbit_decoder_load_image() local
905 if ( gindex == glyph_index ) in tt_sbit_decoder_load_image()
944 FT_UInt gindex = FT_NEXT_USHORT( p ); in tt_sbit_decoder_load_image() local
947 if ( gindex == glyph_index ) in tt_sbit_decoder_load_image()
/external/freetype/src/truetype/
Dttpload.c174 FT_UInt gindex, in tt_face_get_location() argument
184 if ( gindex < face->num_locations ) in tt_face_get_location()
188 p = face->glyph_locations + gindex * 4; in tt_face_get_location()
199 p = face->glyph_locations + gindex * 2; in tt_face_get_location()
219 pos1, gindex, face->glyf_len )); in tt_face_get_location()
229 pos2, gindex + 1, face->glyf_len )); in tt_face_get_location()
578 FT_UInt gindex ) in tt_face_get_device_metrics() argument
589 gindex += 2; in tt_face_get_device_metrics()
590 if ( gindex < record_size ) in tt_face_get_device_metrics()
591 result = record + nn * record_size + gindex; in tt_face_get_device_metrics()
Dttpload.h36 FT_UInt gindex,
68 FT_UInt gindex );
/external/freetype/src/base/
Dftpatent.c150 FT_UInt gindex; in _tt_face_check_patents() local
169 for ( gindex = 0; gindex < (FT_UInt)face->num_glyphs; gindex++ ) in _tt_face_check_patents()
175 offset = service->get_location( face, gindex, &size ); in _tt_face_check_patents()
Dftadvanc.c71 FT_UInt gindex, in FT_Get_Advance() argument
81 if ( gindex >= (FT_UInt)face->num_glyphs ) in FT_Get_Advance()
90 error = func( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
98 return FT_Get_Advances( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
/external/harfbuzz_ng/src/hb-old/
Dharfbuzz-buffer-private.h75 #define IN_GLYPH( pos ) (buffer->in_string[(pos)].gindex)
77 #define IN_CURGLYPH() (buffer->in_string[buffer->in_pos].gindex)
83 #define OUT_GLYPH( pos ) (buffer->out_string[(pos)].gindex)
Dharfbuzz-buffer.c185 glyph->gindex = glyph_index; in HB_Buffer_add_glyph()
302 item->gindex = glyph_data[i]; in _hb_buffer_add_output_glyphs()
365 buffer->out_string[buffer->out_pos-1].gindex = glyph_index; in _hb_buffer_replace_output_glyph()
/external/harfbuzz/src/
Dharfbuzz-buffer-private.h75 #define IN_GLYPH( pos ) (buffer->in_string[(pos)].gindex)
77 #define IN_CURGLYPH() (buffer->in_string[buffer->in_pos].gindex)
83 #define OUT_GLYPH( pos ) (buffer->out_string[(pos)].gindex)
Dharfbuzz-buffer.c185 glyph->gindex = glyph_index; in hb_buffer_add_glyph()
302 item->gindex = glyph_data[i]; in _hb_buffer_add_output_glyphs()
365 buffer->out_string[buffer->out_pos-1].gindex = glyph_index; in _hb_buffer_replace_output_glyph()
/external/freetype/include/freetype/
Dftcache.h800 FT_UInt gindex,
857 FT_UInt gindex,
1011 FT_UInt gindex,
1067 FT_UInt gindex,
Dftadvanc.h118 FT_UInt gindex,
Dftpfr.h161 FT_UInt gindex,
/external/freetype/include/freetype/internal/services/
Dsvttglyf.h32 FT_UInt gindex,
Dsvpfr.h47 FT_UInt gindex,

12