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

Svg not rendered properly #391

Closed
tom-2015 opened this issue Dec 28, 2018 · 2 comments · Fixed by #506
Closed

Svg not rendered properly #391

tom-2015 opened this issue Dec 28, 2018 · 2 comments · Fixed by #506
Labels

Comments

@tom-2015
Copy link

I have a simple svg that is not rendered properly:
SVG file:
test.zip
Output:
output
Expected output:
expected

I have no idea what the problem can be...

@mrbean-bremen
Copy link
Member

mrbean-bremen commented Dec 28, 2018

Ok, I played around a bit, and it looks like the fill color is the problem - if adding "fill:none" to the st2 style, it works correctly. The default fill color is indeed black, but there is a global class (st3) set that has the style fill:none, so I guess, this global class style is not taken into account.

@tom-2015
Copy link
Author

ok thank you for the fast response!

H1Gdev added a commit to H1Gdev/SVG that referenced this issue Jul 4, 2019
mrbean-bremen pushed a commit that referenced this issue Jul 5, 2019
* Small refactoring.
* Fixes #391 "Svg not rendered properly"
* Add test images.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants