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

OTS parsing error: cmap: Failed to parse table #5

Closed
ackzell opened this issue Sep 1, 2021 · 4 comments
Closed

OTS parsing error: cmap: Failed to parse table #5

ackzell opened this issue Sep 1, 2021 · 4 comments

Comments

@ackzell
Copy link

ackzell commented Sep 1, 2021

Hi there!

This is a very sweet set of icons, thanks for sharing!

I have one issue though: when I try to use the provided downloads (the CSS and font files) on a project, I get the following errors on my browser:

Failed to decode downloaded font: http://127.0.0.1:8080/fonts/iconsax.ttf?yjegnn
127.0.0.1/:1 OTS parsing error: cmap: Failed to parse table
127.0.0.1/:1 Failed to decode downloaded font: http://127.0.0.1:8080/fonts/iconsax.woff?yjegnn
127.0.0.1/:1 OTS parsing error: cmap: Failed to parse table

So I went ahead and used an SVG to build my own font via the IcoMoon App.
Note: I actually needed to convert strokes to paths in order for it to work, so I was only able to create a font file with 1 icon.

At the end I was able to load the font properly, but obviously this is only 1 icon, so I can't use it on my project.

Would you be able to confirm this is an issue and provide a new version of the font files?

Thanks again!

TL;DR:

Using the download from iconsax website:
image

After creating my own font with IcoMoon:
image

@ilyasbilgihan
Copy link

ilyasbilgihan commented Sep 1, 2021

I have had the same issue and I fixed it by using Transfonter.

Go to Transfonter > click Add fonts button > choose the ttf file you downloaded from this repo > check ttf, woff, svg, eot select boxes from formats section below. Then click green Convert button. It will give you a zip file which includes font files with the extensions we selected before. Replace the downloaded font files from this repo with the new font files from Transfonter.

@ackzell
Copy link
Author

ackzell commented Sep 1, 2021

Thank you @ilyasbilgihan ! it worked really well!

@ackzell
Copy link
Author

ackzell commented Sep 3, 2021

Closing the issue, but maybe worth re-uploading the files to https://iconsax.io/ @luisDanielRoviraContreras ?

@ilyasbilgihan
Copy link

Closing the issue, but maybe worth re-uploading the files to https://iconsax.io/ @luisDanielRoviraContreras ?

update: For those who want to use updated font files, please take a look at PR #23

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

2 participants