W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2016

Re: [csswg-drafts] [css-text-decor] Text underlines' positions cannot be fine-tuned

From: PhistucK via GitHub <sysbot+gh@w3.org>
Date: Fri, 30 Dec 2016 08:01:20 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-269743354-1483084878-sysbot+gh@w3.org>
What about letting the author decide whether the the user agent should
 use the underline (and similar) information from the font itself?
Something like -
 /* Standard font properties */
 src: url('font.woff');
 /* A new property, bikeshed later ;) */
 underline: from-source;

Web font factories should (or could) know whether this makes sense or 
not for a certain font and not specify it if they do not know.
Remember that a lot of websites (and fonts) are using a single 
script/language/locale anyway, so the per-locale information is not 
necessarily relevant to them. This could make some big portion of the 
web enjoy accurate underlines (and similar).

This could be in addition or an alternative to `underline-offset`.

GitHub Notification of comment by phistuck
Please view or discuss this issue at 
using your GitHub account
Received on Friday, 30 December 2016 08:01:27 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:27 UTC