W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2017

Re: [csswg-drafts] [css-text-decor] Results for text-underline-position: under

From: Khaled Hosny via GitHub <sysbot+gh@w3.org>
Date: Wed, 22 Feb 2017 22:38:10 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-281828225-1487803089-sysbot+gh@w3.org>
> I'm not sure whether a fixed value would work either.

I meant a fixed font-dependent value.

> And, about the font property value not being set correctly, what do 
you think about why the descender is being set too high (or too low) 
for Arabic fonts?

Since ascender and descender are mainly for line spacing, some 
designers will adjust them to get larger line spacing by default and 
some will do the other way around, so I’m not really sure about 
re-purposing it for underline position, but it might be the best we 
can get so far.

Some fonts in the examples here might just have buggy descenders, for 
example Nafees Nastaliq has very small descender in both OS/2 table’s 
TypoDescent (used mostly by modern applications) and hhea table (used 
commonly on Mac) but much larger value in OS/2’s WinDesent (used 
commonly by Windows applications, especially old ones), which might be
 a result of the font being tested mainly on Windows rather than an 
intentional choice.

-- 
GitHub Notification of comment by khaledhosny
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/1055#issuecomment-281828225
 using your GitHub account
Received on Wednesday, 22 February 2017 22:38:17 UTC

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