- From: Michael Jansson <mjan@borware.se>
- Date: Fri, 31 Mar 2000 12:33:30 +0200
- To: Ash <ash@sch.bme.hu>
- CC: www-font@w3.org
- Message-ID: <38E47EFA.E9FBD333@borware.se>
One thing to note here is that all browsers do not support all font formats. I do not believe that any browser support the TTF file format. You probably want to take your OpenType font and convert it to a more suitable format for the internet. Both the TrueDoc format from Bitstream (supported by Navigator) and the EOT format from Microsoft (supported by IE) are suitable formats. I believe there are freely available converter tools that will convert an OpenType font into these formats. The EOT tool is called WEFT. The size of a converted font is typically 5-20k while a complete TTF is 100-300KB, so it's definitely worth while doing. Also, you may want to support more than one format to ensure that the font is viewable by browsers from different vendors. (FYI - Please note that it is not okay to link fonts to web pages unless you have obtained an appropriate license agreement from the vendor of the font. Some vendors manufactures fonts that may be freely distributable with *your* documents, while other fonts may not. OpenType fonts in particular are marked so that tools can tell if it is ok to embed such a font or not.) - Michael Ash wrote: > Hello! I have a very simple problem: I would like to embedd with CSS a > special font for making dropcaps in my webpage, but somehow it doesn't > want to work.Here is my very short html source: <html> > <head> > <meta http-equiv="Content-Type" content="text/html"> > <title>Test</title> > <STYLE TYPE="text/css"> > @font-face { > font-family: EileenB; > src: url("images/eicbl___.ttf") format("opentype"); > } > B { font-family: EileenB, fantasy; > font-size: 300% } > BODY { font-family: verdana, serif; > background: url("images/bground.jpg"); } > </STYLE> > </head> > <body> > <TABLE cellpadding="15" width="400"> > <TR> > <TD width="20"><BR> > </TD> > <TD> > <TABLE align="LEFT" cellspacing="0" cellpadding="0"> > <tr><td><b><font size="+6">B</font></b></td></tr> </TABLE> > <font size=2 > > lahblahblahblahblahblah blahblahblah blahblahblah blahblah > </font> > </TD> > </TR> > </TABLE> > </body> > </html>The interesting thing is that W3C CSS Validation Service told > me it was correct, but is still doesn't want to show the capital B > with that eicbl___.ttf font. Can anyone help in what can be the > problem? Thanx,Ash
Received on Friday, 31 March 2000 05:33:46 UTC