Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Add Latin Modern support for mathtext#26240
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
devRD commentedJul 24, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
So far, the PR supports the In LaTeX, I believe that there is a small set of bold glyphs supported so Fake Bold is being utilized(?).https://tex.stackexchange.com/questions/639337/latin-modern-math-doesnt-have-a-bold-font-but-does-have-glyphs-for-unicode-blo https://ctan.math.washington.edu/tex-archive/fonts/ps-type1/lm/doc/fonts/lm/lm-info.pdf Also, the Not sure how to proceed further, so opening the PR up for discussion. |
Sorry, I have missed this completely. I cannot really provide any relevant feedback though, except that it is probably better to support what can be supported and possibly extend it later. (Just state any current limitations in the what's new note.) Wouldn't it make sense to add an otf-directory rather than putting the otf-files in the ttf-directory? Not sure it anything else must be adjusted though. I'll enable the wheel-building tests as well so one can download one of those wheels and see that everything is indeed included as expected. |
Any idea why some of the tests are failing? |
The last change was updated quite some time ago. Not sure if there was a CI issue at the time. I'll just close and reopen to check. |
Looks like it is fetching Latin Modern font from a different directory than the font directory in matplotlib... |
PR summary
Adds Latin modern fontset for mathtext
PR checklist