diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index 8c7c97b..85aa40b 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -1,8 +1,15 @@ -* Your font version: +* Your font version: (Release or git, version) * Your font variant: * Your operating system (name and version): * Your application using Iosevka: (some Java applications may have problem in showing Iosevka properly. It is a bug in Java's GUI components.) +If you have problem when building Iosevka, please provide these informations: + +* Your Node.js version: +* Your results of `npm list` +* Your _otfcc_ version: +* Your FontForge version: + --- -Describe your problem here. \ No newline at end of file +Describe your problem here. Provide pictures and files if necessary. diff --git a/generator.js b/generator.js index 92e321b..3173334 100644 --- a/generator.js +++ b/generator.js @@ -61,7 +61,7 @@ if (argv.svg) (function () { } return buf; } - var svg = '' + var svg = '' + '' + '' + ''; @@ -92,7 +92,7 @@ if (argv.svg) (function () { + ' glyph-name="' + g.name + '" horiz-adv-x="' + g.advanceWidth + '" ' + (g.unicode && g.unicode.length ? 'unicode="&#x' + g.unicode[0].toString(16) + ';"' : '') - + ' d="' + toSVGPath(g) + '" />'; + + ' d="' + toSVGPath(g) + '" />\n'; svg += gd; } svg += '';