Re: [csswg-drafts] [css-fonts-4] oblique angle for synthesis in vertical text

The Working Group just discussed `oblique angle for synthesis in vertical text`, and agreed to the following:

* `RESOLVED: skew glyphs around their center`
* `RESOLVED: 5 and 6 for italic and obliques with positive angles https://lists.w3.org/Archives/Public/www-archive/2018Jul/att-0003/italics-vertical.png`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> Topic: oblique angle for synthesis in vertical text<br>
&lt;fantasai> github: https://github.com/w3c/csswg-drafts/issues/2869<br>
&lt;frremy> fantasai: there has been a lot of comments in that discussion here<br>
&lt;fantasai> https://lists.w3.org/Archives/Public/www-archive/2018Jul/0003.html<br>
&lt;frremy> astearns: let's box this to twenty minutes<br>
&lt;frremy> fantasai: when we are synthetizing oblique in vertical text, what are we synthetizing<br>
&lt;frremy> fantasai: we want to be consistent<br>
&lt;fantasai> s/consistent/consistent across UAs, at least/<br>
&lt;frremy> koji: the complex part is that japanese is right slanting<br>
&lt;frremy> koji: but that this doesn't work well for Roman fonts<br>
&lt;frremy> myles: (draws on the board)<br>
&lt;frremy> koji: japanese publishers do 3 or 4<br>
&lt;fantasai> Looking at https://lists.w3.org/Archives/Public/www-archive/2018Jul/att-0003/italics-vertical.png<br>
&lt;frremy> so word processors do 5 or 6<br>
&lt;frremy> japanese publishers that this looks weird, but every word processor does that<br>
&lt;frremy> florian: there is also a different between italic and oblique<br>
&lt;frremy> astearns: there are not italic fonts going in the backwards direction<br>
&lt;frremy> fantasai: plus sometimes roman text will be upright<br>
&lt;frremy> fantasai: and if the font provides a value for italic, the characters will have different slanting<br>
&lt;frremy> fantasai: I don't think this makes a lot of sense for us to change<br>
&lt;frremy> myles: if we want behaviors like 4, then font-style will have to be "smart" depending on the glyphs<br>
&lt;frremy> myles: that's not easy<br>
&lt;frremy> florian: this is only for when we synthesize, right?<br>
&lt;fantasai> https://lists.w3.org/Archives/Public/www-archive/2018Jul/att-0003/top-to-right-prohibited-chars.png<br>
&lt;frremy> myles: right, if the font says something, we will do what the font says<br>
&lt;fantasai> https://lists.w3.org/Archives/Public/www-archive/2018Jul/att-0003/top-to-right-em-dash.png<br>
&lt;frremy> fantasai: (just pasted links about interactions)<br>
&lt;frremy> myles: authors can change the angle though<br>
&lt;frremy> fantasai: yes, but the axis is also something we could change<br>
&lt;frremy> fantasai: see 7 or 8<br>
&lt;frremy> fantasai: in these cases, the japanese chars are slanted horizontally, but the roman text is slanted vertically<br>
&lt;frremy> fantasai: in respect to the glyph<br>
&lt;frremy> florian: when you synthesize, do you this for everything?<br>
&lt;frremy> myles: yeah, we would do something like 3<br>
&lt;frremy> koji: that seems wrong for roman though, right?<br>
&lt;frremy> myles: oh, right, I meant 5<br>
&lt;frremy> florian: but that is wrong for japanese<br>
&lt;frremy> florian: for oblique we should do 3 or 5<br>
&lt;frremy> florian: for italics, we should 4 or 6<br>
&lt;frremy> astearns: what do browsers do?<br>
&lt;frremy> fantasai: all over the place<br>
&lt;frremy> florian: (explains some of the weird results some browsers exhibit)<br>
&lt;frremy> PROPOSAL: when synthesizing oblique, the origin is the center of the glyph<br>
&lt;frremy> astearns: any objection?<br>
&lt;frremy> dauwhe: but that seems weird for roman, doesn't it?<br>
&lt;frremy> florian: you get a bit of overlap on each side, instead on overlap around only one side<br>
&lt;frremy> dauwhe: I'm not sure this is an improvement<br>
&lt;frremy> myles: it is, because there will be twice as less layout overlap, there will be less visual overlap<br>
&lt;frremy> fantasai: also, when you center the text, it will look centered<br>
&lt;frremy> (heycam is right)<br>
&lt;frremy> astearns: any objection?<br>
&lt;heycam> s/dauwhe/plinss/<br>
&lt;frremy> RESOLVED: skew glyphs around their center<br>
&lt;frremy> florian: (re-explains his proposal for the directionality of italic vs oblique)<br>
&lt;frremy> fantasai: the problem is that some text could have a mix of upright and not-upright<br>
&lt;frremy> fantasai: so specifying an angle will mess one or the other<br>
&lt;frremy> florian: but roman will probably have its italic defined<br>
&lt;frremy> koji: are you saying we should change angle to content?<br>
&lt;frremy> koji: that seems weird?<br>
&lt;frremy> myles: we could also use transforms<br>
&lt;frremy> florian: 3 seems what publishers want<br>
&lt;frremy> koji: I think what publishers want could be achieved with an angle<br>
&lt;frremy> florian: but for italics, this is gonna be a mess, because the italic will come by default for roman text<br>
&lt;frremy> koji: but really, what is usually done, is use the fullwidth chars, and not use upright<br>
&lt;frremy> florian: upright italic isn't really a thing<br>
&lt;frremy> fantasai: so the upright text will have the italic/oblique from the cjk font<br>
&lt;frremy> fantasai: so koji is right, it's probably fine not to do the right thing, because fonts can do the right thing<br>
&lt;frremy> astearns: time's up<br>
&lt;frremy> astearns: can we resolve?<br>
&lt;frremy> fantasai: 6, falling back to 5?<br>
&lt;frremy> myles: let's resolve on that, and we have two other issues we didnt' get to today<br>
&lt;frremy> myles: which will be about upright etc<br>
&lt;frremy> PROPOSAL: 5 and 6 for italic and obliques with positive angles<br>
&lt;frremy> astearns: any objection?<br>
&lt;frremy> RESOLVED: 5 and 6 for italic and obliques with positive angles https://lists.w3.org/Archives/Public/www-archive/2018Jul/att-0003/italics-vertical.png<br>
&lt;frremy> florian: this is what IE/Edge is doing<br>
&lt;frremy> frremy: (yay!)<br>
&lt;frremy> astearns: and negative angle goes the other way?<br>
&lt;frremy> fantasai: yes, that is how it usually works<br>
&lt;fantasai> action fantasai: file issue about what does upright latin do, and how to do other-axis obliques<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2869#issuecomment-402034497 using your GitHub account

Received on Tuesday, 3 July 2018 07:04:01 UTC