-
Notifications
You must be signed in to change notification settings - Fork 66
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
Real svg #13
Comments
Hey @Agshin43, thanks for the feedback. Could you please provide the following to narrow down the issue:
|
Of course Svg file Browser Operating System |
That's odd, the code at the point doesn't really do anything other than pass the file to the SVG library (paper.js), which returns undefined in case the file wasn't a valid SVG file (source). Can you try a couple of more things?
|
Sory for bad english ) Ok. I can not upload here SVG file. SVG not supported for uploading here. Yes, it works when I pick grade (star) from your site (https://android-material-icon-generator.bitdroid.de/). But https://design.google.com/icons/#ic_grade not working on OSX - safari. Now I trying on Windows - Chrome it works properly. |
Thanks for testing that. Once you have had the change to test the paper.js link on Safari please report back. In the meantime, GitHub issues seem to support .zip files. Could you upload the icon via that? |
Ok. |
Thanks again for reporting back. So far my theory that there might be a problem with actually interpreting the SVG file does not seem to add up. Looking at the code, there might also be an issue with actually reading the file before passing it to paper.js. I have deployed a version which contains some debug outputs. Could you try your icon again and report back with the console output? |
Hey @Agshin43, were you able to resolve your problem ❔ |
I cant create icon from custom svg. It says upload real svg. I downloaded from https://design.google.com/icons/ and it says same.
The text was updated successfully, but these errors were encountered: