W3C home > Mailing lists > Public > www-font@w3.org > January to March 2011

Re: CSS3 font-weight, OFF OS2.usWeightClass, and weights which are not a multiple of 100.

From: John Daggett <jdaggett@mozilla.com>
Date: Wed, 16 Feb 2011 00:40:54 -0800 (PST)
To: David Berlow <dberlow@fontbureau.com>
Cc: www-font@w3.org
Message-ID: <415284455.358724.1297845654158.JavaMail.root@cm-mail03.mozilla.org>
David Berlow wrote:

> What is it good for now? Absolutely nothing. Can we assume
> width is also made useless too by the misinterpretation of 000
> to 999 as ten values?

Hmmm, on closer examination the OpenType spec defines the
usWidthValue [1] as a two-byte unsigned short (i.e. 0 - 65535)
but with a defined set of width values running from 1 - 9:

  1   Ultra-condensed     FWIDTH_ULTRA_CONDENSED  50
  2   Extra-condensed     FWIDTH_EXTRA_CONDENSED  62.5
  3   Condensed           FWIDTH_CONDENSED        75
  4   Semi-condensed      FWIDTH_SEMI_CONDENSED   87.5
  5   Medium (normal)     FWIDTH_NORMAL           100
  6   Semi-expanded       FWIDTH_SEMI_EXPANDED    112.5
  7   Expanded            FWIDTH_EXPANDED         125
  8   Extra-expanded      FWIDTH_EXTRA_EXPANDED   150
  9   Ultra-expanded      FWIDTH_ULTRA_EXPANDED   200
  
What misinterpretation of width values are you thinking about? 
Specifically, I don't see there being a definition of width
values running from 000 to 999.

Regards,

John Daggett

[1] http://www.microsoft.com/typography/otspec/os2.htm#wdc
Received on Wednesday, 16 February 2011 08:41:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 11 June 2011 00:14:10 GMT