Using the @font-face rule...Help please.

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

 Date:  Mon, 11 Oct 1999 09:29:02 +0100
 To:  hwg-style(at)hwg.org
  todo: View Thread, Original
I'm having a real nightmare trying to get the @font-face rule working in
some HTML.
I've designed a page using some specialist fonts, and in order to get
away from the horrible "You need these fonts, click here to download"
I've been trying to get them into a style sheet.
I've uploaded the '.ttf' files to the server in a subdirectory called
'fonts' and include the two variations on the syntax that I've tried.
Neither of these actually pick up the specialist font unless it is
installed on the local machine.
I'm desperate to get this working and have been scouring the newsgroups
and the Guild FAQ's to try and find out what I'm doing wrong. 
If I can't get this fixed I'll have to resort to making my text into a
'.gif' and displaying it on the page as a graphic. Help me please...
Here's the offending style sheet, if you can point out the error of my
ways I'll be so grateful.

<STYLE type="text/css">
<!-- Hide from non style browsers
   @font-face {font-family: "GE ElegantScript";
               src: local("GE ElegantScript"),             
               url("http://www.Andeavour.freeserve.co.uk/fonts/GE
ElegantScript") format("truetype")}
   @font-face {font-family: "Corabael"; 
                src: local(Corabael),
                url(fonts/Corabael);}
// done hiding -->
</STYLE>

Regards, 

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.