Hi,
So I am currently working on a site that I have to follow the corporate style guide for font use. No worries as @font-face has come to the rescue but its the first time in using it and it looks like I have a small issue.
I am currently testing the site on my local machine across IE 7-9, Chrome, Opera, Safari and Firefox. All work perfectly except I have an issue with Firefox - I am currently using 10.0.1 which is the latest version. If I load a page the fonts default to the Helvetica system font. This is the same on all pages except the home page where it works as expected. This seems odd in itself as it surely should either work or not work but it gets stranger.
I use the menu to browse other pages and the pages viewed will all use the system font until I view the home page. Once I have visited the home page and then view any other pages in the site it then uses my @font-face fonts absolutely perfectly.
Anybody out there have a similar issue or have heard of it or even better a solution? Is this only happening as I am browsing on my local machine and will work perfectly once uploaded? Any help would be appreciated. It's really bugging me that IE7-9 work perfectly and Firefox is giving me an issue!
If it helps here is the font stack I am using:
My @font-face declarations are all declared right at the top of my CSS right after my reset as I thought that might make a difference. My @font-face code looks like:
So, anyone any ideas?
So I am currently working on a site that I have to follow the corporate style guide for font use. No worries as @font-face has come to the rescue but its the first time in using it and it looks like I have a small issue.
I am currently testing the site on my local machine across IE 7-9, Chrome, Opera, Safari and Firefox. All work perfectly except I have an issue with Firefox - I am currently using 10.0.1 which is the latest version. If I load a page the fonts default to the Helvetica system font. This is the same on all pages except the home page where it works as expected. This seems odd in itself as it surely should either work or not work but it gets stranger.
I use the menu to browse other pages and the pages viewed will all use the system font until I view the home page. Once I have visited the home page and then view any other pages in the site it then uses my @font-face fonts absolutely perfectly.
Anybody out there have a similar issue or have heard of it or even better a solution? Is this only happening as I am browsing on my local machine and will work perfectly once uploaded? Any help would be appreciated. It's really bugging me that IE7-9 work perfectly and Firefox is giving me an issue!
If it helps here is the font stack I am using:
Code:
font: 100% "HelveticaNeue", "Helvetica Neue", "HelveticaNeueRoman", "HelveticaNeue-Roman", "Helvetica Neue Roman", 'Interval Light', "Helvetica", "Arial", sans-serif;
My @font-face declarations are all declared right at the top of my CSS right after my reset as I thought that might make a difference. My @font-face code looks like:
Code:
@font-face {
font-family: 'Interval Light';
src: url('../fonts/Interval Light.eot'); /* IE9 Compat Modes */
src: url('../fonts/Interval Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/Interval Light.woff') format('woff'), /* Modern Browsers */
url('../fonts/Interval Light.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/Interval Light.svg#svgInterval Light') format('svg'); /* Legacy iOS */
}
So, anyone any ideas?