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

> 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