-
Notifications
You must be signed in to change notification settings - Fork 688
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
[css-fonts] Feature resolution and caps synthesis conflicting #259
Comments
I lean toward #1 (it seems to enable more scenarios, and I like the mental model it suggests), but I could be convinced by a consistency argument the other way. |
Interpretation number two is correct. Because font-feature-settings overrides the font-variant-caps, the feature is considered off (and therefore no synthesis occurs). |
Also, while #1 is more expressive, I am far from convinced that what it can express actually has legitimate use cases. I mean, sure, if you are writing a textbook about typography, and want to illustrate using a font that has smallcaps how comparatively ugly it is when you use synthesized small caps instead of real ones, then maybe you'd want that. But I don't think the ability to demonstrate bad results that nobody should want is a use case we go after. If you want to do that, do it as an illustration / image. This isn't a case where a separation between content and style is valid. |
I started investigating this more, and I have to say that I've changed my mind. The low-level property is used when the web author has a priori knowledge of what features the font supports, so browsers shouldn't get in their way by interpreting |
This piece also interacts with the fact that the individual font's character-based feature support (using the OpenType GSUB/GDEF Coverage subtable) must be consulted when deciding whether or not to perform synthesis. |
With the following test, Firefox, Safari, and Chrome all agree on the rendering (modulo the implementation of
(Avenir Next supports small caps, but Times doesn't.) Therefore, option 1 should be in the spec. |
Also 388a53d |
On Fri, Jul 1, 2016 at 2:08 AM, Dominik Röttsches [email protected] wrote:
The text was updated successfully, but these errors were encountered: