sapegin / grunt-webfont

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

svg cannot have have filename 'length' #364

Closed mbarzda closed 7 years ago

mbarzda commented 7 years ago

When svg's filename is 'length', getNextCodepoint stops increment currentCodepoint, because _.includes ignoring object property 'length' and returning false. Fix inverts codepoints map and codepoints became object keys.

@sapegin