Some fields in OT header are not mentioned in WOFF spec

I noticed that there are three fields in OpenType font header that are not mentioned in WOFF spec: searchRange, entrySelector, and rangeShift.

They are calculated from number of tables in the font, so WOFF unpacking code can restore them unambiguously. However, I think WOFF spec should mentioned them in two places. First, it has to reference OpenType spec for calculation algorithm. And second, conformance requirements have to mention that these fields should be correct in original font to ensure complete roundtrip.

Thanks,
Sergey

Received on Friday, 7 January 2011 17:56:42 UTC