loading fonts

liunx

Guest
I have this font on my windows 2000 system..<br />
its the 'chiller' font.<br />
but ive seen my site on other windows systems and they dont have the font on their system. so my site looks different.<br />
<br />
can i load this font into their winXX/font directory?<br />
or is there something else i can do<br />
<br />
any advice would be appreciated.<!--content-->The best option is to list optional fonts in the CSS, the last being the generic type.<br />
<br />
<style type="text/css"><br />
<!--<br />
body {font-family:chiller, bart, "Rage Italic", fantasy;}<br />
--><br />
</style><br />
<br />
Or you can have the user Download <!--more--> your font:<br />
<br />
<style type="text/css"><br />
<!--<br />
@font-face {<br />
font-family: "MyFont";<br />
src: url("http://www.mysite.com/MyFont");<br />
}<br />
body {font-family:"MyFont";}<br />
--><br />
</style><!--content-->will this automatically load the font into the users proper directory?<!--content-->Try it out! You may want to read font-face Rule MS (<!-- m --><a class="postlink" href="http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/fontface.asp">http://msdn.microsoft.com/library/defau ... ntface.asp</a><!-- m -->) and font-face Rule faq (<!-- m --><a class="postlink" href="http://members.tripod.com/~bhaavana/embedded/faq.html">http://members.tripod.com/~bhaavana/embedded/faq.html</a><!-- m -->) before attempting this.<!--content-->You can also find more infomation on WEFT at <!-- m --><a class="postlink" href="http://www.microsoft.com/typography/web/embedding/weft2/default.htm">http://www.microsoft.com/typography/web ... efault.htm</a><!-- m --><!--content-->You might like to also study the CSS 2.1 WD <!-- m --><a class="postlink" href="http://www.w3.org/TR/CSS21">http://www.w3.org/TR/CSS21</a><!-- m --> and remember that WEFT only covers M$ browsers.<!--content-->True, but unless I missed something, CSS alone doesn't allow one to embed fonts. I see no real danger in using WEFT, as long as a default/secondary font is set for other, better browsers.<!--content-->Though within CSS 2.1 @font-face is likely to be removed in favour of an SVG solution, so yes use it with extreme caution but provide fallbacks.<!--content-->
 
Back
Top