Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Woff and Woff2 #27

Closed
2 tasks done
prepare opened this issue Mar 14, 2017 · 2 comments
Closed
2 tasks done

Implement Woff and Woff2 #27

prepare opened this issue Mar 14, 2017 · 2 comments

Comments

@prepare
Copy link
Member

prepare commented Mar 14, 2017

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

https://fontvau.lt/


@prepare's note:

@prepare
Copy link
Member Author

prepare commented Jan 16, 2019

typo_woff2
Sarabun-Regular.woff2, Typography reads and restores woff2


typo_woff2_1
Roboto-Regular.woff2

@prepare
Copy link
Member Author

prepare commented Jan 16, 2019

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.

typo_woff2_2
pic 1: add 'external' Zlib decoder

typo_woff2_3
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant