Searched refs:num_glyphs (Results 1 - 25 of 54) sorted by relevance

123

/external/freetype/src/sfnt/
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 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 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...]
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...]
/external/harfbuzz/src/
H A Dharfbuzz-tibetan.c109 const int availableGlyphs = item->num_glyphs;
114 if (item->num_glyphs < item->item.length + 4) {
115 item->num_glyphs = item->item.length + 4;
129 item->glyphs, &item->num_glyphs,
236 syllable.num_glyphs = item->num_glyphs - first_glyph;
238 item->num_glyphs += syllable.num_glyphs;
245 first_glyph += syllable.num_glyphs;
247 item->num_glyphs
[all...]
H A Dharfbuzz-hangul.c144 const int availableGlyphs = item->num_glyphs;
176 item->glyphs, &item->num_glyphs,
250 syllable.num_glyphs = item->num_glyphs - first_glyph;
252 item->num_glyphs += syllable.num_glyphs;
259 first_glyph += syllable.num_glyphs;
261 item->num_glyphs = first_glyph;
H A Dharfbuzz-khmer.c370 const int availableGlyphs = item->num_glyphs;
542 item->glyphs, &item->num_glyphs,
622 syllable.num_glyphs = item->num_glyphs - first_glyph;
624 KHDEBUG("syllable shaping failed, syllable requests %d glyphs", syllable.num_glyphs);
625 item->num_glyphs += syllable.num_glyphs;
630 for (i = first_glyph; i < first_glyph + (int)syllable.num_glyphs; ++i)
638 first_glyph += syllable.num_glyphs;
640 item->num_glyphs
[all...]
H A Dharfbuzz-myanmar.c262 const int availableGlyphs = item->num_glyphs;
410 item->glyphs, &item->num_glyphs,
489 syllable.num_glyphs = item->num_glyphs - first_glyph;
491 MMDEBUG("syllable shaping failed, syllable requests %d glyphs", syllable.num_glyphs);
492 item->num_glyphs += syllable.num_glyphs;
498 for (i = first_glyph; i < first_glyph + (int)syllable.num_glyphs; ++i)
506 first_glyph += syllable.num_glyphs;
508 item->num_glyphs
[all...]
H A Dharfbuzz-gdef.h129 HB_UShort num_glyphs,
H A Dharfbuzz-hebrew.c62 const int availableGlyphs = shaper_item->num_glyphs;
174 shaper_item->glyphs, &shaper_item->num_glyphs,
/external/freetype/src/psaux/
H A Dt1cmap.h47 FT_UInt num_glyphs; member in struct:T1_CMapStdRec_
H A Dt1cmap.c42 cmap->num_glyphs = face->type1.num_glyphs;
55 cmap->num_glyphs = 0;
80 for ( n = 0; n < cmap->num_glyphs; n++ )
284 face->type1.num_glyphs,
/external/freetype/src/cff/
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_
H A Dcffgload.h153 FT_UInt num_glyphs; /* number of glyphs in font */ member in struct:CFF_Decoder_
/external/webkit/Source/WebCore/platform/graphics/pango/
H A DGlyphPageTreeNodePango.cpp60 if (glyphs->num_glyphs == 1)
63 g_warning("didn't get 1 glyph but %d", glyphs->num_glyphs);
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DComplexTextControllerLinux.cpp249 m_item.num_glyphs = size;
256 int size = m_item.num_glyphs;
269 // HB_ShapeItem() resets m_item.num_glyphs. If the previous call to
271 // the array may be larger than the current value of m_item.num_glyphs.
272 // So, we need to reset the num_glyphs to the capacity of the array.
273 m_item.num_glyphs = m_glyphsArrayCapacity;
277 // HB_ShapeItem fills in m_item.num_glyphs with the needed size.
283 createGlyphArrays(m_item.num_glyphs + 1);
298 for (size_t i = 0; i < m_item.num_glyphs; ++i) {
317 if (i + 1 == m_item.num_glyphs || m_ite
[all...]
H A DComplexTextControllerLinux.h93 const unsigned length() const { return m_item.num_glyphs; }
/external/freetype/src/base/
H A Dftadvanc.c81 if ( gindex >= (FT_UInt)face->num_glyphs )
119 num = (FT_UInt)face->num_glyphs;
/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/freetype/src/truetype/
H A Dttpload.c113 if ( face->num_locations != (FT_ULong)face->root.num_glyphs + 1 )
116 face->num_locations - 1, face->root.num_glyphs ));
119 if ( face->num_locations <= (FT_ULong)face->root.num_glyphs )
122 ( (FT_Long)( face->root.num_glyphs ) + 1 ) << shift;
149 face->num_locations = face->root.num_glyphs + 1;
/external/skia/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/harfbuzz/tests/shaping/
H A Dmain.cpp235 shaper_item.num_glyphs = shaper_item.item.length;
239 QVarLengthArray<HB_Glyph> hb_glyphs(shaper_item.num_glyphs);
240 QVarLengthArray<HB_GlyphAttributes> hb_attributes(shaper_item.num_glyphs);
241 QVarLengthArray<HB_Fixed> hb_advances(shaper_item.num_glyphs);
242 QVarLengthArray<HB_FixedPoint> hb_offsets(shaper_item.num_glyphs);
243 QVarLengthArray<unsigned short> hb_logClusters(shaper_item.num_glyphs);
246 hb_glyphs.resize(shaper_item.num_glyphs);
247 hb_attributes.resize(shaper_item.num_glyphs);
248 hb_advances.resize(shaper_item.num_glyphs);
249 hb_offsets.resize(shaper_item.num_glyphs);
[all...]
/external/freetype/include/freetype/internal/services/
H A Dsvpscmap.h92 FT_UInt num_glyphs,
/external/freetype/include/freetype/internal/
H A Dtttypes.h579 /* num_glyphs :: For index formats 4 and 5. This is the number of */
600 FT_ULong num_glyphs; member in struct:TT_SBit_RangeRec_
759 /* num_glyphs :: The number of named glyphs in the table. */
769 FT_UShort num_glyphs; member in struct:TT_Post_20Rec_
787 /* num_glyphs :: The number of glyphs in the table. */
794 FT_UShort num_glyphs; member in struct:TT_Post_25_

Completed in 308 milliseconds

123