|
From: | Nikolaus Waxweiler |
Subject: | Re: [ft-devel] WOFF2 support update and questions |
Date: | Sun, 16 Jun 2019 21:20:48 +0100 |
Regarding testing, you can try the following:1. otsanitizer has a test data directory with "good" and "bad" fonts: https://github.com/khaledhosny/ots. Remember to compile your copy of the library with the `-fsanitize=address,undefined -fno-sanitize-recover` compiler switches so that you get pretty explosions if your code does weird things with the input :)
2. Use fonttools' WOFF2 compression to compress random fonts yourself: https://github.com/fonttools/fonttools/blob/master/Snippets/woff2_compress.py
[Prev in Thread] | Current Thread | [Next in Thread] |