W3C home > Mailing lists > Public > www-style@w3.org > March 2010

Re: bolder/lighter defintion

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 23 Mar 2010 22:32:47 -0700
Message-ID: <4BA9A3FF.1080906@inkedblade.net>
To: "L. David Baron" <dbaron@dbaron.org>
CC: John Daggett <jdaggett@mozilla.com>, www-style <www-style@w3.org>
On 03/23/2010 08:24 PM, L. David Baron wrote:
> On Tuesday 2010-03-23 16:23 -0700, fantasai wrote:
>> The problem with this proposal is that it doesn't roundtrip very well.
>> If I start at 300 and go bolder, then lighter, I don't get back to my
> Is there a use case for that?  Is lighter inside bolder something we
> expect to be common?  In what cases?  Do they rely on this
> invariant?

I don't have any expectations of whether it would be common or uncommon,
but I find it disturbing that round-tripping would not work for so many
starting values and that in a font with 9 weights as soon as you start
using 'bolder' or 'lighter' you drop out half the possible weights.
If there's no good reason to break this, I don't think we should.

The table I came up with has equivalent behavior to John's for a
100,400,700,900 font. Assuming you're mapping to the font tables after
calculating the computed value (which is what I thought we'd agreed on),
I don't see why we need to lose precision here for fonts with a greater
range of weights.

Received on Wednesday, 24 March 2010 05:33:23 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:44 UTC