<!DOCTYPE html>
<style>
@font-face {
font-family: Ahem;
src: url(Ahem.ttf);
}
#test {
display: inline-block;
font: 64px/1 Ahem;
margin-right: 1ex;
</style>
<div id="test">X</div>