[csswg-drafts] [css-inline-3] kerning of initial letter when initial letter has negative side bearing (#5476)

dauwhe has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-inline-3] kerning of initial letter when initial letter has negative side bearing ==
https://drafts.csswg.org/css-inline/#initial-letter-inline-position

> If the initial letter is a non-atomic inline with an automatic inline size and zero padding and borders, its margin box is kerned (negatively inset) by the distance from the start edge of its content box to the point in the content that would have been placed at the start edge of the line box if it were not an initial letter (i.e. the distance between its glyph bounding box and its start side bearing). This inset is effectively an additional inline-start margin on the box.

So the start side bearing can be either positive or negative. In Adobe Caslon Pro, the capital "V" has positive start side bearing—the left edge of the glyph bounding box is is at +22. So I presume we would move the initial-letter box left by that amount so the start edge of the glyph bounding box coincides with the start edge of the containing block. 

But the capital "Y" in the same font has negative start side bearing (-15). Would we then move the initial-letter box to the right? 

<img width="489" alt="Screen Shot 2020-08-26 at 3 54 46 PM" src="https://user-images.githubusercontent.com/5687700/91350308-7f0e6200-e7b4-11ea-9b47-4caeb2058ca2.png">


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5476 using your GitHub account


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

Received on Wednesday, 26 August 2020 19:58:31 UTC