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

Review font-variant-caps: all-small-caps #12

Open
kennethormandy opened this issue Oct 7, 2016 · 2 comments
Open

Review font-variant-caps: all-small-caps #12

kennethormandy opened this issue Oct 7, 2016 · 2 comments
Assignees

Comments

@kennethormandy
Copy link
Owner

Review font-variant-caps: all-small-caps, which is used for .c2sc and .caps. I was previously under the impression that this wouldn’t synthesise glyphs (ie. create faux small caps) but that doesn’t seem to be the case in practice or according to MDN:

This keyword forces the use of small capital letters for lower case characters. It corresponds to the OpenType values smcp and c2sc; if the font doesn't support them, it synthesizes the glyphs.

That is an unfortunate decision. From my quick test, font-synthesis: none doesn’t seem to fix this either.

@kennethormandy kennethormandy self-assigned this Oct 7, 2016
kennethormandy added a commit to kennethormandy/googlefonts-japanese that referenced this issue Oct 7, 2016
Case removed since faux small caps were being created
kennethormandy/utility-opentype#12
@tooolbox
Copy link

tooolbox commented Oct 9, 2016

...Whaaat?!

Yes, unfortunate. Is that a spec thing, or a particular implementation? What environments are you testing in, perchance?

@kennethormandy
Copy link
Owner Author

Just Chrome, I happened to be using it myself and it was creating faux small caps out of a typeface that didn’t have any. I haven’t had a chance to research it much yet. From the MDN link, it looks like I might have been wrong and the browsers synthesise caps in most situations.

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

No branches or pull requests

2 participants