Re: Problems loading fonts
- From: "traditore" <traditore@xxxxxxxxxxx>
- Date: Sun, 14 May 2006 18:44:32 +0200
Your information is very interesting and clarifying for me. I apologize for
the incorrect use of "load" and, of course, for my bad english.
Thank you very much.
"VK" <schools_ring@xxxxxxxxx> escribió en el mensaje
I'm trying to load fonts in a web page using "style" tag.
OK. Just a note: not "load" but "embed". These fonts do not become part
of your system fonts list, they exist only on the page and they are
gone with the page.
The TTF files are
in other page whose URL is, for example, "http://myURL/fonts".
OK, as long as the embed package is prepared properly.
code is something like:
And here you went off the base. You must got a /really/ old manual:- it
was originally expected that things will work as simple as that back in
95-97's. But font producers and destributors got furious (and for a
reason). So it was required from UA's producers to ensure that 1) font
resource would hold hardcoded data of the resource maker and 2) font
resource would be attached to a fixed list of domains from where it
could be used.
As a result both key players (Netscape and Microsoft) came with two
Portable Font Resource .ptr files on Netscape Navigator ( RFC3073 )
Embedded OpenType .eot files on Internet Explorer
ptr technology went away together with Netscape 4.x
eot technology is still alive and in good health, but supported by IE
Other producers are still waiting for something - I don't know exactly
for what. Maybe they think that copyright restrictions will be
eventually removed (in 2008 or some later)? Or maybe cannot choose
either bring back to life .ptr, or jump on .eot or invent something
3rd? Dark story, anyway.
In any case you can embed fonts right now, which will cover the
majority of your visitors, and provide fallback fonts for not capable
UA's like Akbar, "Comic Sans MS", sans-serif;
Here is embedded Akbar sample:
Note that Akbar.eot can be used only from
<http://www.geocities.com/schools_ring/> folder and not anywhere else.
You also have no option to create .eot files with permission to "use
everywhere". That was the state requirement.
Here is Microsoft own sample:
The needed software can be obtained here:
If you have Netscape 4.x installed (or just for educational purposes)
you may visit <http://www.bitstream.com>, inventor of pfr, for ptr
- Prev by Date: Re: Problems loading fonts
- Next by Date: Re: Fading in and out
- Previous by thread: Re: Problems loading fonts
- Next by thread: Re: Problems loading fonts