Click to See Complete Forum and Search --> : Font visitor has not it! How to?


said_fox
01-25-2004, 03:35 PM
Hi,
How can I solve the following problem,
I have a nice font, let its name myfont.ttf. What can I do to make the visitor of my website able to view a text on my web page using this font. i.e
<font face="myfont">The text</font>
or in css
.pasket{
font-family: myfont
}
<div class="pasket">The text</div>
Is there any way to make the visitor's local machine to use myfont in displaying the text?:confused:

spufi
01-25-2004, 05:08 PM
I believe somebody around here has a link to something that might answer your question, but you should define a default font just incase the user doesn't have the font you want them to have and then their browser knows what kind of font it should use instead.

http://www.w3.org/TR/CSS21/fonts.html#font-family-prop

said_fox
01-25-2004, 06:17 PM
Previousely, I already know that font name, I regareded in my code is not available on the visitor's machine or OS.
What I mean with my question is to ask about a way that permit user's machine to use the font which I placed it on the web server to display the maintained text by it. Something like plugin, that's I mean.
Is there a way to do that?

Paul Jr
01-25-2004, 06:34 PM
W.E.F.T. ? (http://www.microsoft.com/typography/web/embedding/weft/default.htm)

said_fox
01-25-2004, 06:48 PM
:) Thank you Paul
You have told me by your reply that using default fonts is more better because it's easier!. I will use default fonts for ever.