You just need confirmation for this: Firefox is currently not well suited for selecting custom fonts through a subdomain via a font-face tag. Other browsers do this without a problem.
A little research came up saying that I needed to install Access-Control-Allow-Origin, as shown in the link here: http://pastie.org/653265
Essentially, I have my blog at kaushikgopal.com/blog, and I tried to access the fonts that are available on font.kaushikgopal.com on this blog. I tried to change the same in the .htaccess file but could not solve the problem. (I placed the .htaccess file in the font subdomain folder and directly pasted the code from the above link).
I sent a ticket to dreamhost asking for help, and they were useful in a clear statement: "We do not support Access-Control-Allow-Origin on shared hosting servers."
So I did not go on a subdomain route for fonts. But I'm a little curious, has anyone tried this (with a dreamhost hosting account would be helpful)? I just want to confirm what the tech support guy suggested, and there is no other way.
Thank.
Another good link explicitly indicating a problem:
http://www.stevesouders.com/tests/font-face/xdomain.php
source
share