We can edit the SVG of each icon in Figma, Inkscape, Adobe Illustrator or whatever tool we prefer.
We use FontForge to generate the font. Here is a small tutorial:
- Install FontForge and open DevToys-Tools-Icons.sfd.
- In Figma, Inkscape, Adobe Illustrator or else, create a glyph and export it as a SVG.
- In FontForge, go to
Encoding > Add Encoding Slots
. - Select the slot you just created and go to
File > Import
and select the SVG you want to import. UnderOptions
, uncheckScale to fit (Misc)
. - Then, go to
Element > Glyph Info
and set a glyph name and Unicode value likeU+0100
.
- First, we need to validate the change we made. Go to
Element > Validation > Validate...
- Typical error we encountered in the past is
Self Intersecting
. You can resolve it automatically by usingElement > Overlap > Remove Overlap
. If it made the glyph ugly, you will have to fix the issue manually by editing the SVG. - Another typical error we encountered is
Non-Integral Coordinates
. To fix it automatically, useElement > Round > To Int
. - Another error is
Missing Points at Extrema
. To fix it, useElement > Add Extrema
.
- Typical error we encountered in the past is
- Once there are no validation issues anymore, go to
File > Generate Fonts
. SelectTrueType
and checkValidate before saving
. Then clickGenerate
. - A TTF file should be generated. You can verify that it works well by trying to open it in the app Character Map UWP.