[csswg-drafts] [css-fonts] bikeshedding name of `size-adjust` descriptor (#6114)

jfkthame has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts] bikeshedding name of `size-adjust` descriptor ==
I'm wondering whether `size-adjust` is the best name for this descriptor that we just resolved to add in #6075.

The association with the `font-size-adjust` property is one consideration; I can't decide if the similarity of the name is good or bad. On the one hand, there's definitely a similarity between the two features: they both adjust the size at which a font is actually used for a given computed `font-size`. But on the other hand, they're quite different in how they operate and what their value means. The descriptor takes a scale factor (percentage) that is simply and directly applied to the font, while the `font-size-adjust` property takes a number that kind-of looks like a scale factor but is actually a proportion of the computed `font-size` that serves as a target for the x-height of the used font. This seems a sufficiently different model that maybe associating the property and the descriptor by similar naming isn't really a good thing.

So before we go ahead and implement/ship this, I'd like us to consider whether a different name such as `glyph-scale-factor`, `scale-factor`, or even simply `scale` or `scaling` would be better. Such names seem to me to very directly state what the descriptor does, and avoid the implied parallel to `font-size-adjust` whose values have quite a different interpretation.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6114 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 17 March 2021 21:05:01 UTC