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

What about letting the author decide whether the the user agent should
 use the underline (and similar) information from the font itself?
Something like -
```css
@font-face
{
 /* 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 
https://github.com/w3c/csswg-drafts/issues/459#issuecomment-269743354 
using your GitHub account

Received on Friday, 30 December 2016 08:01:27 UTC