It seems that the @fontface rule does not work on firefox. It works from internet explorer and chrome though.
I tried adding the following code to the .htaccess file
Header set Access-Control-Allow-Origin "*"
AddType font/ttf .ttf
AddType font/eot .eot
AddType font/otf .otf
AddType font/woff .woff
But it does not seem to be working.
Thanks in advance