Open HinTak opened 8 years ago
Many of these are old CJK fonts. (and they have non-ascii in those).
One of them is a currently-in-use font:
$ rpm -qf /usr/share/fonts/gfs-bodoni-classic/GFSBodoniClassic.otf
gfs-bodoni-classic-fonts-20070415-21.fc24.noarch
Another:
$ rpm -qf /usr/share/fonts/apx/04b03.ttf
apx-fonts-0.1-12.fc24.noarch
Interestingly in OTFontFileVal/ValDriver.cs line 194, it already does "BAD FONT VERSION" - it just doesn't cover these cases. Also, a new error code is warranted.
place-holder W0023/W0024
Sanitization is in dev code.
A few font files I have contains strange things in FontName and FontVersion. This causes problems downstream with XML processing. There should be new error codes for these, and they should be sanitized at the report.