Re: [csswg-drafts] [css-fonts-4] [varfont] Italic & Oblique benefit from not including a <number>

> Or, hypothetically, the UA synthetically slant the Regular from that family (if present) to the specified angle. In practice, though, platforms won't synthesize oblique to arbitrary angles, but will synthesize to some specific angle.

Hypothetically? No, that's more than hypothetical: that's exactly what Firefox does (as of release 62, currently in beta). So using a family that has no static oblique or italic face, an example like

    data:text/html,<div style="font:50px impact;font-style:oblique 10deg">one <span style="font-style:oblique 20deg">two <span style="font-style:oblique 30deg">three

will slant the three words by successively larger angles. And

    data:text/html,<div style="font:50px impact;font-style:oblique -20deg">reverse

will render with a left-leaning slant, exactly as the author requested.

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

Received on Tuesday, 3 July 2018 08:32:16 UTC