homepage Welcome to WebmasterWorld Guest from 184.73.119.213
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
need to add a font to a website
Ben502



 
Msg#: 4323239 posted 12:52 am on Jun 8, 2011 (gmt 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!

 

BeeDeeDubbleU

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



 
Msg#: 4323239 posted 7:59 am on Jun 8, 2011 (gmt 0)

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.

jinxed

10+ Year Member



 
Msg#: 4323239 posted 8:12 am on Jun 8, 2011 (gmt 0)

You can upload the font to the server and link to that font file within the CSS.

robzilla

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4323239 posted 8:15 am on Jun 8, 2011 (gmt 0)

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.

lucy24

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



 
Msg#: 4323239 posted 6:06 pm on Jun 8, 2011 (gmt 0)

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.

Ben502



 
Msg#: 4323239 posted 6:19 pm on Jun 8, 2011 (gmt 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 ;) )

rocknbil

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



 
Msg#: 4323239 posted 5:18 pm on Jun 10, 2011 (gmt 0)

The iPhone supports Javascript, you could **try** the Cufon library <cough>.

jennyj

5+ Year Member



 
Msg#: 4323239 posted 8:29 am on Jun 28, 2011 (gmt 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)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved