<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style> @font-face { src: url(../fonts/Ahem.ttf); font-family: AhemReftest; } span { line-height: 1.0; font-family: AhemReftest; font-size: 30px } </style> </head> <body> <div> <span>XXX XXX XXX</span> </div> </body> </html>