WOFF 2.0 CR Test Suite

Compressed data format (17 tests)

Test Refs Flags Info
+ 5 Compressed data format
tabledata-brotli-001 = Font Table Data Invalid Compressed Data
  • Font table data is compressed with zlib instead of Brotli.
tabledata-decompressed-length-001 = 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 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 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 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.
tabledata-extraneous-data-001 = Extraneous Data Between Table Data
  • There is extraneous data before the last table.
+ 5.1 Transformed glyf table format
tabledata-glyf-bbox-001 = Glyph Without Explicit Bounding Box
  • Valid TTF flavored WOFF with a glyph with no explicit bounding box
tabledata-glyf-origlength-001 = Glyf OrigLength Too Small
  • The origLength field of glyf table contains a too small incorrect value.
tabledata-glyf-origlength-002 = Glyf OrigLength Too Big
  • The origLength field of glyf table contains a too big incorrect value.
tabledata-glyf-origlength-003 = Glyf OrigLength Mismatching
  • The origLength field of glyf table is larger than constructed table.
+ 5.2 Decoding of variable-length X and Y coordinates
+ 5.3 Transformed loca table format
tabledata-recontruct-loca-001 = 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 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 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 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 = Transformed Hmtx Table With Correct Flags
  • Valid TTF flavored WOFF with transformed hmtx table and correct flags field.
tabledata-transform-hmtx-003 = Transformed Hmtx Table With All Flags Set
  • Invalid TTF flavored WOFF with transformed hmtx table that has all flags bits (including reserved bits) set.
tabledata-transform-hmtx-004 = Transformed Hmtx Table With 0 Flags
  • Invalid TTF flavored WOFF with transformed hmtx table that has 0 flags (null transform).
+ 5.5 Table order constraints