nfroidure / svgicons2svgfont

Concatenate SVG icons and ouput an SVG font
http://nfroidure.github.io/svgiconfont/
MIT License
340 stars 71 forks source link

Add option to set additional font metadata #33

Closed lunaroja closed 9 years ago

lunaroja commented 9 years ago

Most font editors have ways of modifying other metadata. This would help when creating iconfonts that support different weights.

font-face font-family="Super Sans" font-weight="bold" font-style="normal"

https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/SVG_fonts

options.fontWeight options.fontStyle

https://github.com/nfroidure/svgicons2svgfont/blob/master/src/index.js#L258

screen shot 2015-05-27 at 1 52 54 pm

nfroidure commented 9 years ago

Would accept a PR with tests allowing such options.

lunaroja commented 9 years ago

Brilliant! Thank you!