-
Notifications
You must be signed in to change notification settings - Fork 60
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
Wrong convert INKSCAPE-SVG to PNG #193
Comments
I'm delete icon cache, update script from git and run twice. Bug reproduced with INKSCAPE-SVG icons... |
Tried with Numix theme, and the issue is only reproducible with your theme :( |
@varlesh You could try some svg-cleaning scripts (https://github.com/RazrFalcon/svgcleaner) that removes all of the unneeded parameters |
@wa4557 I previously used this util and after some SVG's will bee broken. For example, cleaning icon not change color anymore. |
Maybe it's possible add option for ignore pagecolor? |
If you can figure out how to do that with Inkscape command line, i would be more than happy to implement that 👍 |
@bil-elmoussaoui
|
Well in that case just run a bash script that will export all your svg icons as plain ones? I can provide one if you want to :) |
But if another (future) icon theme have this INKSCAPE-SVG or NUMIX too? |
Yes, convert time will. But all icon theme will be converted right. |
Well, Numix does not have this issue :) if any future icon theme has this issue i will link this issue with the script i'm going to provide. The reason why i'm not willing to implement this directly on Hardcode-Tray because we will have the same result if the user uses Cairosvg we will face the same issue again. So better fix it from the source! |
I hate inkscape!!! :( Ok, i'm go clean SVG's... |
I do hate it too! Good luck with that 👍 |
Thx :) |
It's very strange. I don't know it's bug inkscape or ...
Script convert icon with background, but background - it's not layer!
For example, clementine-panel from Papirus Arc Dark (for KDE).
On left original icon - on right converted with script.
Converted icon have background #f7f7f7 but really background from source transparent!
Script convert pagecolor to layer. But why?!
source:
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme-kde/blob/master/papirus-arc-dark/22x22/status/clementine-panel.svg
i know, pagecolor option not available on PLAIN-SVG... but maybe available method for fixing INKSCAPE-SVG?
The text was updated successfully, but these errors were encountered: