WOFF 1.0 clarifications

Reading WOFF File Format 1.0 
(http://www.w3.org/Submission/2010/SUBM-WOFF-20100408/), a couple of 
questions:

1) There are several places where a "length" item is specified (e.g., 
WOFFHeader.length, TableDirectoryEntry.compLength, 
TableDirectoryEntry.origLength) but no where (that I can find) is it 
said what the units are. I will guess, and most implementors would 
probably assume, bytes -- but it would be good if the spec were explicit.

2) WOFFHeader.totalSfntSize is documented as "Total size needed for the 
uncompressed font data, including the sfnt header, directory, and 
tables."  Is this number to include the table-ending padding or is it 
the sum of the table sizes (plus header and directory sizes) ?  Again, I 
would probably get it right by guessing, but it would be good to change 
"...header, directory, and tables." to something like  "...header, 
directory, and tables (as padded)." if that is what is intended.

Regards,

Bob Hallissy
SIL International

Received on Thursday, 29 July 2010 06:35:49 UTC