views:

58

answers:

3

So firefox doesn't want to load my fonts, the path is right I also so the request in Firebug, but it won't render it. On other browser it works perfect, here is my code:

@font-face {
font-family: 'Gill Sans';
src: url('/fonts/gillsansstd-webfont.eot');
src: local('☺'), url('/fonts/gillsansstd-webfont.woff') format('woff'), url('/fonts/gillsansstd-webfont.ttf') format('truetype'), url('/fonts/gillsansstd-webfont.svg#webfontCBlAmwSC') format('svg');
font-weight: normal;
font-style: normal;
}

I'm using wordpress and site address is set to www.site.com si i've read that on www. sites firefox won't render the fonts or something like that.Do you know a solution or something?

A: 

try to use full URL path.

bangbambang
Tried, I also tried with base url....no success
Uffo
A: 

This will probably help, or more directly.

I hope this helped, it seems they specifically support OpenType & TrueType.

J Pollock
Doesn't work i've added: `src: local('Gill Sans Std'), local('Gill Sans');`
Uffo
A: 

Solved when you link the css file just do /path/to_the_file

Uffo