Part of How to make a font

Go here: https://icomoon.io/app/#/select

  1. Use the hamburger menu in the top left to create a New Empty Set
  2. Use the hamburger menu in the top right of the new set to Import to Set
    1. This is where some of the icons might not appear correctly in Icomoon, since doesn’t support fill-rule=“evenodd” (or something like that)
    2. If that’s the case, go back to the SVG file and use picosvg to fix it, and then reupload it to Icomoon.
    3. You can upload an empty SVG of the correct width to set the space width, although it is easier to mess with the space width in the Python fix_font script.
  3. Use the same hamburger menu to Select All
  4. Go to the Generate Font tab in the bottom right
  5. Type in the correct character for each glyph (in the box with the little blank rectangle in it, not the character code box)
  6. You can make ligatures by selecting the fi icon in the top left (“Show Ligatures”) and then typing the ligatures into the ligature input under the correct glyph.
  7. You can set the baseline height by clicking the gear icon next to the download button and going down to “Font Metrics”
    1. The whole font height, including descenders, is 1em tall.
    2. I’ve found that around 30% for the baseline height seems to work well.
  8. The whitespace width is extra space between characters. I’m not sure how Icomoon applies this. I assume half that width is added to all the glyph bearings.
  9. You can also set a name and version and other stuff for you font from the settings next to the download button.
  10. Finally, download your font (bottom right)
  11. You have to extract at least the font file you’re interested in to use it or do more work on it.

Note: The demo.html file won’t work correctly unless you extract everything, but you can still open it (it won’t have interactivity or the correct font)

fontuseful