Lines Matching refs:sfnt
162 /* no table is defined in directory, it is not sfnt-wrapped */
169 check_table_dir( SFNT_Header sfnt,
175 FT_ULong offset = sfnt->offset + 12;
194 for ( nn = 0; nn < sfnt->num_tables; nn++ )
204 nn, nn == 1 ? "" : "s", sfnt->num_tables ));
205 sfnt->num_tables = nn;
262 sfnt->num_tables = valid_entries;
264 if ( sfnt->num_tables == 0 )
307 /* sfnt :: The SFNT header. */
319 SFNT_HeaderRec sfnt;
343 sfnt.offset = FT_STREAM_POS();
345 if ( FT_READ_ULONG( sfnt.format_tag ) ||
346 FT_STREAM_READ_FIELDS( offset_table_fields, &sfnt ) )
351 if ( sfnt.search_range != 1 << ( sfnt.entry_selector + 4 ) ||
352 sfnt.search_range + sfnt.range_shift != sfnt.num_tables << 4 )
358 FT_TRACE2(( "-- Number of tables: %10u\n", sfnt.num_tables ));
359 FT_TRACE2(( "-- Format version: 0x%08lx\n", sfnt.format_tag ));
361 if ( sfnt.format_tag != TTAG_OTTO )
364 error = check_table_dir( &sfnt, stream );
374 face->num_tables = sfnt.num_tables;
375 face->format_tag = sfnt.format_tag;
380 if ( FT_STREAM_SEEK( sfnt.offset + 12 ) ||
390 for ( nn = 0; nn < sfnt.num_tables; nn++ )