How to create a web icon font using illustrator and fontastic.me – meet my new mac keyboard shortcut font

How to make a web icon font

So the other day I wanted to display a few keyboard shortcuts to my fellow coworkers. I wanted to display those shortcuts in a visual way, not just the keystrokes, but actually a representation of the key with the icons and all.

I thought it would be great if somebody had made a font for this, where I could just press the corresponding key and a visual of the key would come right up. I didn’t find a font so I created one.

What you need to create a web font:

  • A vector-based image editing software (e.g. Illustrator) to create the svg-files for the characters
  • A service or program to convert the vector-icons to a font
  • Patience (if you’ll create a whole set)

Step 1: Fire up your vector image editing software and create your icons.

Mac Keyboard Font - Illustrator Icons

I created all my needed icons and also matched one artboard to each character. Be sure to draw all artboards at the same size otherwise your font won’t display all in the same height and widths.


Step 2: Export those icons as one svg-file for each character

Mac Keyboard Font - Create your SVG Files

Naming your files correspondingly will speed things up later.


Step 3: Uploading the icons to a service to convert to a font

Mac Keyboard Font - Map SVG Icons and create free icon font

I used fontastic.me to create my (web) font. It looks nice, is easy to use and worked perfectly for me. There’s also icomoon.io but I found fontastic.me to work better for me.

Most importantly you’ll use the service to match a character to each of your icons and download your newly created own custom web icon font. Of course you can also use the font just on your computer. Just install the corresponding font by doubleclicking it.


And here it is: My custom created web font to display mac keyboard shortcuts

So if you ever come across the same problem. Use my Keyboard Shortcut Font as a Webfont or Desktop Font. Of course I would be happy for some credit but I don’t want to deal with licences now or figure out a way how to charge for this.

What you’ll get

A keybord web font with 60 characters including cmd, return, fn, esc and so on. Use this free font every time you want to show a shortcut for Mac. This is the english version. So set your keyboard to english to easily get to every icon

Pay with a tweet to download the font


Time for an example

One of my most used shortcuts is this one

Most of you know it, it’s of course the one to make a screenshot of a selection


All characters of the font

7 Antworten

  1. Ich seh die Fonts irgendwie nicht. Es sei denn die Standard-Buchstaben sind Absicht?

    http://img841.imageshack.us/img841/6518/zmol.png

    1. Das ist definitiv nicht so gewollt 😉 So sollte es aussehen bzw. so sieht es bei mir aus … http://cl.ly/image/3K1B0K450y2c

  2. Seltsam, dein CSS Code sieht handfest aus. Geht auch in anderen Browsern nicht..
    Vielleicht siehst du es richtig, weil du die Schrift auf deinem Computer installiert hast?
    Kannst ja mal eine Testseite durch Browsershots durchlaufen lassen.

    1. Danke Robert! War tatsächlich ein kleiner Fehler im Code 🙂 Und bei mir ging’s weil ich die Schrift installiert hatte! Jetzt sollte es aber auch bei Dir gehen!

      1. Jetzt seh ich garnichts mehr 🙁
        http://i.imgur.com/ftUYyI4.png

        (Was genau war denn der Fehler?)

        1. BTW: Dein Webserver ist noch auf Sommerzeit 😉

        2. funzt *daumen hoch* 🙂