Home | History | Annotate | Download | only in src

Lines Matching defs:glyph_count

273   uint16_t glyph_count = 0;
274 if (!subtable.ReadU16(&glyph_count)) {
277 if (glyph_count > num_glyphs) {
278 OTS_WARNING("bad glyph count: %u", glyph_count);
281 for (unsigned i = 0; i < glyph_count; ++i) {
348 uint16_t glyph_count = 0;
349 if (!subtable.ReadU16(&glyph_count)) {
352 if (glyph_count > num_glyphs) {
353 OTS_WARNING("bad glyph count: %u", glyph_count);
356 for (unsigned i = 0; i < glyph_count; ++i) {
367 if (expected_num_glyphs && expected_num_glyphs != glyph_count) {
368 OTS_WARNING("unexpected number of glyphs: %u", glyph_count);
454 uint16_t glyph_count = 0;
456 if (!subtable.ReadU16(&glyph_count) ||
461 if (glyph_count == 0 || glyph_count >= num_glyphs) {
464 for (unsigned i = 0; i < glyph_count - static_cast<unsigned>(1); ++i) {
562 uint16_t glyph_count = 0;
564 if (!subtable.ReadU16(&glyph_count) ||
569 if (glyph_count == 0 || glyph_count >= num_glyphs) {
575 const unsigned num_classes = glyph_count - static_cast<unsigned>(1);
682 uint16_t glyph_count = 0;
686 !subtable.ReadU16(&glyph_count) ||
691 if (glyph_count >= num_glyphs) {
694 const unsigned lookup_record_end = 2 * static_cast<unsigned>(glyph_count) +
699 for (unsigned i = 0; i < glyph_count; ++i) {