microsoft / Font-Validator

Font Validator is a tool for testing fonts prior to release. This testing ensures that fonts meet Microsoft's high quality standards and perform exceptionally well on Microsoft's platform.
Other
117 stars 41 forks source link

A6000 'TrueType stack overflow' with FontVal 1.0 #33

Closed HinTak closed 8 years ago

HinTak commented 8 years ago

One of texlive's file tiggers this: /usr/share/texlive/texmf-dist/fonts/truetype/public/fontmfizz/font-mfizz.ttf

need looking at, and or documenting as bug of the old FontVal.

HinTak commented 8 years ago

Alternatively, if this is genuine, FontVal 2.0+ needs to detect this.

Either way, something needs to be done.

HinTak commented 8 years ago

b66 ( https://github.com/HinTak/Font-Validator/commit/2b413602ea05448421d6390656f91ce95a8a4d01 ) works around the +32 maxStackElements extra that FreeType does, and so now can detect that the maxStackElements is too small and properly detect stack overflows.

It seems that the older FontVal 1.0 is just being redundant and repeatative - A6000 with details 'Stack Overflows" accompanies an earlier "TrueType stack overflow", and with details "Function out of range" accompanies an earlier E6016 "FDEF out of range". So the A6000 is not adding any new information.