@font-face

by Paul.Anderson(at)atos.co.uk

 Date:  Thu, 28 Oct 1999 08:20:31 +0100
 To:  hwg-style(at)hwg.org
  todo: View Thread, Original
Hi everybody.
Thanks for all your help with this. I've managed to get the rule working
(sort of) in Internet Explorer. The trick is to create an embedded font
file (.EOT) using Microsoft Weft, then put this up on the server and
point the rule at it.
Still got some problems though...
This was my original syntax:
@font-face {font-family: "Corabael"; 
                src: local(Corabael),
                url(fonts/Corabael);}

What I found was that even after creating the EOT file and loading it
onto the server, changing the syntax to 

@font-face {font-family: "Corabael"; 
                src: local(Corabael),
                url(fonts/CORABAE.EOT);}

made no difference. However if I then remove the 'src: local' protion of
the command it works fine, the font is downloaded and the webpage is
viewable just fine. (Check out www.andeavour.freeserve.co.uk
<http://www.andeavour.freeserve.co.uk>  and you should see it in GE
ElegantScript font regardless of whether you have the font installed
locally.) What this seems to imply is that there is now way to use the
local version of this font if the viewer has it installed, you have to
download it from the net. Not entirely satisfactory, but it does at
least let people see the site as I designed it. Now I just have to get a
copy of that Typograph tool that lets me build a font file for use on
Netscape Navigator. Then a quick bit of JavaScript to determine what
browser is being used and from this determine which style sheet to use.

Does anyone know if a tool for building embedded fonts for Opera exists?

Paul Anderson
Atos Sytems Analyst
paul.anderson(at)atos.co.uk <mailto:Paul.anderson(at)atos.co.uk> 	
tel 01706 89 1075

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.