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

"Could no decode font downloaded" Console error, if one of the fonts is in different encoding than the other icons. #58

Open
Shenato opened this issue Apr 2, 2019 · 0 comments

Comments

@Shenato
Copy link

Shenato commented Apr 2, 2019

I have a repo of icons we use at work, and most of them were encoded in iso-8859-1, but then when we got some new icons, the generated font wasn't decodable by the browser. It took me a long time until i figured out it was because the new icons had utf-8 encoding.

This was a pain to figure out because there's no info online anywhere about this or in the script repo (as far as i've seen) and the script doesn't complain about it.

I have a few suggestions to not let future users of this script encounter this problem:

  • Can the script detect the encoding of an icon and warn you/throw an error.
  • Or can we include this in some kind Wiki/FAQ/ Common problems Section?
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