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

Re: Some fields in OT header are not mentioned in WOFF spec

From: Chris Lilley <chris@w3.org>
Date: Wed, 16 Mar 2011 21:47:36 +0100
Message-ID: <1153159713.20110316214736@w3.org>
To: www-font@w3.org
CC: Sergey Malkin <sergeym@microsoft.com>
Hello Sergey,


> 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

This was discussed on the WOFF call - as you know as you were there :)  -  and we agreed to your proposal. However, it would still be great to get a brief email from you agreeing that adopting your suggestion resolves your comment would be good, so we can link to the email to prove you are happy.

-- 
 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups
Received on Wednesday, 16 March 2011 20:47:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 11 June 2011 00:14:10 GMT