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

Converting Bootstrap woff2 to ttf leads to error #4

Open
Geobert opened this issue Apr 13, 2023 · 3 comments · May be fixed by #6
Open

Converting Bootstrap woff2 to ttf leads to error #4

Geobert opened this issue Apr 13, 2023 · 3 comments · May be fixed by #6

Comments

@Geobert
Copy link

Geobert commented Apr 13, 2023

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
Copy link
Contributor

yisibl commented May 9, 2023

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

@brianfeucht
Copy link

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
Copy link
Contributor

yisibl commented Nov 30, 2023

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

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

Successfully merging a pull request may close this issue.

3 participants