This is the CSS code of the font family (HelveticaNeueCond):
@font-face {
font-family: 'helveticaneuecond';
src: url('helveticaneuecond_bold_0-webfont.eot');
src: url('helveticaneuecond_bold_0-webfont.eot?#iefix') format('embedded-opentype'),
url('helveticaneuecond_bold_0-webfont.woff2') format('woff2'),
url('helveticaneuecond_bold_0-webfont.woff') format('woff'),
url('helveticaneuecond_bold_0-webfont.ttf') format('truetype'),
url('helveticaneuecond_bold_0-webfont.svg#helveticaneuecondbold') format('svg');
font-weight: bold;
font-style: normal; }
The other font variations (bold/italic, normal/italic, normal/normal) have been implemented the same way in stylesheet.css
This is how it's linked:
<link rel="stylesheet" href="webkit/stylesheet.css" type="text/css" charset="utf-8" />
This is how the font family is called:
body { font-family: 'HelveticaNeueCond', Tahoma, Arial, sans-serif; }
Now, it works perfectly fine in all new browsers, including Edge, IE11, all modern mobile browsers. It even works in most IE (even 8 and older). However, IE 9 and 10 simply ignore it. Even worse, they ignore the font family, using a serif font instead, even though I clearly stated "sans-serif", should everything fail.
The webfontkit has been generated with fontsquirrel.
How can this be fixed?
eot
format only for dead IE browsers) - Mike 'Pomax' Kamermans