Welcome to WebmasterWorld Guest from 54.147.63.124

Forum Moderators: not2easy

Message Too Old, No Replies

need to add a font to a website

     
12:52 am on Jun 8, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Aug 21, 2010
posts: 60
votes: 0


so i am building a site for this little theatre company in town. they have choosen the font choices of, "Tahoma, Geneva, sans-serif". However, those fonts are not showing up on iphones...can i upload the font to their site? where would a person get the font to upload? what bit of code do i need to make it work?

i checked google webfont and did not see any of them there...

thanks yall!
7:59 am on June 8, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member beedeedubbleu is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 3, 2004
posts: 6099
votes: 6


Fonts have to reside locally do they not? As I understand it if a font is specified that is not present for the local browser a near equivalent is used.
8:12 am on June 8, 2011 (gmt 0)

Full Member

10+ Year Member

joined:Jan 2, 2005
posts:330
votes: 0


You can upload the font to the server and link to that font file within the CSS.
8:15 am on June 8, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Sept 25, 2005
posts:968
votes: 69


Officially, Tahoma and Geneva are commercial fonts that you are not allowed to embed into your webpages because that would also allow your visitors to download them from your server, free of charge. You would be forced to find a free look-a-like font, such as "Wine Tahoma Regular", and load it into your pages for iPhone users only (and/or any other mobile devices). The embedding can be done with the CSS3 @font-face selector, but I'm not sure if that's supported by all iPhones, and you might be able to detect iPhone users with JavaScript and/or the User-Agent header.
6:06 pm on June 8, 2011 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

joined:Apr 9, 2011
posts:12717
votes: 244


Little theatre company? Not, say, big software giant in Redmond? Tell 'em to get real and add "sans-serif" to the end of the string.
6:19 pm on June 8, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Aug 21, 2010
posts: 60
votes: 0


HA! Thanks Lucy. sans is already there. don't know if it is showing right on the iphone though. i need to find one to check it out (looks great on my droid though ;) )
5:18 pm on June 10, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
posts:7999
votes: 0


The iPhone supports Javascript, you could **try** the Cufon library <cough>.
8:29 am on June 28, 2011 (gmt 0)

New User

5+ Year Member

joined:July 29, 2009
posts:16
votes: 0


these are the fonts installed on the iphone

American Typewriter
American Typewriter Condensed
Arial
Arial Rounded MT Bold
Courier New
Georgia
Helvetica
Marker Felt
Times New Roman
Trebuchet MS
Verdana
Zapfino


add 'helvetica' to the font-stack - it is fairly similar in size and shape, (or trebuchet if you really must, but it is a very ugly font-face)