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

Re: bolder/lighter redefinition

From: Thomas Phinney <tphinney@cal.berkeley.edu>
Date: Thu, 4 Jun 2009 08:26:58 -0700
Message-ID: <f49ae6ac0906040826n6d2931e7uf97ef4c38b1bf65e@mail.gmail.com>
To: John Daggett <jdaggett@mozilla.com>
Cc: www-style <www-style@w3.org>
I'll just say one last time, taking a numeric property, treating it as
a text string label, and doing this sort of process on it seems like a
really bad idea.

As the purpose seems to be to assign specific output numbers for any
input number, you could instead do ranges. For example:

Inh. Val.	bolder	lighter
<301		400	100
301-500	700	100
501-750	900	400
751+		900	700

I think that would actually work with the range of fonts out in the real world.

Cheers,

T
Received on Thursday, 4 June 2009 15:27:36 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:18 GMT