8000 [css-fonts] Allow percentages in font-weight · Issue #487 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-fonts] Allow percentages in font-weight #487

@Crissov

Description

@Crissov

CSS Fonts 4 should update the font-weight (<wght>), font-stretch (<wdth>), font-style (<ital>, <slnt>) and font-size (<opsz>) properties, maybe also font-family (STAT), to support arbitrary values in Opentype Variable Fonts (Medium article by @tiroj) (fvar/gvar and CFF2 tables). There may also be a use case to access arbitrary (possibly named) axes, e.g. with a new property font-axis or font-variable.

I have no concrete proposal, but note that …

Members of the Edge team are working with industry partners on a formal proposal for support of variable fonts in Cascading Style Sheets (CSS) for th 5B51 e Web.

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

      0