Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Problems with @font-face fonts on iPhone Re: Problems with @font-face fonts on iPhone

#97209
lee
Member

@Paulie_D: Thanks for the article. Ironically, the font that does work doesn’t match its fragment identifier, and the font that doesn’t work does match its fragment identifier. So somehow that’s not what’s affecting me.

@ChristopherBurton: Your page works for me too.

Digging a little deeper I’ve realized that iOS 5 doesn’t use the .svg file anymore, that’s just for older versions of iOS—it’s actually using the .ttf file. So I’m wondering if that’s where my problem is. I don’t think it’s a font file or css issue—as the font loads properly everywhere else.

I found this article at Font Squirrel: Troubleshooting Font-Face Problems

The only thing I can think of is that somehow the .ttf file is getting blocked through apache or MAMP when I try to view it locally on an iOS device. I tried inserting the first bit of code the article recommends into my httpd.conf file, and no luck there. I would try the second piece of code, but I’m lost as to what my “calling domain” is.

This is the only other thing I can think of, but I need some help with understanding what that article means (what’s an IIS server?). Thanks again for your help with this guys.