Re: [alreq] Underlines too close to text (#223)

Thanks @hober but this particular issue is focused on Arabic, and unfortunately, text-underline-position: from-font doesn't appear to work very well for Arabic. See [this test](https://w3c.github.io/i18n-tests/exploratory/text_decoration/int-text-decor.html?lang=ar&fontSize=36&fontFamily=noto%20naskh%20arabic&width=715&height=266&textDecorationLine=underline&textUnderlinePosition=from-font&textDecorationStyle=solid&textDecorationColor=red&textDecorationThickness=&textUnderlineOffset=&textDecorationSkipInk=auto&textDecorationSkipSpaces=start&textDecorationSkipInset=none&height=266&text=%3C%2Fp%3E%D9%84%D9%83%D9%84%20%D8%A3%D9%86%20%D9%84%D9%87%D9%85%20%D9%85%D9%85%D9%90%20%D9%81%D9%8A%D9%90%20%D9%81%D9%8A%20%D8%B9%D8%AD%20%D8%BA%20%D8%A5%D8%A3%D9%8E%D9%83%D9%8E%D9%91%3C%2Fp%3E%3Cp%3E%D9%84%D9%83%D9%84%20%D8%A3%D9%86%20%D9%84%D9%87%D9%85%20%D9%81%D9%8A%20%D8%B9%D8%AD%20%D8%BA%20%D8%A5%D8%A3%D9%8E%D9%83%D9%8E%D9%91%3Cp%3E)

You can type various font names in the provided field. [Find system fonts here.](https://r12a.github.io/scripts/fontlist/?script=arab#result)

I tried most of the Mac system fonts and Noto and SIL fonts, and in no case did the underline clear the diacritics. In many cases the line didn't clear the ijam marks, and in many more the line position was just under the baseline, which is very problematic.



-- 
GitHub Notification of comment by r12a
Please view or discuss this issue at https://github.com/w3c/alreq/issues/223#issuecomment-901095260 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 18 August 2021 13:01:01 UTC