Searched refs:num_glyphs (Results 1 - 25 of 52) 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/skia/src/core/
H A DSkAdvancedTypefaceMetrics.cpp68 int num_glyphs,
86 for (int gId = 0; gId <= num_glyphs; gId++) {
88 if (gId < num_glyphs) {
126 if (curRange->fStartId == num_glyphs) {
128 SkASSERT(prevRange->fNext->fStartId == num_glyphs);
131 finishRange(curRange, num_glyphs - 1,
142 int num_glyphs,
147 int num_glyphs,
152 int num_glyphs,
66 getAdvanceData( FontHandle fontHandle, int num_glyphs, bool (*getAdvance)(FontHandle fontHandle, int gId, Data* data)) argument
/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;
128 item->glyphs, &item->num_glyphs,
235 syllable.num_glyphs = item->num_glyphs - first_glyph;
237 item->num_glyphs += syllable.num_glyphs;
244 first_glyph += syllable.num_glyphs;
246 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.c666 FT_UInt num_glyphs,
685 fdselect->data_size = num_glyphs;
781 FT_UInt num_glyphs,
793 for ( i = 0; i < num_glyphs; i++ )
805 for ( j = num_glyphs - 1; j >= 0 ; j-- )
809 charset->num_glyphs = num_glyphs;
856 FT_UInt num_glyphs,
882 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
891 if ( num_glyphs >
665 CFF_Load_FD_Select( CFF_FDSelect fdselect, FT_UInt num_glyphs, FT_Stream stream, FT_ULong offset ) argument
780 cff_charset_compute_cids( CFF_Charset charset, FT_UInt num_glyphs, FT_Memory memory ) argument
855 cff_charset_load( CFF_Charset charset, FT_UInt num_glyphs, FT_Stream stream, FT_ULong base_offset, FT_ULong offset, FT_Bool invert ) argument
1054 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_
223 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/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/skia/src/ports/
H A DSkFontHost_FreeType.cpp298 if (!face || start >= face->num_glyphs ||
299 start + count > face->num_glyphs || loadFlags != FT_LOAD_NO_SCALE) {
382 glyphToUnicode->setCount(face->num_glyphs);
384 sizeof(SkUnichar) * face->num_glyphs);
423 info->fLastGlyphID = face->num_glyphs - 1;
531 for (int gID = 0; gID < face->num_glyphs; gID += 128) {
534 if (gID + advanceCount > face->num_glyphs)
535 advanceCount = face->num_glyphs - gID + 1;
543 finishRange(info->fGlyphWidths.get(), face->num_glyphs - 1,
547 getAdvanceData(face, face->num_glyphs,
[all...]

Completed in 542 milliseconds

123