-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix #5998: Support fallback font correctly #6203
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
Conversation
@@ -887,12 +887,12 @@ class DejaVuFonts(UnicodeFonts): | |||
|
|||
def __init__(self, *args, **kwargs): | |||
# This must come first so the backend's owner is set correctly | |||
TruetypeFonts.__init__(self, *args, **kwargs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the comment above still true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I think it turned out that this move wasn't necessary after all -- I had meant to revert it before committing. I'll do so now.
Looks good to me! 👍 Do we have any idea why forcing an italics class was initially needed? Or was it just a bug? |
In the context of STIX falling back to Bakoma, it needs to be hardcoded to |
Are there no italic numbers? 05 vs 15? I also wonder what is wrong with the baseline of the 't'. |
No, I didn't mean circled, just plain italic numbers, e.g., |
Yes -- there are no italic numbers in any of these fonts. |
This is ready to merge. |
Fix #5998: Support fallback font correctly
backported to v2.x as 819f746 |
Cc: @zblz