-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Add brotli decoder and WOFF2 support. #59275
Conversation
For reference, WOFF1 support was exposed in #52052. This is definitely a good thing to have, especially since many web fonts are now distributed in a WOFF2 format only (and using it in another format requires manual conversion). Having a Brotli decoder will also make it possible to implement support for transparent Brotli compression in HTTPRequest (similar to gzip). |
Thanks! |
Would it make sense to backport WOFF2 support to |
Adds brotli decoder and enables WOFF2 font support.
Note: Adding decoder increase binary size by about 100 KB, but converting all editor and default theme fonts to WOFF2 can decrease it by 4.4 MB. Tested by using https://github.com/google/woff2 on all included fonts, not included into this PR, since quality of conversion need to be tested first.