<!DOCTYPE HTML> <title>ex unit with Ahem font</title> <style type="text/css"> @font-face { font-family: "Ahhhem"; src: url(../fonts/Ahem.ttf); } html { background: white; } body { font-family: Ahhhem; font-size: 50px; height: 2ex; width: 2ex; background: blue; } </style>