W3C home > Mailing lists > Public > www-style@w3.org > January 2015

More granularity for font-weight?

From: Kenji Baheux <kenjibaheux@chromium.org>
Date: Thu, 8 Jan 2015 13:27:34 +0900
Message-ID: <CADWWn7XLi5LfFaRbt0wqTbEiVhAZXGG+z6CKnjLAiZaxRg8dog@mail.gmail.com>
To: www-style@w3.org

Currently CSS font-weight can take a few fixed number values: 100, 200,
300, ..., 900

It was brought to my attention that fonts with intermediary font-weights
seems to be more common lately:
 - Roboto and Noto Sans CJK have a 250 thin font variant
 - Apparently Windows has been shipping with 350 semi-light fonts for quite
a while now:
    - LeelUIsl.ttf: Leelawadee UI Semilight
    - NirmalaS.ttf: Nirmala UI Semilight
    - segoeuisl.ttf: Segoe UI Semilight
    - seguisli.ttf: Segoe UI Semilight Italic

I have been floating this around to a few folks to gather initial feedback.
Notably, Bram Stein from Adobe investigated the behavior of different
browsers when presented with non-standard font-weight values:

   "I’ve tested on all browsers I have access to (IE6+, Android 2.2+, iOS
4+, Firefox, Chrome, Opera, Safari, BlackBerry, etc.)
    and all of them fall back to “normal” when they don’t recognize a font
weight value (in either @font-face or by itself).
     My test case is here: https://github.com/bramstein/font-weight-test"

Should the restriction on font-weight be relaxed?
 - all positive integers?
 - all integers between 100 to 900?
 - add 50 increments between 100 to 900?

Received on Thursday, 8 January 2015 04:28:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:50 UTC