Closed HinTak closed 7 years ago
A better listing of the 4 documented errors:
$ grep -A 4 -E '(A|E|P|W|I)11' GenerateFValData/OurData.xml | grep -E '(11|shortDesc)' helpID="E1100" shortDesc="Component's transform is ambigously defined" helpID="E1101" shortDesc="An exception occurred during glyph validation or loading of one of its components" helpID="E1102" shortDesc="Unable to start validation of 'glyf' table" helpID="W1100" shortDesc="Reserved bit is set to 1"
The missing graphics and texts from the 21 glyf errors probably contribute a great deal to why the current chm is less than 1/2 the size of both the 2003 and 2009.
404716 fontvalidatorhelp.chm from 2003 408552 FontValidatorHelp.chm from 2009 192142 current FontValidatorHelp.chm
Okay, recovered those files from the 2009 chm. That covers 18 of the 21 . The 2009 chm has a I1111 entry, which seems to correspond to A1111; A1113 does not seem to be used by the current code.
So the undocumented error codes are down to just A1110 and A1112.
The new merged/rebuilt chm is now 419288 bytes in size, which is quite a lot more reasonable.
Also, there is no difference between the 2003 and 2009 versions of those 18 pages.
Also, diff'ing the common part of 2009 and current (minus the part I know I added), there is no notable difference other than many "'" changed to "'" - except E2315. E2315 in 2009 was incomplete and current is.
So this just suggest that the private 2009 binary bundle I got is very close to what was eventually open-sourced. I am okay with accepting that that was no newer binary build than 2009 (i.e. the small E2315 diff never got made into a newer binary bundle).
The additional glyf test related documentation is at: https://github.com/HinTak/Font-Validator/commit/812a561744778a0a5a83ef79f165ffb654b09093 and the re-built chm file at: https://github.com/HinTak/Font-Validator/commit/689a49ddef7eca72b814af9f7d096c434c41296c
Not sure about the graphics, but those html files in https://github.com/HinTak/Font-Validator/commit/812a561744778a0a5a83ef79f165ffb654b09093 should be eventually auto-generated from GenerateFValData/OurData.xml .
Dont' think there is any more to be done; closing issues for the upcoming v2.1
I am preparing my talk next week on the Font Validator and includes a section about rendering, the glyf table test and rasterization test in particular, and try to make sure that I understand everything.
$ grep -E '(A|E|P|W|I)11' GenerateFValData/OurData.xml helpID="E1100" helpID="E1101" helpID="E1102" helpID="W1100"
$ grep -A 1 GERR_ Glyph/NS_Glyph.GErrStrings.resx | grep value
The glyf table test currently checks for 25 kind of errors, but only 4 of them are in the released documentation.
I consulted the 2003 binary's bundled chm and the private 2009's chm, and the 21 errors are documented there.
There are also a lot of figures for those 21 errors describing them.
I can recover the figures and the texts for the description of those 21 errrors from the chm's, but I'd prefer to have the source of them.