Skip to content

Incorrect conversion of small-caps #14

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

Closed
ryanditjia opened this issue May 4, 2020 · 1 comment · Fixed by #15
Closed

Incorrect conversion of small-caps #14

ryanditjia opened this issue May 4, 2020 · 1 comment · Fixed by #15
Labels

Comments

@ryanditjia
Copy link

Hello, I believe there’s a mistake with the small-caps conversion:

/* current */
h2 {
  font-feature-settings: "c2sc"; /* this is for caps to small caps */
  font-variant-caps: small-caps;
}

/* should be */
h2 {
  font-feature-settings: "smcp";
  font-variant-caps: small-caps;
}
@ryanditjia ryanditjia changed the title Incorrect conversion Incorrect conversion of small-caps May 4, 2020
@Semigradsky
Copy link
Member

It looks like you are right: https://www.w3.org/TR/css-fonts-3/#small-caps

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

Successfully merging a pull request may close this issue.

2 participants