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

> The following shows that for vowelled text the result is 
unfortunately much worse.

@r12a, actually, IMHO, some of those results are actually the best you
 can get out of the font. For example, the Noto Nastaliq Urdu:

![image](https://cloud.githubusercontent.com/assets/37169/23231425/8db60254-f8fc-11e6-8648-2079982561df.png)

> Using a fixed value makes sense I guess since you don’t generally 
want the underline position to change between different lines based on
 their context, but may be the descender is not the best choice at 
least for Arabic since glyphs tend to go past the ascender and 
descender rather often, no idea what would replace it though.

@khaledhosny, as we have seen in various examples, it does happen that
 some letters (or diacratics) cross the descender line in Arabic 
script text, and I thought we agreed that there's nothing wrong with 
that.

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?

-- 
GitHub Notification of comment by behnam
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/1055#issuecomment-281800438
 using your GitHub account

Received on Wednesday, 22 February 2017 20:54:49 UTC