Open h6ah4i opened 9 years ago
I don't have time at the moment to make a PR, but as a monkey patch you can insert the following on line 220 of node_modules/svgpath/lib/parse.js
(the first line of the pathParse
function):
if(!svgPath) { return { segments: [] } }
So you get:
module.exports = function pathParse(svgPath) {
if(!svgPath) { return { segments: [] } }
var state = new State(svgPath);
var max = state.max;
....
I've been able to use it without trouble after making that change to the installed package.
Hi. I am trying to use the svgttf command but getting the following error.
Instructions
Results