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 showing up correctly #223

Closed
jensklang opened this issue Jun 24, 2020 · 3 comments
Closed

SVG not showing up correctly #223

jensklang opened this issue Jun 24, 2020 · 3 comments
Labels

Comments

@jensklang
Copy link

Using Illustrator to create SVG and tried all versions and settings. But no result. Tried downloading the SVG logo from wikipedia and it turns out like this. But mine does not show ut at alls. Have been forced to use PNG instead. :(
Screenshot at Jun 24 15-55-41

@romannurik
Copy link
Owner

Hi there, mind attaching the SVG?

@jensklang
Copy link
Author

Sure, that was stupid of me not to attach them directly.

Thanks for looking into this. Tried to get any SVG working and figure out the problem. But i could see anyone else on the forum have the same problem. :/

SVG_logo_h.svg.zip
ic_launcher_foreground.svg.zip

@romannurik romannurik added the bug label Sep 17, 2020
@romannurik
Copy link
Owner

For posterity, when SVGs don't have a width and height, it doesn't seem to import correctly / can't infer from the viewbox. There's probably a bug somewhere here with how we manage natural width/height from SVGs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants