- From: Jonathan Kew <jfkthame@gmail.com>
- Date: Wed, 04 Mar 2015 14:22:30 +0000
- To: Roderick Sheeter <rsheeter@google.com>, WebFonts WG <public-webfonts-wg@w3.org>
On 25/2/15 01:20, Roderick Sheeter wrote: > FYI, https://github.com/google/woff2 now has support for TTC. Point > woff2_compress and woff2_decompress* at a TTC and in theory it will Just > Work. > > In practice, I strongly suspect there are edge cases where it does not > Just Work. If you have a bunch of TTCs and were up for testing if they > can be compressed/decompressed that would be awesome. I tried running woff2_compress followed by woff2_decompress on each of the .ttc files found in /Library/Fonts on my OS X 10.9.5 system. Most of them ran happily (though I haven't yet validated that all the resulting .ttcs work as expected); however, there were four files that failed to round-trip: Processing Hannotate.woff2 => Hannotate.ttf Decompression failed Processing Hanzipen.woff2 => Hanzipen.ttf Decompression failed Processing Kaiti.woff2 => Kaiti.ttf Decompression failed Processing Songti.woff2 => Songti.ttf Decompression failed I haven't had time to delve into the code and try to figure out what's failing, but you might like to try these files as testcases. JK > > In fact, I'd be prepared to ship you a Google Fonts T-Shirt** if you > send me either a TTC that doesn't work or a sufficiently detailed > explanation (pull request is ideal :D) of a problem for me to fix it. > > Caveats and Disclaimers! > * woff2_decompress currently always puts the extension .ttf, regardless > of what it actually decompressed. > ** Offer valid only valid if Google Shipping can reach you. One per > person. I probably can't give away more than 5-10 total. Other > disclaimers as I come up with them! >
Received on Wednesday, 4 March 2015 14:23:09 UTC