Implement Woff and Woff2
prepare opened this issue · 2 comments
1. Woff
ref https://www.w3.org/TR/WOFF/
some impl => https://github.com/manne/Woff.net
2. Woff2
ref https://www.w3.org/TR/WOFF2/
some impl=> https://github.com/google/woff2
There is a C# port of brotli, see google/brotli#494
and google/brotli#519
@prepare's note:
woff => needs Zlib decoder
and
woff2 => needs Brotli decoder.
The Typography dose not provide built-in Zlib/Brotli decoder
you need to add it by your own (select any lib you want) .
In the sample projects
I provide some libs (in Unpack project) to demonstrate this.
pic 1: add 'external' Zlib decoder
pic 2: add 'external' Brotli decoder
Zlib from ...
MIT, 2018, SharpZipLib, https://github.com/icsharpcode/SharpZipLib
Brotli from ...
MIT, 2009, 2010, 2013-2016 by the Brotli Authors., https://github.com/google/brotli
MIT, 2017, brezza92 (C# port from original code, by hand), https://github.com/brezza92/brotli
MIT, 2019, master131, https://github.com/master131/BrotliSharpLib