tancredi / fantasticon

Icon font generation tool
MIT License
924 stars 102 forks source link

font not rending properly #64

Closed yamatsum closed 3 years ago

yamatsum commented 3 years ago

I'm trying to generate octicons icon fonts using fantasticon. When I ran it, the resulting font was filled in a strange state.

expected:

Screen Shot 2020-12-23 at 12 38 04

actual:

Screen Shot 2020-12-23 at 12 37 05

I tried changing the height and using svgo by referring to the following issues, but it did not solve. Is there any solution?

https://github.com/Workshape/icon-font-generator/issues/53

giovanni-bertoncelli commented 3 years ago

@yamatsum how did you resolved?

kabouzeid commented 3 years ago

I have the same issue (also with octicons)

giovanni-bertoncelli commented 3 years ago

@kabouzeid you can try this tool: https://github.com/oslllo/svg-fixer

kabouzeid commented 3 years ago

Thanks, I also figured this out :)

Funnily enough, I just saw that the project I needed this for is from the author of this issue, @yamatsum 😅

https://github.com/yamatsum/nonicons/pull/11

HighSoftWare96 commented 3 years ago

Small world

yamatsum commented 3 years ago

I solved it using a figma plugin(https://www.figma.com/community/plugin/771155994770327940/Fill-Rule-Editor). However, oslllo/svg-fixer may be easier to solve, so I will verify it myself