Transmission Line Noise

Font Fam­i­lies and the iPhone

Mon, Sep 14, 2009

Nor­mally in a web app i would put a font-family in the CSS some­thing like this

" font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;"

This way i cover my bases as to whether the tar­get browser can han­dle the var­i­ous fonts and will fail grace­fully if it is miss­ing some.

How­ever that are only a lim­ited num­ber of fonts on the iphone and pre­sum­ably if you only spec­ify one, say Hel­vetica, the iPhone will always have that font and use it. So i don’t really need a font-family. Do I?

A good rea­son given for at least adding the sans-serif font into the font-family is that Apple may change the iPhone or Safari in the future, so this would have some degree of future proofing.