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

fragmented image #51

Open
jwolkovitzs opened this issue Oct 4, 2017 · 1 comment
Open

fragmented image #51

jwolkovitzs opened this issue Oct 4, 2017 · 1 comment

Comments

@jwolkovitzs
Copy link

jwolkovitzs commented Oct 4, 2017

when using this svg it comes out in pieces fragmented on the screen attached is the svg file and the resulting image where the hair and lapel are sent in random directions

screen shot 2017-10-03 at 10 26 58 pm

screen shot 2017-10-03 at 10 20 57 pm

original svg
screenShot.svg.zip

@cayleyh
Copy link

cayleyh commented Oct 18, 2017

Hey @jwolkovitzs - I had the same problem. It happens with the way Sketch exports rotations in it's SVGs. If you open your SVG file you'll see some of your groups and paths have rotation transforms applied. The easiest way to get rid of this until the library can address it directly is to reset the bounding box by selecting the rotated graphic and go "Layer > Combine > Flatten" in Sketch before exporting.

The tips in https://medium.com/sketch-app-sources/exploring-ways-to-export-clean-svg-icons-with-sketch-the-correct-way-752e73ec4694 were helpful to me to resolve other Sketch-SVG related issues.

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

2 participants