[Webkit-unassigned] [Bug 215605] New: font-variation-settings from @font-face not applied
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 18 05:44:00 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=215605
Bug ID: 215605
Summary: font-variation-settings from @font-face not applied
Product: WebKit
Version: Safari 13
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: herr.ernst at gmail.com
Created attachment 406778
--> https://bugs.webkit.org/attachment.cgi?id=406778&action=review
test example
What steps will reproduce the problem?
(1) Define a @font-face with a variable font
(2) Add a font-variation-settings rule to that @font-face
(3) Use the font
What is the expected result?
font-variation-settings are applied to font
What happens instead?
font-variation-settings are not applied to font
Please provide any additional information below. Attach a screenshot if possible.
CSS Fonts module level 4 says:
https://drafts.csswg.org/css-fonts-4/#font-rend-desc
"These descriptors [font-feature-settings, font-variation-settings; my comment] define initial settings that apply when the font defined by an @font-face rule is rendered."
(font-variation-settings DO work in Safari)
Without this working, it is much more complicated and verbose to add a fallback for non-variable fonts when using `font-stretch`.
This is a copy of https://bugs.chromium.org/p/chromium/issues/detail?id=1117456
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200818/6483b9a7/attachment-0001.htm>
More information about the webkit-unassigned
mailing list