Searched defs:num_glyphs (Results 1 - 25 of 31) sorted by relevance

12

/external/harfbuzz_ng/util/
H A Dhelper-cairo.hh52 unsigned int num_glyphs; member in struct:helper_cairo_line_t
69 *x_advance = glyphs[num_glyphs].x;
70 *y_advance = glyphs[num_glyphs].y;
H A Doptions.cc608 unsigned int num_glyphs = hb_buffer_get_length (buffer); local
612 for (unsigned int i = 0; i < num_glyphs; i++)
630 unsigned int num_glyphs = hb_buffer_get_length (buffer); local
633 while (start < num_glyphs) {
636 start += hb_buffer_serialize_glyphs (buffer, start, num_glyphs,
H A Doptions.hh192 unsigned int num_glyphs = hb_buffer_get_length (buffer); local
194 for (unsigned int i = 0; i < num_glyphs; i++)
/external/freetype/src/psaux/
H A Dt1cmap.h47 FT_UInt num_glyphs; member in struct:T1_CMapStdRec_
/external/freetype/src/sfnt/
H A Dttcmap.h102 FT_UInt num_glyphs; member in struct:TT_ValidatorRec_
108 #define TT_VALID_GLYPH_COUNT( x ) TT_VALIDATOR( x )->num_glyphs
H A Dttpost.c163 FT_Int num_glyphs; local
170 if ( FT_READ_USHORT( num_glyphs ) )
179 if ( num_glyphs > face->max_profile.numGlyphs )
190 if ( FT_NEW_ARRAY ( glyph_indices, num_glyphs ) ||
191 FT_FRAME_ENTER( num_glyphs * 2L ) )
194 for ( n = 0; n < num_glyphs; n++ )
207 for ( n = 0; n < num_glyphs; n++ )
282 table->num_glyphs = (FT_UShort)num_glyphs;
315 FT_Int num_glyphs; local
[all...]
H A Dttsbit.c285 range->num_glyphs = count;
348 FT_ULong num_glyphs, n; local
360 num_glyphs = range->last_glyph - range->first_glyph + 1L;
361 range->num_glyphs = num_glyphs;
362 num_glyphs++; /* XXX: BEWARE - see spec */
366 if ( FT_NEW_ARRAY( range->glyph_offsets, num_glyphs ) ||
367 FT_FRAME_ENTER( num_glyphs * size_elem ) )
370 for ( n = 0; n < num_glyphs; n++ )
755 for ( n = 0; n < range->num_glyphs;
[all...]
H A Dttsbit0.c885 FT_ULong mm, num_glyphs; local
891 num_glyphs = FT_NEXT_ULONG( p );
894 if ( p + ( num_glyphs + 1 ) * 4 < p )
897 if ( p + ( num_glyphs + 1 ) * 4 > p_limit )
900 for ( mm = 0; mm < num_glyphs; mm++ )
915 if ( mm >= num_glyphs )
922 FT_ULong image_size, mm, num_glyphs; local
933 num_glyphs = FT_NEXT_ULONG( p );
936 if ( p + 2 * num_glyphs < p )
939 if ( p + 2 * num_glyphs > p_limi
[all...]
/external/harfbuzz_ng/src/
H A Dhb-icu-le.cc158 unsigned int num_glyphs = scratch_size / (sizeof (LEGlyphID) + local
162 if (unlikely (glyph_count >= num_glyphs || glyph_count > buffer->allocated)) {
H A Dhb-coretext.cc243 unsigned int num_glyphs = CTRunGetGlyphCount (run); local
244 if (num_glyphs == 0)
247 buffer->ensure (buffer->len + num_glyphs);
263 ALLOCATE_ARRAY (CGGlyph, glyph_buf, num_glyphs);
270 ALLOCATE_ARRAY (CGPoint, position_buf, num_glyphs);
277 ALLOCATE_ARRAY (CFIndex, index_buf, num_glyphs);
286 for (unsigned int j = 0; j < num_glyphs; j++) {
287 double advance = (j + 1 < num_glyphs ? positions[j + 1].x : positions[0].x + run_width) - positions[j].x;
H A Dhb-old.cc329 unsigned int num_glyphs = scratch_size / (sizeof (HB_Glyph) + local
335 item.num_glyphs = num_glyphs;
336 ALLOCATE_ARRAY (HB_Glyph, item.glyphs, num_glyphs);
337 ALLOCATE_ARRAY (HB_GlyphAttributes, item.attributes, num_glyphs);
338 ALLOCATE_ARRAY (HB_Fixed, item.advances, num_glyphs);
339 ALLOCATE_ARRAY (HB_FixedPoint, item.offsets, num_glyphs);
342 memset (item.offsets, 0, num_glyphs * sizeof (item.offsets[0]));
344 ALLOCATE_ARRAY (uint32_t, vis_clusters, num_glyphs);
350 if (unlikely (item.num_glyphs > num_glyph
[all...]
H A Dhb-ot-shape-complex-arabic-fallback.hh62 unsigned int num_glyphs = 0; local
77 glyphs[num_glyphs].set (u_glyph);
78 substitutes[num_glyphs].set (s_glyph);
80 num_glyphs++;
85 hb_bubble_sort (&glyphs[0], num_glyphs, OT::GlyphID::cmp, &substitutes[0]);
87 OT::Supplier<OT::GlyphID> glyphs_supplier (glyphs, num_glyphs);
88 OT::Supplier<OT::GlyphID> substitutes_supplier (substitutes, num_glyphs);
98 num_glyphs);
H A Dhb-graphite2.cc214 unsigned int num_glyphs; member in struct:hb_graphite2_cluster_t
308 clusters[ci-1].num_glyphs += clusters[ci].num_glyphs;
318 c->num_glyphs = 0;
321 clusters[ci].num_glyphs++;
331 for (unsigned int j = 0; j < clusters[i].num_glyphs; ++j)
H A Dhb-font-private.hh103 mutable unsigned int num_glyphs; member in struct:hb_face_t
136 if (unlikely (num_glyphs == (unsigned int) -1))
138 return num_glyphs;
/external/skia/legacy/src/core/
H A DSkAdvancedTypefaceMetrics.cpp125 int num_glyphs,
156 int lastIndex = num_glyphs;
257 int num_glyphs,
264 int num_glyphs,
271 int num_glyphs,
123 getAdvanceData( FontHandle fontHandle, int num_glyphs, const uint32_t* subsetGlyphIDs, uint32_t subsetGlyphIDsLength, bool (*getAdvance)(FontHandle fontHandle, int gId, Data* data)) argument
/external/skia/src/core/
H A DSkAdvancedTypefaceMetrics.cpp131 int num_glyphs,
162 int lastIndex = num_glyphs;
263 int num_glyphs,
269 int num_glyphs,
276 int num_glyphs,
283 int num_glyphs,
314 int num_glyphs,
129 getAdvanceData( FontHandle fontHandle, int num_glyphs, const uint32_t* subsetGlyphIDs, uint32_t subsetGlyphIDsLength, bool (*getAdvance)(FontHandle fontHandle, int gId, Data* data)) argument
/external/freetype/src/cff/
H A Dcffgload.h153 FT_UInt num_glyphs; /* number of glyphs in font */ member in struct:CFF_Decoder_
H A Dcffload.c665 FT_UInt num_glyphs,
684 fdselect->data_size = num_glyphs;
780 FT_UInt num_glyphs,
792 for ( i = 0; i < num_glyphs; i++ )
804 for ( j = num_glyphs - 1; j >= 0 ; j-- )
808 charset->num_glyphs = num_glyphs;
855 FT_UInt num_glyphs,
881 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
890 if ( num_glyphs >
664 CFF_Load_FD_Select( CFF_FDSelect fdselect, FT_UInt num_glyphs, FT_Stream stream, FT_ULong offset ) argument
779 cff_charset_compute_cids( CFF_Charset charset, FT_UInt num_glyphs, FT_Memory memory ) argument
854 cff_charset_load( CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset, FT_Bool invert ) argument
1053 cff_encoding_load( CFF_Encoding encoding, CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset ) argument
[all...]
H A Dcfftypes.h100 FT_UInt num_glyphs; member in struct:CFF_CharsetRec_
224 FT_UInt num_glyphs; member in struct:CFF_FontRec_
/external/freetype/src/psnames/
H A Dpsmodule.c301 FT_UInt num_glyphs,
316 if ( !FT_NEW_ARRAY( table->maps, num_glyphs + EXTRA_GLYPH_LIST_SIZE ) )
326 for ( n = 0; n < num_glyphs; n++ )
377 if ( count < num_glyphs / 2 )
379 (void)FT_RENEW_ARRAY( table->maps, num_glyphs, count );
299 ps_unicodes_init( FT_Memory memory, PS_Unicodes table, FT_UInt num_glyphs, PS_GetGlyphNameFunc get_glyph_name, PS_FreeGlyphNameFunc free_glyph_name, FT_Pointer glyph_data ) argument
/external/harfbuzz/src/
H A Dharfbuzz-gdef.c788 HB_UShort num_glyphs,
922 if ( gcrr[count - 1].End != num_glyphs - 1 )
925 ( num_glyphs - gcrr[count - 1].End + 2 ) / 4,
930 else if ( num_glyphs > 0 )
933 ( num_glyphs + 3 ) / 4,
938 gdef->LastGlyph = num_glyphs - 1;
787 HB_GDEF_Build_ClassDefinition( HB_GDEFHeader* gdef, HB_UShort num_glyphs, HB_UShort glyph_count, HB_UShort* glyph_array, HB_UShort* class_array ) argument
H A Dharfbuzz-shaper.h277 hb_uint32 num_glyphs; /* input: capacity of output arrays <glyphs>, <attributes>, <advances>, <offsets>, and <log_clusters>; */ member in struct:HB_ShaperItem_
280 HB_Glyph *glyphs; /* output: <num_glyphs> indices of shaped glyphs */
281 HB_GlyphAttributes *attributes; /* output: <num_glyphs> glyph attributes */
282 HB_Fixed *advances; /* output: <num_glyphs> advances */
283 HB_FixedPoint *offsets; /* output: <num_glyphs> offsets */
/external/harfbuzz_ng/src/hb-old/
H A Dharfbuzz-gdef.c788 HB_UShort num_glyphs,
922 if ( gcrr[count - 1].End != num_glyphs - 1 )
925 ( num_glyphs - gcrr[count - 1].End + 2 ) / 4,
930 else if ( num_glyphs > 0 )
933 ( num_glyphs + 3 ) / 4,
938 gdef->LastGlyph = num_glyphs - 1;
787 HB_GDEF_Build_ClassDefinition( HB_GDEFHeader* gdef, HB_UShort num_glyphs, HB_UShort glyph_count, HB_UShort* glyph_array, HB_UShort* class_array ) argument
H A Dharfbuzz-shaper.h246 hb_uint32 num_glyphs; /* input: capacity of output arrays <glyphs>, <attributes>, <advances>, <offsets>, and <log_clusters>; */ member in struct:HB_ShaperItem_
249 HB_Glyph *glyphs; /* output: <num_glyphs> indices of shaped glyphs */
250 HB_GlyphAttributes *attributes; /* output: <num_glyphs> glyph attributes */
251 HB_Fixed *advances; /* output: <num_glyphs> advances */
252 HB_FixedPoint *offsets; /* output: <num_glyphs> offsets */
/external/freetype/include/freetype/internal/
H A Dt1types.h111 FT_Int num_glyphs; member in struct:T1_FontRec_

Completed in 1259 milliseconds

12