W3C home > Mailing lists > Public > www-font@w3.org > January to March 2011

Some fields in OT header are not mentioned in WOFF spec

From: Sergey Malkin <sergeym@microsoft.com>
Date: Fri, 7 Jan 2011 17:54:05 +0000
To: "www-font (www-font@w3.org)" <www-font@w3.org>
Message-ID: <6312A922AE7F2047A64036E70F1112B618F7D8@TK5EX14MBXW651.wingroup.windeploy.ntdev.microsoft.com>
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.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:01:42 UTC