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

Can't generate code for Tabler Icons #19

Open
kcrg opened this issue Sep 4, 2023 · 5 comments
Open

Can't generate code for Tabler Icons #19

kcrg opened this issue Sep 4, 2023 · 5 comments

Comments

@kcrg
Copy link

kcrg commented Sep 4, 2023

image
I get this message when I try to open tabler-icons in .ttf and .woff formats.

To reproduce just download zip from release section of Tabler Icons github and use font files from path tabler-icons-2.32.0.zip\webfont\fonts\tabler-icons.ttf

@andreinitescu
Copy link
Owner

andreinitescu commented Oct 1, 2023

@kcrg Thanks for reporting this. It looks like there's an issue with one of the core libraries I'm using to parse the font.
I will see what I can do.

@andreinitescu
Copy link
Owner

Small update: It appears the issue is from the font itself. The core library I'm using doesn't like it does not use the OpenType standard setup.

@nor0x
Copy link

nor0x commented Nov 21, 2023

@kcrg a workaround is to convert the font to OTF before processing via IconFont2Code

@andreinitescu
Copy link
Owner

@nor0x Thanks alot!

@Ghostbird
Copy link

Ghostbird commented Dec 5, 2024

Is it this error?

Error: 0xead4: Coverage format must be 1 or 2.

I get that error when I try to convert TTF, WOFF and WOFF2 files generated by the webfont npm package.

For me I could workaround the issue by using FontForge to generate an OTF file. Although it only worked using the FontForget GUI. Using the command line it crashed.

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

4 participants