Conflicting statements on WOFF font table order

Hi,

On Section 5 (Font Data Tables) of the WOFF spec, there are two paragraphs that appear contradictory:

"Font tables in WOFF files MUST be stored in the same order as the well-formed input font. The table order is implied by offset values in the table directory; sorting table directory entries into ascending offset value order produces a list of entries in an order equivalent to that of the font tables."

Then later on the NOTE section, one sees:

"In some cases, sites deploying WOFF files as Web fonts may wish to subset the character repertoire, optimize table ordering for efficient text layout or rasterization, or remove (or add) optional font tables depending on the particular features needed for a site. User agents might make similar modifications to the font during decoding, such as omitting tables that are not needed by their particular text display system."


"Optimizing table order for efficiency" violates the previous statement: "sorting table directory entries into ascending offset value order produces a list of entries in an order equivalent to that of the font tables."

So, do we want to relax the following statement: "Font tables in WOFF files MUST be stored in the same order as the well-formed input font" to "Font tables in WOFF files MUST be stored in the same order as the input font"? The only thing that truly needs to be preserved is the tag order in the sfnt table directory. The offset values should be fair game for re-arrangement.

Julio

Received on Friday, 10 December 2010 18:54:40 UTC