-
Notifications
You must be signed in to change notification settings - Fork 31
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
Misdetection: oblique vs italic #10
Comments
|
I wonder if it's a deliberate mis-parameterisation. Practically, most people don't care for the difference between oblique and italic, and when they do they would normally select a specific font face. (I'd guess. I'm not a designer.) Implication: maybe APIs shouldn't differentiate the two at all? (Matching logic like this is too precise — e.g. if one selects an "oblique" style and only very few fonts match exactly, then "weight" matching has to come from that set. This is more a concern with "stretch" since that is matched earlier.) |
I have 2500 font on my machine and none of them are Oblique. Not sure if this is style is still used nowadays. The current matching algorithm is based on the CSS spec. I don't think we should change it. I will check why fontconfig thinks that this font is Oblique. |
I guess the specifics of the matching algorithm shouldn't matter: this matching only happens within a single font family. If there's no match, CSS says try the next candidate family (which |
Using standard DejaVu system fonts:
Properties detected by
fontdb
:The text was updated successfully, but these errors were encountered: