W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2016

Re: [csswg-drafts] [css-text-decor] text-decoration-thickness & text-underline-position properties

From: r12a via GitHub <sysbot+gh@w3.org>
Date: Thu, 17 Nov 2016 11:54:03 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-261228416-1479383641-sysbot+gh@w3.org>
> now I wonder, since Latin and CJK want different point to start the 
offset from, if there were any other requirements in other writing 
systems?

I'm not clear exactly how this works, but baselines are different not 
only for CJK fonts but also for indic fonts (at least nominally), 
which have a hanging baseline, ie. at the location of the horizontal 
bar in

अंतर्राष्ट्रीयकरण गतिविधि

So i'm not clear whether the starting point for the offset, if it was 
measured from the baseline, would need to be adjusted for each type of
 script in the document.  If so, things would become particularly 
problematic where you have a combination of scripts with different 
baselines on a line.  Not only would you need to markup up text so 
that each part gets its own correct offset, but you'd also have to 
figure out how to have a single underline at the same location under 
and mixed script phrase, eg.

अंतर्राष्ट्रीयकरण गतिविधि, W3C   or   国際化活動 W3C

Hopefully i'm missing something and this won't be an issue?

-- 
GitHub Notification of comment by r12a
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/459#issuecomment-261228416 
using your GitHub account
Received on Thursday, 17 November 2016 11:54:10 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:05 UTC