Código HTML:
<!DOCTYPE HTML> <html> <head> <meta http-equiv="content-type" content="text/html" /> <title>Fuente</title> </head> <body> <style> @font-face { font-family: "mifuente"; src: url('localhost/fuentes/YanoneKaffeesatz-Light.ttf'); } p { font-family: "mifuente"; font-size: 150px; } </style> <p>Hola</p> </body> </html>