You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, just wondering how exactly to use this 😛 I'd like to get 2 icons out of a svg font.
Running Windows 10 Pro x64 if it makes any difference.
What I've tried:
downloading the github source folder, making a test.html document with In your scripts bit inside <script> tags
installing via npm (very new to this, might have screwed up the npm install svgfont2svgicons -g somehow), I then tried to use it command line svgfont2svgicons cleanicons2.svg icons (cleanicons2.svg downloaded off this git). I get this error:
H:\Users\Matt\Downloads>svgfont2svgicons cleanicons2.svg icons
events.js:160
throw er; // Unhandled 'error' event
^
Error: Attribute without value
Line: 32
Column: 91
Char: >
at error (H:\Users\Matt\AppData\Roaming\npm\node_modules\svgfont2svgicons\node_modules\sax\lib\sax.js:666:10)
at strictFail (H:\Users\Matt\AppData\Roaming\npm\node_modules\svgfont2svgicons\node_modules\sax\lib\sax.js:692:7)
at Object.write (H:\Users\Matt\AppData\Roaming\npm\node_modules\svgfont2svgicons\node_modules\sax\lib\sax.js:1332:13)
at SAXStream.write (H:\Users\Matt\AppData\Roaming\npm\node_modules\svgfont2svgicons\node_modules\sax\lib\sax.js:238:18)
at PassThrough.ondata (H:\Users\Matt\AppData\Roaming\npm\node_modules\svgfont2svgicons\node_modules\readable-stream\lib\_stream_readable.js:546:20)
at emitOne (events.js:96:13)
at PassThrough.emit (events.js:188:7)
at readableAddChunk (H:\Users\Matt\AppData\Roaming\npm\node_modules\svgfont2svgicons\node_modules\readable-stream\lib\_stream_readable.js:217:18)
at PassThrough.Readable.push (H:\Users\Matt\AppData\Roaming\npm\node_modules\svgfont2svgicons\node_modules\readable-stream\lib\_stream_readable.js:176:10)
at PassThrough.Transform.push (H:\Users\Matt\AppData\Roaming\npm\node_modules\svgfont2svgicons\node_modules\readable-stream\lib\_stream_transform.js:123:32)
The text was updated successfully, but these errors were encountered:
Hi, just wondering how exactly to use this 😛 I'd like to get 2 icons out of a svg font.
Running Windows 10 Pro x64 if it makes any difference.
What I've tried:
<script>
tagsnpm install svgfont2svgicons -g
somehow), I then tried to use it command linesvgfont2svgicons cleanicons2.svg icons
(cleanicons2.svg downloaded off this git). I get this error:The text was updated successfully, but these errors were encountered: