Jump to content


Photo

Using Unique Font


  • Please log in to reply
9 replies to this topic

#1 onlyican

onlyican
  • Members
  • PipPipPip
  • Advanced Member
  • 921 posts
  • LocationHants - UK

Posted 26 August 2006 - 10:19 PM

Hey
Mods: 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" font

I have been told I can use this on my website, by uploading it to the server

Is this true?

Is so, how do I go about doing this, and linking to that font, so I can use it.

Many thanks
Tell me the problem, I will try tell you the solution

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 26 August 2006 - 10:20 PM

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

#3 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 26 August 2006 - 10:25 PM

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 http://www.microsoft...mbedding/weft3/ [WEFT] technology which might result in your font being displayed on a visitor's web page.  Tricky and time-consuming.
Legend has it that reading the manual never killed anyone.
My site

#4 onlyican

onlyican
  • Members
  • PipPipPip
  • Advanced Member
  • 921 posts
  • LocationHants - UK

Posted 26 August 2006 - 10:32 PM

Thanks for the quick reply
I think I will stick with the standard Arial. Cross Browser Friendly then.
Tell me the problem, I will try tell you the solution

#5 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 26 August 2006 - 10:36 PM

I'm not sure that Arial is part of the Mac default font set ... arial, helvetica is the solution if that's the case.
Legend has it that reading the manual never killed anyone.
My site

#6 onlyican

onlyican
  • Members
  • PipPipPip
  • Advanced Member
  • 921 posts
  • LocationHants - UK

Posted 26 August 2006 - 10:44 PM

Sorry, I will use the the following
font-family: Arial, Helvetica, sans-serif;
Which I normally do anyway.
Tell me the problem, I will try tell you the solution

#7 alecjw

alecjw
  • Members
  • PipPipPip
  • Advanced Member
  • 31 posts
  • LocationHatfield, Herts, UK

Posted 27 August 2006 - 04:30 PM

Sorry, I will use the the following
font-family: Arial, Helvetica, sans-serif;
Which I normally do anyway.

As far as I know, none of those fonts are included in linux. Try:
font-family: Arial, Helvetica, Deja Vu Sans, sans-serif;


#8 onlyican

onlyican
  • Members
  • PipPipPip
  • Advanced Member
  • 921 posts
  • LocationHants - UK

Posted 27 August 2006 - 09:48 PM

if the font is not found on the users machine, then the users standard font will be used wont it
Tell me the problem, I will try tell you the solution

#9 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 27 August 2006 - 10:02 PM

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.

#10 onlyican

onlyican
  • Members
  • PipPipPip
  • Advanced Member
  • 921 posts
  • LocationHants - UK

Posted 28 August 2006 - 04:09 AM

So
My 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 Soft
A font will be selected, and the text will be shown
Tell me the problem, I will try tell you the solution




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users