W3C home > Mailing lists > Public > www-style@w3.org > November 1999

Re: @font-face rules

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Sun, 14 Nov 1999 11:49:19 +0000 (GMT)
To: Erik van der Poel <erik@netscape.com>
cc: www-style <www-style@w3.org>
Message-ID: <Pine.GSO.4.04.9911141146520.8259-100000@mary.bath.ac.uk>
On Tue, 9 Nov 1999, Erik van der Poel wrote:

> CSS2, section 15.3.1:
>   Note that if the font 'Robson Celtic' had been installed on the
>   client system, this would have caused the UA to add an entry in
>   the font database for the installed copy as described in the
>   section on the font matching algorithm. The installed copy
>   would have been matched before the downloadable font in the
>   example above.
> Which part of the CSS2 spec specifies how the various @font-face rules
> override each other?

The penultimate paragraph of section 15.3.1 reads:
# If a font descriptor is duplicated, the last occurring descriptor
# wins and the rest must be ignored.

> Does this mean that the document can specify its own font
> descriptors for the generic font "serif", and that these descriptors
> will be used rather than the UA's own descriptors?

Yes, since the 'font-family' descriptor takes <generic-family> and the
author's CSS sheet comes after the UA's.

Ian Hickson
"So far, people have shown a reasonable amount of sense in evaluating
souls (whether they are properly priced)."
  -- Nick Gibbins; Author of http://totl.net/Soul/, 1999-10-05
Received on Sunday, 14 November 1999 06:49:22 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:52 UTC