NOTE: I have changed the wrapper shape of
propertyandfieldSVGs from circle to diamond.
-
Original SVG files are stored in
productions/svg_raw -
Edit each SVG file and save to
productions/svg_unfilled. For each SVG file, removing all fill color:
- For rectangle-shaped icons, remove color fill: delete the
fillattribute inrectelements - For diamond-shaped icons, remove color fill: delete specific
pathelements - For
typesymbol: delete specificpathelements - For
typeVariablesymbol: delete thefillattribute inpathelements - For
templatesymbol: no processing needed
- Convert stroke to path (XML tag), diamond-shaped icons don't need this operation:
- Inkscape: inkscape command line, where is it on mac?
- cd
productions/svg_unfilled, runsh stroke2path.sh
- Upload all the SVG in
productions/svg_unfilled/outto IcoMoon or Fontello, remove color, and finally generate icon font(xxx.woff).