WOFF 2.0 CR Test Suite

Compressed data format (18 tests)

Test Refs Flags Info
+ 5 Compressed data format
tabledata-brotli-001 Font Font Table Data Invalid Compressed Data
  • Font table data is compressed with zlib instead of Brotli.
tabledata-decompressed-length-001 Font Font Table Data Decompressed Length Less Than Original Length
  • The original length of the first table in the directory is increased by 1, making the decompressed length of the table data less than the sum of original table lengths.
tabledata-decompressed-length-002 Font Font Table Data Decompressed Length Greater Than Original Length
  • The original length of the first table in the directory is decreased by 1, making the decompressed length of the table data greater than the sum of original table lengths.
tabledata-decompressed-length-003 Font Font Table Data Decompressed Length Less Than Transformed Length
  • The transformed length of the glyf table in the directory is increased by 1, making the decompressed length of the table data less than the sum of transformed table lengths.
tabledata-decompressed-length-004 Font Font Table Data Decompressed Length Greater Than Transformed Length
  • The transformed length of the glyf table in the directory is decreased by 1, making the decompressed length of the table data greater than the sum of transformed table lengths.
valid-009 Font Valid WOFF 9
  • Valid TTF flavored WOFF with simple and composite glyphs
tabledata-extraneous-data-001 Font Extraneous Data Betwen Table Data
  • There is extraneous data before the last table.
+ 5.1 Transformed glyf table format
tabledata-glyf-bbox-001 Font Glyph Without Explicit Bounding Box
  • Valid TTF flavored WOFF with a glyph with no explicit bounding box
tabledata-glyf-origlength-001 Font Glyf OrigLength Too Small
  • The origLength field of glyf table contains a too small incorrect value.
tabledata-glyf-origlength-002 Font Glyf OrigLength Too Big
  • The origLength field of glyf table contains a too big incorrect value.
tabledata-glyf-bbox-003 Font Empty Glyph With Bounding Box
  • Invalid TTF flavored WOFF due to empty glyph with bounding box
+ 5.2 Decoding of variable-length X and Y coordinates
+ 5.3 Transformed loca table format
tabledata-recontruct-loca-001 Font Font With Short Loca and Composite Glyphs
  • Valid TTF flavored WOFF with simple composite glyphs where the loca table uses the short format, to check loca reconstruction
tabledata-bad-origlength-loca-001 Font Font Table Data Small Loca Original Length
  • The origLength of the loca table is 4 bytes less than the calculated size
tabledata-bad-origlength-loca-002 Font Font Table Data Large Loca Original Length
  • The origLength of the loca table is 4 bytes more than the calculated size
tabledata-non-zero-loca-001 Font Font Table Data Loca Is Not Zero
  • The transformed loca table contains 4 zero bytes and its transformLength is 4.
+ 5.4 Transformed hmtx table format
tabledata-transform-hmtx-002 Font Transformed Hmtx Table With Correct Flags
  • Valid TTF flavored WOFF with transformed hmtx table and correct flags field.
tabledata-transform-hmtx-003 Font Transformed Hmtx Table With Bad Flags 1
  • Invalid TTF flavored WOFF with transformed hmtx table with non-zero reserved bits of the flags field.
tabledata-transform-hmtx-004 Font Transformed Hmtx Table With Bad Flags 2
  • Invalid TTF flavored WOFF with transformed hmtx table with all flags bits set to 0
+ 5.5 Table order constraints