RE: WOFF-ACTION-198: Add conformance clause for must not reject glyf size and original size

Folks,

I updated the spec [1] adding two additional UA conformance requirements (see end of subclause 3.2 to *not* reject a font due to mismatch between declared and decoded totalSfntSize and origLength of the 'glyf' table. I also added two new test case descriptions [2,3] to accommodate them. I'd like to ask you to review the requirements and the test cases (this one [3] in particular) - I believe it should work just fine and the fact that an optimizing transform will always convert '0-contour' glyphs to empty glyphs gives us an nice "organic" way to test the mismatch between the origLength and decoded length without having to doctor the font data manually. The current test description only test for a condition when the 'glyf' origLength is larger than reconstructed 'glyf' table, not sure if we need to test both conditions (when origLength is smaller) since it's likely _will require_ manual adjustment of the test woff2 font file.

Let me know if you have any comments.

Thank you,
Vlad

[1] https://dev.w3.org/webfonts/WOFF2/spec/

[2] https://www.w3.org/Fonts/WG/wiki/TestPlan20-UserAgent#mustNotRejectIncorrectTotalSize

[3] https://www.w3.org/Fonts/WG/wiki/TestPlan20-UserAgent#mustNotRejectGlyfSizeMismatch



-----Original Message-----
From: WebFonts Working Group Issue Tracker [mailto:sysbot+tracker@w3.org] 
Sent: Wednesday, March 02, 2016 10:48 AM
To: public-webfonts-wg@w3.org
Subject: WOFF-ACTION-198: Add conformance clause for must not reject glyf size and original size

WOFF-ACTION-198: Add conformance clause for must not reject glyf size and original size

http://www.w3.org/Fonts/WG/track/actions/198


Assigned to: Vladimir Levantovsky

Received on Friday, 4 March 2016 19:34:21 UTC