HomeSort by relevance Sort by last modified time
    Searched defs:num_glyphs (Results 1 - 25 of 52) sorted by null

1 2 3

  /external/chromium_org/third_party/ots/src/
loca.cc 28 const unsigned num_glyphs = file->maxp->num_glyphs; local
30 loca->offsets.resize(num_glyphs + 1);
31 // maxp->num_glyphs is uint16_t, thus the addition never overflows.
37 for (unsigned i = 0; i <= num_glyphs; ++i) {
49 for (unsigned i = 0; i <= num_glyphs; ++i) {
ltsh.cc 27 uint16_t num_glyphs = 0; local
29 !table.ReadU16(&num_glyphs)) {
39 if (num_glyphs != file->maxp->num_glyphs) {
40 OTS_WARNING("bad num_glyphs: %u", num_glyphs);
45 ltsh->ypels.reserve(num_glyphs);
46 for (unsigned i = 0; i < num_glyphs; ++i) {
post.cc 49 uint16_t num_glyphs = 0; local
50 if (!table.ReadU16(&num_glyphs)) {
58 if (num_glyphs == 0) {
59 if (file->maxp->num_glyphs > 258) {
69 if (num_glyphs != file->maxp->num_glyphs) {
70 // Note: Fixedsys500c.ttf seems to have inconsistent num_glyphs values.
74 post->glyph_name_index.resize(num_glyphs);
75 for (unsigned i = 0; i < num_glyphs; ++i) {
107 for (unsigned i = 0; i < num_glyphs; ++i)
    [all...]
maxp.h 13 uint16_t num_glyphs; member in struct:ots::OpenTypeMAXP
glyf.cc 184 const unsigned num_glyphs = file->maxp->num_glyphs; local
187 if (offsets.size() != num_glyphs + 1) {
191 std::vector<uint32_t> resulting_offsets(num_glyphs + 1);
194 for (unsigned i = 0; i < num_glyphs; ++i) {
271 resulting_offsets[num_glyphs] = current_offset;
gdef.cc 30 size_t length, const uint16_t num_glyphs) {
31 return ots::ParseClassDefTable(data, length, num_glyphs,
36 size_t length, const uint16_t num_glyphs) {
54 if (glyph_count > num_glyphs) {
73 length - offset_coverage, num_glyphs)) {
106 size_t length, const uint16_t num_glyphs) {
123 if (lig_glyph_count > num_glyphs) {
141 length - offset_coverage, num_glyphs)) {
202 size_t length, const uint16_t num_glyphs) {
203 return ots::ParseClassDefTable(data, length, num_glyphs, kMaxClassDefValue)
255 const uint16_t num_glyphs = file->maxp->num_glyphs; local
    [all...]
  /external/harfbuzz_ng/util/
helper-cairo.hh 52 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;
  /external/sfntly/cpp/src/sfntly/table/truetype/
loca_table.h 88 void SetNumGlyphs(int32_t num_glyphs);
144 int32_t num_glyphs() { return num_glyphs_; } function in class:sfntly::LocaTable
171 int32_t num_glyphs);
  /external/chromium_org/third_party/freetype/src/psaux/
t1cmap.h 47 FT_UInt num_glyphs; member in struct:T1_CMapStdRec_
  /external/freetype/src/psaux/
t1cmap.h 47 FT_UInt num_glyphs; member in struct:T1_CMapStdRec_
  /external/chromium_org/third_party/freetype/src/sfnt/
ttcmap.h 102 FT_UInt num_glyphs; member in struct:TT_ValidatorRec_
108 #define TT_VALID_GLYPH_COUNT( x ) TT_VALIDATOR( x )->num_glyphs
ttpost.c 163 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...]
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-icu-le.cc 158 unsigned int num_glyphs = scratch_size / (sizeof (LEGlyphID) + local
162 if (unlikely (glyph_count >= num_glyphs || glyph_count > buffer->allocated)) {
hb-coretext.cc 243 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;
hb-graphite2.cc 214 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)
hb-old.cc 329 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_glyphs)
    [all...]
hb-ot-shape-complex-arabic-fallback.hh 62 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);
  /external/freetype/src/sfnt/
ttcmap.h 135 FT_UInt num_glyphs; member in struct:TT_ValidatorRec_
141 #define TT_VALID_GLYPH_COUNT( x ) TT_VALIDATOR( x )->num_glyphs
ttpost.c 163 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...]
  /external/harfbuzz_ng/src/
hb-icu-le.cc 158 unsigned int num_glyphs = scratch_size / (sizeof (LEGlyphID) + local
162 if (unlikely (glyph_count >= num_glyphs || glyph_count > buffer->allocated)) {
hb-coretext.cc 243 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;
hb-graphite2.cc 214 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)
  /external/sfntly/cpp/src/sample/subtly/
font_info.cc 214 if (glyph_id < 0 || glyph_id > loca_table_->num_glyphs()) {
217 loca_table_->num_glyphs());
243 int32_t num_glyphs = composite_glyph->NumGlyphs(); local
244 for (int32_t i = 0; i < num_glyphs; ++i) {
  /external/chromium_org/third_party/freetype/src/cff/
cffgload.h 153 FT_UInt num_glyphs; /* number of glyphs in font */ member in struct:CFF_Decoder_
  /external/freetype/src/cff/
cffgload.h 188 FT_UInt num_glyphs; /* number of glyphs in font */ member in struct:CFF_Decoder_

Completed in 656 milliseconds

1 2 3