W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2020

Re: [csswg-drafts] [css-text][css-fonts] Optical bounds of a line (#5466)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Thu, 27 Aug 2020 17:47:35 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-682096984-1598550454-sysbot+gh@w3.org>
@svgeesus It definitely doesn't belong with the alignment properties. They're about how we align, not how we measure the thing we're aligning.

You're referring to this as "optical alignment" but really it's about using the optical “bounds” of the glyph: where is the line that, in a block of text of the same font/size, would optically coincide with the edge? This might not be considered "pairs kerning", but it is about kerning--about the glyph projecting beyond its allotted space.

(Also, I think true optical alignment would have to consider also the relative sizes of the actual text being aligned; I suspect optically left-aligning a “W” that's 3x the text above and below it would use different coordinates than if the text was all the same size.)

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 27 August 2020 17:47:38 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:13 UTC