[csswg-drafts] [css-fonts-5] Make `unicode-range` syntax suck less (#7921)

LeaVerou has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts-5] Make `unicode-range` syntax suck less ==
Right now `unicode-range` accepts everything in terms of codepoints. For example:

```css
/* yen, kanji, hiragana, katakana */
unicode-range: U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F;
```

This has several problems:
- It's hard to read, even if you want to specify specific characters, you need to find their codepoints
- Broader character classes (e.g. Japanese letter, Emoji, Digit) need to be specified manually, which is error-prone
- There is no exclusion syntax (all characters in the font minus these), the range needs to be tediously constructed by starting from `U+0000` and ending at `U+FFFF` breaking as needed in between. 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7921 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 19 October 2022 17:19:01 UTC