W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

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

From: jfkthame via GitHub <sysbot+gh@w3.org>
Date: Tue, 03 Jul 2018 08:29:52 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-402056508-1530606591-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.3.1 : Tuesday, 3 July 2018 08:32:16 UTC