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.
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
Naming your files correspondingly will speed things up later.
Step 3: Uploading the icons to a service to convert to a 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
7 Antworten
Ich seh die Fonts irgendwie nicht. Es sei denn die Standard-Buchstaben sind Absicht?
http://img841.imageshack.us/img841/6518/zmol.png
Das ist definitiv nicht so gewollt 😉 So sollte es aussehen bzw. so sieht es bei mir aus … http://cl.ly/image/3K1B0K450y2c
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.
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!
Jetzt seh ich garnichts mehr 🙁
http://i.imgur.com/ftUYyI4.png
(Was genau war denn der Fehler?)
BTW: Dein Webserver ist noch auf Sommerzeit 😉
funzt *daumen hoch* 🙂