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

Resulting path is incorrect #89

Closed
shaps80 opened this issue Mar 29, 2018 · 4 comments
Closed

Resulting path is incorrect #89

shaps80 opened this issue Mar 29, 2018 · 4 comments

Comments

@shaps80
Copy link
Contributor

shaps80 commented Mar 29, 2018

The SVG below is for the Dribbble logo. The attached image shows what the image should look like and how its being rendered by SwiftSVG. Would love to better understand why this can't be rendered. I have several icons that have this issue, in some cases much worse.

Expected Output
dribbble

Actual Output
dribbble

<svg aria-labelledby="simpleicons-dribbble-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="simpleicons-dribbble-icon">Dribbble icon</title><path d="M12 24C5.385 24 0 18.615 0 12S5.385 0 12 0s12 5.385 12 12-5.385 12-12 12zm10.12-10.358c-.35-.11-3.17-.953-6.384-.438 1.34 3.684 1.887 6.684 1.992 7.308 2.3-1.555 3.936-4.02 4.395-6.87zm-6.115 7.808c-.153-.9-.75-4.032-2.19-7.77l-.066.02c-5.79 2.015-7.86 6.025-8.04 6.4 1.73 1.358 3.92 2.166 6.29 2.166 1.42 0 2.77-.29 4-.814zm-11.62-2.58c.232-.4 3.045-5.055 8.332-6.765.135-.045.27-.084.405-.12-.26-.585-.54-1.167-.832-1.74C7.17 11.775 2.206 11.71 1.756 11.7l-.004.312c0 2.633.998 5.037 2.634 6.855zm-2.42-8.955c.46.008 4.683.026 9.477-1.248-1.698-3.018-3.53-5.558-3.8-5.928-2.868 1.35-5.01 3.99-5.676 7.17zM9.6 2.052c.282.38 2.145 2.914 3.822 6 3.645-1.365 5.19-3.44 5.373-3.702-1.81-1.61-4.19-2.586-6.795-2.586-.825 0-1.63.1-2.4.285zm10.335 3.483c-.218.29-1.935 2.493-5.724 4.04.24.49.47.985.68 1.486.08.18.15.36.22.53 3.41-.43 6.8.26 7.14.33-.02-2.42-.88-4.64-2.31-6.38z"/></svg>

Note: The size isn't an issue, I used Photoshop to output the expected shot.

@alexanderkhitev
Copy link

Hi @shaps80 ! any news about it? I faced a strange behavior, that SwiftSVG renders one file with incorrect orientation

@shaps80
Copy link
Contributor Author

shaps80 commented Aug 23, 2019

No this was never solved afaik and in the end I didn’t use the lib at all.

@shaps80
Copy link
Contributor Author

shaps80 commented Aug 23, 2019

Pity cause there isn’t really any decent SVG lib IMHO

@alexanderkhitev
Copy link

@shaps80 thank you for response!

@shaps80 shaps80 closed this as completed Mar 17, 2020
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