W3C home > Mailing lists > Public > www-style@w3.org > September 2013

Re: [css-fonts-4] Author-friendly unicode-range values?

From: Lea Verou <lea@verou.me>
Date: Wed, 4 Sep 2013 20:48:39 +0300
Cc: www-style list <www-style@w3.org>
Message-Id: <6E4D0CCE-2F20-4EDE-A688-C52E2160F476@verou.me>
To: Tab Atkins Jr. <jackalmage@gmail.com>
On Sep 4, 2013, at 20:10, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> I'm not a fan of the syntax, particularly when you mix codepoint and
> characters, like "a"-U+7F, which parses as STRING(a) IDENT(-U)
> DIMENSION(+7, F) rather than the intended STRING(a) DELIM(-)
> UNICODE-RANGE(U+7F).  A function would work better, as
> "unicode-range('a', u+7f)".

We don’t have to allow combinations then. If people want to combine a character with a codepoint, they can always use the CSS syntax for codepoints in strings, doing things like "a"-"\7F". Adding a function of that sort seems very verbose and ultimately unnecessary.

~Lea
Received on Wednesday, 4 September 2013 17:49:18 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:32 UTC