Tell me more ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

The fonts on my website displays normal on all PC browsers at the moment except on Apple mobile devices (testing with iPhone). Safari on my PC falsely renders the font-family and size in the beginning and then miraculously corrected itself without me doing nothing. But still on the iPhone, the correct font-family and size have been replaced by Time New Roman, the default one I guess, which turns my website horrendous and unprofessional looking. Please guide me what it seems to be the problem, why iPhone choose to display the basic font instead of the chosen ones?

Solution:

I have found quite an easy solution for my case after posting the question here. I forgot to import @font-face into CSS that was the reason why Safari on iPhone falsely rendered the fonts. What I just did is:

  1. Copy the font file from your PC and paste into fonts folder path where your website files reside.
  2. @font-face in CSS (I assume that you all might know how to do this.)

Those are the basic steps which could cure fonts problem on iPhone but new problem has arise as of now Firefox falsely displays all those fonts instead. Well hope this helps.

share|improve this question
Can you provide a link to the page and paste your CSS to pastebin and provide a link? – afragen Feb 25 '12 at 2:13
I think this is possibly due to a different version of Safari on the iPhone. I've tried the css @font and it does not load it. I've also tried it in iBooks. It would be nice to know the solution if there is any to this problem. – ismail Feb 25 '12 at 2:20
This might be a good one for www.stackoverflow.com as well. Also, examples go a long way. – bassplayer7 Feb 25 '12 at 2:56
Welcome to Ask Different! Questions about programming and development are off topic here. Please take a look at the FAQs for more info. Thanks. – Nathan Greenstein Feb 25 '12 at 3:31

closed as off topic by Nathan Greenstein Feb 25 '12 at 3:31

Questions on Ask Different are expected to relate to Apple hardware or software within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.