sapegin / grunt-webfont

SVG to webfont converter for Grunt
MIT License
1.11k stars 210 forks source link

Process hangs #322

Closed andyra closed 8 years ago

andyra commented 8 years ago

When I run this plugin, my CPU is pegged at 99% and the font is never created. I'm using grunt 0.4.2 and grunt-webfont 1.2.0 and installed fontforge (via brew install ttfautohint fontforge --with-python). Installations all worked well. My Gruntfile looks like so:

webfont:
    icons:
      src: 'assets/images/icons/*.svg',
      dest: 'assets/fonts',
      options:
         font: 'custom-icons'

I've tried using both the node and fontforge engines. I've double checked and the path to the SVGs is correct. I'm not getting errors in the console. Any ideas on what's going on here?

Mac OS X 10.11.3

andyra commented 8 years ago

Problem solved: I had created a grunt task called webfont which was causing the hangup. I renamed it to fonts and things are working as expected now.

grunt.registerTask "fonts", ["webfont"]