Created attachment 406778 [details] 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
<rdar://problem/67331644>
From preparePlatformFont(): // FIXME: Implement Step 6: the font-variation-settings descriptor inside @font-face
Just ran into this issue myself. Would be great to have this fixed!
Still has FIXME: https://searchfox.org/wubkat/source/Source/WebCore/platform/graphics/cocoa/UnrealizedCoreTextFont.cpp#244