This is an updated version of AutomatedStrokeToPath from 1upkd/AutomatedStrokeToPath 1upkd/AutomatedStrokeToPath to be compatible with Inkscape 0.92 ++ See the changelog https://wiki.inkscape.org/wiki/Using_the_Command_Line
Many iconfont generators (IcoMoon, for example) require the SVG to have only paths and not strokes.
So I wrote a shell script to batch convert strokes in all glyph SVGs to paths using the inkscape command line options
-
This script works on Linux based systems. For windows see this
-
This script requires that inkscape is installed and is available on the command line
You can check for this as follows
$ inkscape -V
Inkscape 1.1.1 (c3084ef, 2021-09-22)
- Put all your SVGs in a folder alongside this script
- Run the script as follows:
$ ./stroketopath.sh <foldername>
Check out font developemnt workflow of @thekarthik : icanfont
P.S.: Inkscape GUI opens and closes for every SVG file being processed. Yes, it is annoying but I don't know how to prevent that.