/svg-font-reader

read svg and generate a page to show all svg shape and unicode

Primary LanguageJavaScriptMIT LicenseMIT

SVG font reader

sometime we met some problems while use icon font:

  • what are the shapes in the svg font file ?
  • want to use a shape but don't kown the unicode

svgfr maybe provide some help...

install

npm install svg-font-reader -g

usage

  • put you svgfile in a folder
  • cd to the folder in command line
  • run command:
svgfr <svgfile>
  • it will genarate a html file and a ttf file, then open default browser to preview this html page.

--EOF--