Font File Loading

liunx

Guest
Hey,

I am making a new template and it has some fonts that many people wouldnt have on their system.. How could I have the CSS directly use the font file off of my site. Like it grabs the font file and uses it.. I know this is possible because a while back I found a CSS script that did it.. But the site was a very small javascript and css site. it had like 3 scripts. anyway does anybody know where to find it or how to do this?Take a look at WEFT (<!-- m --><a class="postlink" href="http://www.microsoft.com/typography/web/embedding/weft/default.htm">http://www.microsoft.com/typography/web ... efault.htm</a><!-- m -->)Originally posted by Kyleva2204
Hey,

I am making a new template and it has some fonts that many people wouldnt have on their system.. How could I have the CSS directly use the font file off of my site. Like it grabs the font file and uses it.. I know this is possible because a while back I found a CSS script that did it.. But the site was a very small javascript and css site. it had like 3 scripts. anyway does anybody know where to find it or how to do this?
WOW THANKS MAN!!!You are welcome... :)One Gotcha with WEFT... be careful when it offers to update your website (which it wants to do, to put the CSS pseudo-tags into your files.)

It flattens things out... so if you had ASP or PHP, it puts the HTML that came from the server back... the <% %> tags with all your logic disappear.

Best to let it read your site, create the FOT files, and then make the changes by hand... And backup your site before you do this.

(Yes, I've been bitten by this.)

But that aside, it works quite well. Check my old website, <!-- m --><a class="postlink" href="http://mediusres.com/pierce/">http://mediusres.com/pierce/</a><!-- m --> for a sample... the uppercase characters in the margin, and the captions on the sub pages use it.Originally posted by PierceThorne
One Gotcha with WEFT... be careful when it offers to update your website (which it wants to do, to put the CSS pseudo-tags into your files.)

It flattens things out... so if you had ASP or PHP, it puts the HTML that came from the server back... the <% %> tags with all your logic disappear.

Best to let it read your site, create the FOT files, and then make the changes by hand... And backup your site before you do this.

(Yes, I've been bitten by this.)

But that aside, it works quite well. Check my old website, <!-- m --><a class="postlink" href="http://mediusres.com/pierce/">http://mediusres.com/pierce/</a><!-- m --> for a sample... the uppercase characters in the margin, and the captions on the sub pages use it.
I messed around with WEFT befor doing anything. But I figured its just 100% easer to insert the CSS by hand. :)Just so you know that only works in Microjunk Internet Exploerer.

MNS
 
Back
Top