Last Updated: February 25, 2016
· glaszig

Custom glyph fonts with Font Custom and Compass

If you like to build your own fonts from vector graphics using Font Custom, you'd probably love it integrated with Compass.

Well, i have you covered: compass-fontcustom.

To have your font and css classes automatically generated:

@import "myfont/*.svg";
@include all-myfont-glyphs;

You're right. Works like sprites.

Given the myfont folder contains a file named glyph.svg you will have a css class available named .icon-myfont-glyph.