Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font Family Name to set up @font-face #145

Open
RosaWagner opened this issue Nov 2, 2021 · 0 comments
Open

Font Family Name to set up @font-face #145

RosaWagner opened this issue Nov 2, 2021 · 0 comments

Comments

@RosaWagner
Copy link

RosaWagner commented Nov 2, 2021

I don't know much in web development so my question may be stupid. Does the font family name of the Variable Font has to be the full font name (ID4)?

Example:
font-family: "Fontname VAR Regular";

It creates weird CSS style stuff when another style from the origin is called.

.fontname-var-regular-light {
    font-variation-settings: "wght" 300;
}

And it is even more counter-intuitive if the origin of the VF is another one than Regular. I would see better name ID 16 (or ID 1 as a fallback) for the font-family entry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant