You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error when I attempt woff2_decompress on a woff2 font that I have just compressed using woff2_compress:
Implausible compression ratio 770.0
Admittedly the source TTF contains 65535 glyphs, almost all of which are duplicates. It is a test font, but I still expect to be able to decompress it.
The text was updated successfully, but these errors were encountered:
This is a safeguard against fonts crafted to achieve exactly this type of memory explosion in the browser.
For local testing you can set what's allowed @
Browsers using the reference implementation will ofc reject such a font. I think this is working as intended unless evidence of realistic fonts with this kind of compression ratio emerge.
I get the following error when I attempt woff2_decompress on a woff2 font that I have just compressed using woff2_compress:
Implausible compression ratio 770.0
Admittedly the source TTF contains 65535 glyphs, almost all of which are duplicates. It is a test font, but I still expect to be able to decompress it.
The text was updated successfully, but these errors were encountered: