|
Posted by traditore on May 13, 2006, 2:08 pm
Please log in for more thread options
Hello David.
I thank you very much about your complete information. Now I know that must
forget it, at less until 2008.
Regards,
GGG
> traditore wrote:
> > Hello.
> >
> > I'm trying to load fonts in a web page using "style" tag. The TTF files
are
> > in other page whose URL is, for example, "http://myURL/fonts". The HTML
> > code is something like:
> >
> > <html>
> > <head>
> > <style>
> > @font-face {
> > font-family: "akbar";
> > src: url("http://myURL/fonts/Akbar.TTF");
> > }
> > @font-face {
> > font-family: "gino";
> > src: url("http://myURL/fonts/GinoSchool.ttf");
> > }
> > </style>
> > </head>
> > <body>
> > <font color="#000000" size="12" face="akbar">texto con fuente cargada
Akbar
> > </font>
> > <font color="#000000" size="12" face="gino">texto con fuente cargada
Gino
> > </font>
> > </body>
> > </html>
> >
> > Sometimes I can view the first text in Akbar font if I load the Akbar
TTF
> > (by clicking over the TTF file) but never the second text.
> >
> > Can someone help me?
> >
> > Thank you very much.
> >
> > GGG
> >
> >
>
> You are trying to use a capability that is not generally implemented.
> The @font-face style-sheet capability was specified in CSS2 but deleted
> when CSS2 was replaced by CSS2.1. Web fonts are proposed for CSS3,
> still using the @font-face syntax. However, this part of CSS3 is not
> scheduled for final publication until 2008.
>
> The best advice would be to specify a font-family with a small number of
> specific alternative fonts, ending with one or two generic families
> (e.g., serif, cursive). Give the user the ability to choose his or her
> own fonts.
>
> --
>
> David E. Ross
> <http://www.rossde.com/>
>
> Concerned about someone (e.g., Pres. Bush) snooping
> into your E-mail? Use PGP.
> See my <http://www.rossde.com/PGP/>
|