I am trying to use a .ttf file downloaded from web to use 'anagram.ttf' as my font-family.
<html>
<head>
<style>
@font-face {font-family: 'Anagram'; src: url('anagram.ttf');}
p{font-family:anagram;}
</style>
</head>
<body>
<p>This is paragraph one.</p>
<p>This is paragraph two.</p>
</body>
</html>
But, finally my browser is showing as:
Rendered fonts: Times New Roman—22 glyphs
Also showing warning in console:
Failed to decode downloaded font: file:///C:/codebook/external%20fonts/anagram.ttf
Is my syntax wrong or any other problem?