W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

Re: [csswg-drafts] Font-face: define font-size too (#5892)

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Tue, 26 Jan 2021 21:40:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-767845645-1611697252-sysbot+gh@w3.org>
Currently, there is no way to define a font size within the `@font-face` rule, see https://drafts.csswg.org/css-fonts-4/#font-face-descriptor-table.

Though there is already a request for adding something like this in #806.

For now you have to specify the font size via the `font-size` property or adjust the font sizes using the [`font-size-adjust` property](https://drafts.csswg.org/css-fonts-4/#font-size-adjust-prop) (outside the `@font-size` rules).

Sebastian

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 26 January 2021 21:40:59 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:38 UTC