W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

Re: [csswg-drafts] [css-fonts-4] [varfont] Problem setting up a "4-style family" with variable fonts (#1289)

From: Adam Twardoch via GitHub <sysbot+gh@w3.org>
Date: Sat, 19 Oct 2019 12:30:02 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-544138754-1571488201-sysbot+gh@w3.org>
Similarly, I may want to load one (primary) variable font resource at one wght descriptor, and map it to the Latin, Cyrillic and Greek Unicode range of the CSS font that I'm creating, with font-family: "MyText" and font-weight: 400.

Then I may want to load another (secondary) variable font resource at a different wght descriptor, and map it to the Unicode ranges of Hebrew or Chinese or technical symbols (say, Noto or Apple SF Symbols) of the very same CSS font. 

The visual weights of my primary and secondary font resources at the same wght value will almost always be **different** (that's the nature of type design), so I want to be able to create a composite CSS font from two or more variable font resources, each of them initialized at a different wght descriptor.

Otherwise, all the CSS font stack, fallback, Unicode range stuff and the white point of CSS font descriptors is kinda useless. And the benefits of using variable fonts for compression and intelligent font fallback are extremely limited. 

And yes, it actually matters for weight **most**. 

GitHub Notification of comment by twardoch
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1289#issuecomment-544138754 using your GitHub account
Received on Saturday, 19 October 2019 12:30:04 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:55 UTC