-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
mis-shaped results #107
Comments
Hi, thanks for the issue.
SVGFixer('directory/containing/svgs', 'directory/to-store/fixed-svgs', { traceResolution: 1200 }); |
@Ghustavh97 I appreciate the response, And regarding the reproduction steps you can use below svg: I used the CLI command: |
Try to convert the icons using https://fontello.com/ and see if you get the same issues. |
@Ghustavh97 fontello gives below error: Skipped tags and attributes: stroke,fill-rule,fill` |
icomoon.io worked and it has a flutter class generator too. Thanks for the amazing work here. |
No problem. Thanks for posting the links and info to your solution. |
I used this library to correct svg fill rule and make it ready to be converted to a typeface without filling the strokes.
Although it seems to have fixed the fill rule issue, the results seem mis-shaped as can be seen below:
It draws the less complex ones correctly but with some added complexity like these two icons, it draws additional shapes.
The icons I used as input were from popular icon pack https://ionic.io/ionicons which I assumes rules out the improper input format possibility.
The text was updated successfully, but these errors were encountered: