DescriptionUpload test scripts which I'm currently using.
- test_unmalicious_fonts.sh
Apply ots/test/idempotent to all TT/OT files under $BASEDIR in order to verify that:
* OTS does not reject unmalicious fonts.
* The new font OTS generates can be loaded by a system font renderer.
- test_malicious_fonts.sh
Apply ots/test/validator-checker to all malicious TT/OT files in order to verify that OTS can reject malicious fonts, or the "sanitized" font generated by OTS does not crash a system font renderer.
- test/validator-checker.cc
Add Mac support.
- test/idempotent.cc
Add Mac and FreeType2 support.
Example output:
yusukes@z-yusukes-jp:~/chromium/src/third_party/ots/test$ ./test_unmalicious_fonts.sh
................
FAIL: /usr/share/fonts/truetype/ttf-oriya-fonts/Samyak-Oriya.ttf (Run ./idempotent /usr/share/fonts/truetype/ttf-oriya-fonts/Samyak-Oriya.ttf for more information.)
........
yusukes@z-yusukes-jp:~/chromium/src/third_party/ots/test$
BUG=27139
TEST=see http://code.google.com/p/ots/wiki/DesignDoc
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #
Messages
Total messages: 5 (0 generated)
|