Workshape / icon-font-generator

Easy-to-use, pre-configured cli tool to generate webfont icon kits from a bunch of .svg files
MIT License
471 stars 76 forks source link

Font generation doesn't display svg content #81

Open ghost opened 4 years ago

ghost commented 4 years ago

I'm trying to generate a custom font however when I convert my svg to ttf, load the ttf as a font, and type 'A' it just displays a regular A as opposed to the custom symbol as shown in the svg:

https://i.imgur.com/xMQzgzR.png

` <font-face font-family="Super Sans" font-weight="bold" font-style="normal" units-per-em="1000" cap-height="600" x-height="400" ascent="700" descent="300" alphabetic="0" mathematical="350" ideographic="400" hanging="500">

</font-face>
<missing-glyph><path d="M0,0h200v200h-200z"/></missing-glyph>

`