Previous Message
Next Message

CSS for custom fonts

Sent by Dejan Kozina on 24 March 2006 13:01


EOT (stands for Embedded Object Type) was an attempt to define a 
standard font format back in the era of v.4 browsers. I had to dig 
across long forgotten code to retrieve these snippets:

@font-face { font-family: myfont; font-style:  normal; font-weight: 
normal; src: url(fontname.eot); }
body { font-family: myfont, Times, "Times New Roman", serif; }

It only worked in IE. You had to use Microsoft's WEFT to convert a font 
into .eot (using a sample page, because it always wanted to rewrite all 
your files itself). No matter what the webpage at 
http://www.microsoft.com/typography/web/embedding/weft3/ says, the 
latest version of WEFT was 5.3.2 and you had to register into 
Microsoft's VOLT Community to obtain it.

A word of caution: when converting to .eot you had to explicitly list 
the web adresses where the font was to be used (kind of rudimentary 
DRM), so your downloaded .eot might work fine when testing from disk 
(because the original developer would have listed 'file:///c:\' as a 
valid source for testing) but fail to embed when called from your 
webserver. As far as I can remember there was no way to put * into the 
domain list...

At the same time there was a (commercial) tool to do the same in NN4, I 
believe it was called Webfont Master by Bitstream. This software has 
vanished from Bitstream's website long ago. The produced format (can't 
remember what it was called) was purportedly compatible with IE(4) too.

sIFR really seems as a more sensible solution overall (if only I could 
make it work with ems...)

djn


>> It would be a great help to get that CSS code, the file is named 
>> Dirtyego.eot and comes from dafont.com (dorry for spam)

-- 
Dejan Kozina
Dolina 346 (TS) - I-34018 Italy
tel./fax: +39 040 228 436 - cell.: +39 348 7355 225
http://www.kozina.com/  - e-mail: [EMAIL-REMOVED]
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: