Open hlechner opened 7 years ago
Power Shell script to transform Stroke to Path on Windows using inkscape: https://github.com/mtgibbs/inkscape-stroke-to-path
Would be good if we found a similar script for bash
@hlechner it shouldn't be that hard to recreate the same script for bash, nop?
I believe not, but my knowledge of power shell is 0.
I searched for Inkscape command line , and many things can be done via cli: http://tavmjong.free.fr/INKSCAPE/MANUAL/html/CommandLine.html
Can be used the --verb StrokeToPath
but it needs to be complemented by others staff to not lose the original design. Otherwise the svg can be changed from:
to:
@bil-elmoussaoui what you think? Will be a good thing to invest a time to it?
If we don't find anything, i think it's much easier to create a script that will do all the works for us. And it still can be used by other people on other themes/icons;) I might take a look on how to implement that using either bash shell or Python.
It would be great! you made some very nice script, hardcode-tray is an example.
As long as the icons involving strokes render correctly with the rendering engines used by common DEs, i.e. librsvg
and QtSVG
(Chromium and Gecko aren't relevant I think) I think we don't neccessarily need to do anything. I'm quite sure the conversion will cause small visible changes if not even downright breakage. In any case the file size will increase.
I thought that the stroke was an issue as it was before, if not anymore no problem at all!
Maybe I can close this issue then.
We should check visibly if they're all OK but the conversion might not be worth it.
Thanks @palob, I agree.
so, closing the issue.
I'll reopen this lest your list goes waste :)
I think we should close this issue, no problem on it, the list was fast generated by the command that I've provided.
So if one day it will be needed we can reopen this, update the list and use it
I vaguely remember that stroke caused issues somewhere (nautilus filemanager ?), so we should not forget about this
Command:
Files:
[ ] actions/geany-build.svg
[ ] apps/goa-account-owncloud.svg
[ ] categories/applications-geology.svg
[ ] devices/media-memory-sm.svg
[ ] emblems/emblem-unreadable.svg
[ ] emotes/face-uncertain.svg
[ ] mimetypes/application-web-template.svg
[ ] places/start-here-Numix.svg