Closed lunaroja closed 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
options.fontWeight
options.fontStyle
https://github.com/nfroidure/svgicons2svgfont/blob/master/src/index.js#L258
Would accept a PR with tests allowing such options.
Brilliant! Thank you!
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