Skip to content

[css-fonts-4] [varfont] Applying a variation with font-variant-settings should actually clamp the applied value to the range the font supports #517

Closed
@litherum

Description

@litherum

For variation fonts, if you say something like: font-weight: 814; but the font file only supports weights of 400-700, then we should clamp 814 to that range and end up applying a weight of 700 instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions