freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] WOFF2 support update and questions


From: Nikhil Ramakrishnan
Subject: Re: [ft-devel] WOFF2 support update and questions
Date: Tue, 18 Jun 2019 12:00:12 +0530

> 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

I'll try out the test fonts, and check with some more fonts too. Thanks!


-- 
Nikhil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]