W3C home > Mailing lists > Public > www-style@w3.org > May 2009

Re: bolder/lighter defintion

From: Thomas Phinney <tphinney@cal.berkeley.edu>
Date: Tue, 19 May 2009 08:33:41 -0700
Message-ID: <f49ae6ac0905190833v7f48ef0i3d499b3bd671f531@mail.gmail.com>
To: Stephen Zilles <szilles@adobe.com>
Cc: John Daggett <jdaggett@mozilla.com>, www-style <www-style@w3.org>
On Mon, May 18, 2009 at 7:16 PM, Stephen Zilles <szilles@adobe.com> wrote:
> I do not think it is a big deal to map the above values to weights in the 100-900 range. In the above case, using the nearest greater multiple of 100 would give 200(175), 300, 400, 600(550), 700(650), 800. Then the existing rules in CSS 2.1 section 15.6 for filling the holes would make 100 be the same as 200 and 900 be the same as 800. This does not solve the issue of the "bolder/lighter" computed value skipping some weights; it only gives a way of making the above font work in the font matching algorithm. (Note that there were no weight collisions (two weights getting the same table entry) in the above font using the nearest greater multiple of 100, but one could see that such collisions might actually happen if weights are less than 100 units apart.)

Just to explain more, the evils inflicted by GDI apps mean that
weights below 250 don't work, *and* restrict what weights one can use
when style-linking is involved to weird relationships.

Cases where two weights in a family differ by less than 100 are not
the most common, but are not at all unusual, either. For example,
*any* family (in the Mac/Adobe/WPF sense) that works in Windows apps,
and has two weights which are both lighter than "regular" will have
two weights that differ by less than 100. Just off the top of my head,
my own Hypatia Sans (registration incentive for Adobe's Creative Suite
3), Lithos (one of the most popular retail fonts on the planet, also
bundled with CS apps), Gotham (the President's logo typeface) all have
this characteristic.


Received on Tuesday, 19 May 2009 15:34:23 UTC

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