Re: [csswg-drafts] [css-fonts-4] Style Matching & grammar for font-style property and font-style property descriptor

There are many questions here. I will try to separate my answers for each piece.

> mapped value of italic

`font-style: italic` always maps to an italic value of 1.

Preinstalled fonts may define that they support the `ital` axis from 1.2 - 1.5, or from 0.3 - 0.54, which means the search for 1 still needs to occur. This is not describable with `@font-face`, and so will only occur with preinstalled fonts.

We discussed the idea about allowing "italic" to accept a number, but I can't find the conversation where we decided against it. The general feeling was that none of us has currently encountered any fonts which have a meaningful concept of "half italics" or "150% italics", so the syntax should be kept simple for now. We can extend it later if there ever is a desire to generalize.

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

Received on Thursday, 15 June 2017 19:28:31 UTC