-
Notifications
You must be signed in to change notification settings - Fork 711
[css-fonts-5] Allow tweaking font-size at per-fallback granularity #5976
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
Comments
For text a) whose characters use the Latin (or possibly Cyrillic or Greek) scripts, and b) thus the glyphs have a meaningful x-height, and c) where the difference between the fallback and the web font is a significant difference in x-height, then yes. Otherwise, (i.e. for most of Unicode) |
I think that's the same as the second case. Maybe I was unclear in my description? |
To my mind it's a different use case – one that is not to do with ransom noting, ie. displaying the text on a single platform where the chosen font lacks glyphs, but rather substituting (fully complete) fonts for each other on different platforms. As a use case that's different. However, #126 (comment) describes another use case that is quite close to your point 2, where a font doesn't contain Latin glyphs needed for acronyms, names, or quoted text, etc. |
Okay, that makes sense. Got it. |
Not at all. (Except if one argues that a font which doesn't exist has support for zero characters. But even then, calling the non-existent font |
This topic is a dup of #6075 |
This issue is split off from #126
There are 2 use cases:
The goal is to allow pages the ability to say something like "for this fallback font, use font size X, but for this other fallback font, use font size Y."
In #126 (comment) we resolved to do this sort of thing via
@font-face
descriptors.Note that something similar (though less flexible) can be done already with
font-size-adjust
. So this bug isn't very high priority, as that will probably work for many of these situations.The text was updated successfully, but these errors were encountered: