Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tutorial Request] #9

Open
DarkMatterMatt opened this issue Feb 19, 2017 · 0 comments
Open

[Tutorial Request] #9

DarkMatterMatt opened this issue Feb 19, 2017 · 0 comments

Comments

@DarkMatterMatt
Copy link

DarkMatterMatt commented Feb 19, 2017

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant