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

got broken file #161

Closed
shuhrat opened this issue Dec 23, 2013 · 4 comments
Closed

got broken file #161

shuhrat opened this issue Dec 23, 2013 · 4 comments

Comments

@shuhrat
Copy link

shuhrat commented Dec 23, 2013

Hi there!

I have a file safe.svg listed below
<svg width="14px" height="16px" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path fill="#000000" d="M7.00314928,16 C0.489889272,13.3604037 0.036994394,8.51753475 0.0055026725,4.00506592 L0,2 C6.07067871,2 6.05371094,0.802368164 7,0 C8.02197266,0.802368191 8.02526855,2 14,2 L14,4.00506592 C13.9661701,8.51753475 13.513479,13.3604037 7.00314928,16 Z M6.15,9.1596 L11.1,4 L12,4.9 L6.15,12 L3,7.5 L3.9,6.6 L6.15,9.1596 Z"></path></g></svg>

its a shield with checked icon on it.

svgo safe.svg produced junk svg file, updated svgo to the last version and tried one more time, nothing changed.

Could you please fix this

@silentroach
Copy link
Contributor

This pull-request will fix just a part of your problem

@ericdfields
Copy link

+1 just got a broken file.

@silentroach
Copy link
Contributor

Seems like it is cause of fill-rule evenodd stripped.

@GreLI
Copy link
Member

GreLI commented Jan 19, 2015

Fixed in v0.5.0 by disabling removeUselessStrokeAndFill by default.

@GreLI GreLI closed this as completed Jan 19, 2015
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

4 participants