Re: First pass at TTC support, now with rewards!

Awesome, ty. I didn't realize OSX shipped TTCs!

I believe I owe you a t-shirt. To claim it, please send your size (they run
slightly small) and the shipping address to rsheeter AT google.com :D

On Wed, Mar 4, 2015 at 6:22 AM, Jonathan Kew <jfkthame@gmail.com> wrote:

> 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 21:55:29 UTC