Some fields in OT header are not mentioned in WOFF spec

Sergey Malkin <[email protected]>
Newsgroups gmane.comp.web.fonts
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.

Thanks,
Sergey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.