I am using a @font-face
- as recommended, I use .eot
, .woff
, .ttf
and .svg
. It appears normally except in Firefox, where it is not used and falls back to Helvetica / sans-serif.
Normal:
Firefox:
CSS:
@font-face {
font-weight: 900;
font-style: normal;
font-family: 'Lato';
src: url('http://static.tumblr.com/cv6ot7o/LREnbhzla/lato-thin.eot');
src: url('http://static.tumblr.com/cv6ot7o/LREnbhzla/lato-thin.eot?#iefix') format('eot'), url('http://static.tumblr.com/cv6ot7o/iQinbhzmp/lato-thin.woff') format('woff'), url('http://static.tumblr.com/cv6ot7o/Lxynbhzok/lato-thin.ttf') format('truetype'), url('http://static.tumblr.com/cv6ot7o/p2Anbj1jl/lato-thin.svg') format('svg');
}
h1 {
font-family: "Lato", "HelveticaNeue-UltraLight", "Helvetica Neue UltraLight", sans-serif;
font-size: 4em;
}
HTML:
<h1>title</h1>
How can we fix this?
I saw some similar questions suggest using local links for fonts but I can't use it here.