Skip to content

[Question] Does the Google Fonts version support font-feature-settings? #248

@zaydek

Description

@zaydek

I was expecting to be able to use the Google Fonts version of Inter and use font-feature-settings, namely "salt" for stylistic alternatives, specifically single-story ‘a’ but found that nothing happened.

Here’s a reproducible example:

  1. Open https://codepen.io/zaydek/pen/PoqBmwE; the a is double-story, not single-story
  2. Versus https://rsms.me/inter/lab/?feat-salt=1; you can clearly see the a is single-story

Are font-feature-settings not supported by Google Fonts?

I got curious and opened https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=block; it looks like Google Fonts is shipping the woff2 version, which may very well not support ligatures.

Is this what’s going on or am I missing something?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions