onlyican Posted August 26, 2006 Share Posted August 26, 2006 HeyMods: Sorry, not sure where to post this, I live in here, Move if u like (I know u will anyway)I have a font, which is not a "Standard" fontI have been told I can use this on my website, by uploading it to the serverIs this true?Is so, how do I go about doing this, and linking to that font, so I can use it.Many thanks Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 26, 2006 Share Posted August 26, 2006 Yes yiou can use a technique called WEFT. Search for it in google.Also this is a HTML question rather then PHP so i'll move it Quote Link to comment Share on other sites More sharing options...
AndyB Posted August 26, 2006 Share Posted August 26, 2006 Basically, only fonts that exist on the client computer can be displayed by the client browser, i.e. if I don't have amazingly_awful.ttf on my computer it will not display even if it's on your server and defined in your html/CSS code.There are three alternatives:#1 - the best: don't use non-standard fonts#2 - restrict the use of non-standard fonts to images. There's an obvious accessibility problem with that since screen readers can't read images. Google for IFR or sIFR for some reasonable CSS workarounds. Using images can be either static images you create or dynamic images generated by GD at runtime.#3 - attempt to use Microsoft's [url=http://www.microsoft.com/typography/web/embedding/weft3/]http://www.microsoft.com/typography/web/embedding/weft3/[/url] [WEFT] technology which might result in your font being displayed on a visitor's web page. Tricky and time-consuming. Quote Link to comment Share on other sites More sharing options...
onlyican Posted August 26, 2006 Author Share Posted August 26, 2006 Thanks for the quick replyI think I will stick with the standard Arial. Cross Browser Friendly then. Quote Link to comment Share on other sites More sharing options...
AndyB Posted August 26, 2006 Share Posted August 26, 2006 I'm not sure that Arial is part of the Mac default font set ... arial, helvetica is the solution if that's the case. Quote Link to comment Share on other sites More sharing options...
onlyican Posted August 26, 2006 Author Share Posted August 26, 2006 Sorry, I will use the the following font-family: Arial, Helvetica, sans-serif;Which I normally do anyway. Quote Link to comment Share on other sites More sharing options...
alecjw Posted August 27, 2006 Share Posted August 27, 2006 [quote author=onlyican link=topic=105756.msg422579#msg422579 date=1156632284]Sorry, I will use the the following font-family: Arial, Helvetica, sans-serif;Which I normally do anyway.[/quote]As far as I know, none of those fonts are included in linux. Try:[code]font-family: Arial, Helvetica, Deja Vu Sans, sans-serif;[/code] Quote Link to comment Share on other sites More sharing options...
onlyican Posted August 27, 2006 Author Share Posted August 27, 2006 if the font is not found on the users machine, then the users standard font will be used wont it Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 27, 2006 Share Posted August 27, 2006 If the user has specified a defualt font for their browser to use it'll use that font, however by defualt a user will have a defualt font selected, usually sans-sarif. Quote Link to comment Share on other sites More sharing options...
onlyican Posted August 28, 2006 Author Share Posted August 28, 2006 SoMy point is (except the orig question of using a unique font)if the font I mention in the script is not on the users machine, no matter if there using Mac, Linux or Micro N SoftA font will be selected, and the text will be shown Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.