I'm recreating an website. That old website uses two different webfont I'd like to take over to the new one.
The first font is one of googles web fonts. It is embedded using googles following suggested code (just a CSS file containing the actual usage):
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css">
This works on both the old and the new website!
The other font however is causing problems in firefox on the new website, but displaying perfectly fine on the old one. It's embedded using the exact same code, except that I'm using absolute paths on the new website:
@font-face {
font-family: 'bebasneue-webfont';
src: url('http://example.com/fonts/BebasNeue-webfont.eot');
src: url('http://example.com/fonts/BebasNeue-webfont.eot?#iefix') format('embedded-opentype'),
url('http://example.com/fonts/BebasNeue-webfont.woff') format('woff'),
url('http://example.com/fonts/BebasNeue-webfont.ttf') format('truetype'),
url('http://example.com/fonts/BebasNeue-webfont.svg#bebas_neueregular') format('svg');
font-weight: normal;
font-style: normal;
}
Why is the google font displayed correctly while the other one just won't load?