Comments (1)
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.
from swiftsvg.
Related Issues (20)
- SwiftUI examples HOT 1
- Switch example project to use SPM instead of Cocoapods
- Conflicting with Floaty
- Is it possible to convert UIBezierPath to SVG ? HOT 1
- pod try SwiftSVG - fails to build 11.5
- Is this project still maintained? HOT 5
- Is there a way to parse layer path back to string path? HOT 1
- Fill:"None" not working, fills as black color HOT 13
- Problems with Command ("M") HOT 1
- Why do I have to comment this code so that the picture can be displayed on iOS? HOT 1
- The image size can not change
- SVG having multi grouping is not rendring properly
- The documentation link in README.md seems to be dead HOT 1
- resizeToFit ignores viewBox HOT 2
- Messy Xcode log HOT 1
- Support style element
- crash : CurveTo.execute HOT 1
- SVG Animation
- file-write-create error prevents compile HOT 1
- SwiftSVG cannot be build in macOS app with macOS 14 SDK
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftsvg.