FontCustom / fontcustom

Generate custom icon webfonts from the comfort of the command line.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rendering issue with a solid fill circle

mkitt opened this issue · comments

I'm having an issue with fontcustom rendering solid fill circles. I created a repository with the use case and instructions to reproduce here:

https://github.com/mkitt/fontcustom-issue

This is the most pronounced case I've seen, but I'm also seeing issues when the element is a solid fill and contains a very small icon within it. Not as pronounced, but still not completely circular.

Please let me know if you need any other information. Any thoughts or answers is greatly appreciated. Thanks in advance.

mk

screenshot

I'm getting this, too, for any instance of a circle. Did you happen to figure this out at all?

FYI, I just converted the circles into paths and flattened the shape and got it to work.

Rad! That seems to fix it. I found this article as well which also seems to help by offsetting the path by -0.205px. I also started using the svg tiny 1.1+ from a recommendation from another article.

@EZYZ, I'll defer to you for closing this issue. Not sure if you have any plans or ideas for fixing this, or if you want to just document this somewhere per #66.

Thanks @pstoica!

Thanks for the input gents. Closing this one and adding it to doc update issue.

Along the same lines, when exporting from Sketch: double-click the circle to enter Edit mode, select each point and convert it to 'Assymetric' in the inspector — this has the effect of making the circle a generic path.

Yes, it's a sketch problem. Working within Illustrator works fine