fonts icon indicating copy to clipboard operation
fonts copied to clipboard

Variation Settings not applied in variable fonts

Open paulmelero opened this issue 9 months ago • 2 comments

Description

I'm trying to use a variable font from Google called Archivo, which has 3 configurable axis. When I try to get a custom "expanded width":

font-variation-settings: "wdth" 125;

The variation is not being applied.

Links

  • Google Fonts Tester: https://fonts.google.com/specimen/Archivo/tester

Screenshots

This is how it should look like: This is how it looks:
Image Image

Reproduction

  • Stackblitz: https://stackblitz.com/edit/github-yzt752qo?file=nuxt.config.ts,tailwind.config.js

Apparently, it's not reproducible in Stackblitz: https://github.com/nuxt/fonts/issues/438#issuecomment-2560376071

Hopefully, the Stackblitz is enough to demonstrate the issue, thought.

paulmelero avatar Mar 23 '25 01:03 paulmelero

I'm facing the same issue. I'm not able to add font-stretch: expanded; in font face from this module.

m7rlin avatar Oct 24 '25 22:10 m7rlin

@paulmelero were you able to get this to work?

a-dubiel avatar Oct 29 '25 12:10 a-dubiel