- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Thu, 06 Dec 2018 01:13:38 +0000
- To: public-css-archive@w3.org
In @jfkthame wrote: > > Sure, i understand that, but the example you give is not a particularly useful thing to do. I suspect that much of the time one will apply first-letter in order to change the formatting (see the image at [#698 (comment)](https://github.com/w3c/csswg-drafts/issues/698#issuecomment-297472304)). >> > > We have https://drafts.csswg.org/css-inline-3/#initial-letter-shaping saying that > > > > > When initial-letters is not normal, shaping should still occur across an inline initial letter box’s boundaries. ... For example, if the first letter of the Farsi word “پس” were styled with initial-letters: 2 1, both letters would be styled in their joined forms, with initial-form “ﭘ” as the initial letter, followed by the normally-styled final-form “ﺲ”. **Note that the two letters might not always graphically connect, even when shaped in their joining forms.** (my emphasis) > > > > But we have https://drafts.csswg.org/css-text/#boundary-shaping saying that > > > > > Text shaping must be broken at inline box boundaries when any of the following are true for any box whose boundary separates the two typographic character units: Any of margin/border/padding separating the two typographic character units in the inline axis is non-zero. ... > > > > The two things seem to be contradictory, or at least to warrant some additional explanation. > > If the first letter is styled with a different font-size, font-family, etc it's entirely possible it won't actually connect to the next letter even when the appropriate contextual forms are used; I think that's what the emphasized sentence above is pointing out. > > Adding margin or border around the letter, OTOH, would be a cause for *not* shaping between the initial letter and following text. > > Raised caps are an interesting edge case, where I guess it's reasonable to maintain joining as the baseline isn't changed and no horizontal separation is being introduced (though it seems an unlikely thing for someone to really want to do in such a script). > > The few examples I've seen of traditional practice (see https://github.com/w3c/csswg-drafts/issues/698#issuecomment-297472304 and the linked discussion) don't appear to support shaping across more general drop-cap-like formatting: the large dropped, boxed initial in https://upload.wikimedia.org/wikipedia/commons/6/6a/Hafezeshamlu02.jpg, for example, is *not* shaped in an initial form. -- GitHub Notification of comment by fantasai Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2399#issuecomment-444711683 using your GitHub account
Received on Thursday, 6 December 2018 01:13:42 UTC