Sunday, 18 August 2013

@font-face issues with Firefox

@font-face issues with Firefox

It may only be an issue with Firefox but whenever visiting the site using
www. as a prefix the embedded fonts don't load even when using an absolute
path.
I don't know if there are ways to reinforce this using CSS or there is
some kind of DNS issues with the www. that I need to edit, but I'm all out
of options of how to fix this.
could anyone share some help with this?
http://garrettlockhart.com http://www.garrettlockhart.com
@font-face {
font-family: 'Book';
src: url('fonts/futurastdbook.eot');
src: local('☺'), url('fonts/futurastdbook.woff') format('woff'),
url('fonts/futurastdbook.ttf') format('truetype'),
url('fonts/futurastdbook.svg') format('svg');
}
@font-face {
font-family: 'Bold';
src: url('fonts/FuturaStd-Bold.eot');
src: local('☺'), url('fonts/FuturaStd-Bold.woff')
format('woff'), url('fonts/FuturaStd-Bold.ttf') format('truetype'),
url('fonts/FuturaStd-Bold.svg') format('svg');
}
@font-face {
font-family: 'Medium';
src: url('fonts/futurastdmedium.eot');
src: local('☺'), url('fonts/futurastdmedium.woff')
format('woff'), url('fonts/futurastdmedium.ttf') format('truetype'),
url('fonts/futurastdmedium.svg') format('svg');
}

No comments:

Post a Comment