Cimpress-MCP / woff2-rs

WOFF2 decompression library for rust
Apache License 2.0
13 stars 7 forks source link

Converting Bootstrap woff2 to ttf leads to error #4

Open Geobert opened 1 year ago

Geobert commented 1 year ago

Hi,

I’m trying to convert Bootstrap icon font from woff2 to ttf using convert_woff2_to_ttf() but get the error: Invalid("Compressed stream size does not match header")'

We can find the font here: https://github.com/twbs/icons/releases/download/v1.10.4/bootstrap-icons-1.10.4.zip

What’s happening?

yisibl commented 1 year ago

Yes, I had the same problem testing Font Awesome v5 before.

brianfeucht commented 9 months ago

I am running into the same error using a Roboto Latin Regular v30 from Google Fonts https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxK.woff2

yisibl commented 9 months ago

Try: https://github.com/yisibl/woff2-rs/commits/fix-total-compressed-size