andreinitescu / IconFont2Code

Generate C# class with constant fields for the icons in your font
277 stars 36 forks source link

Can't generate code for Tabler Icons #19

Open kcrg opened 11 months ago

kcrg commented 11 months ago

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 commented 10 months ago

@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 commented 10 months ago

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 commented 9 months ago

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

andreinitescu commented 9 months ago

@nor0x Thanks alot!