Title: [Bug]: mathtext not always rendering combining accents in the same way · Issue #23257 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: mathtext not always rendering combining accents in the same way · Issue #23257 · matplotlib/matplotlib
X Title: [Bug]: mathtext not always rendering combining accents in the same way · Issue #23257 · matplotlib/matplotlib
Description: Bug summary In the reference figure https://github.com/matplotlib/matplotlib/blob/main/lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavuserif_00.pdf the dot above the s is differently positioned. Not clear why as the exp...
Open Graph Description: Bug summary In the reference figure https://github.com/matplotlib/matplotlib/blob/main/lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavuserif_00.pdf the dot above the s is differen...
X Description: Bug summary In the reference figure https://github.com/matplotlib/matplotlib/blob/main/lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavuserif_00.pdf the dot above the s is differen...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/23257
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: mathtext not always rendering combining accents in the same way","articleBody":"### Bug summary\n\nIn the reference figure https://github.com/matplotlib/matplotlib/blob/main/lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavuserif_00.pdf\r\n\r\nthe dot above the s is differently positioned. Not clear why as the expressions are `\\dot s` and `\\dot{s}` respectively. This doesn't happen to all fonts (maybe only this?).\r\n\r\nIt also happens in the svg image, although not as clear. Looking at the source, the x-position difference between the accent and character is 54.4 for the left and 57.5 for the right.\n\n### Code for reproduction\n\n```python\nimport matplotlib.pyplot\r\nplt.text(0.5, 0.5, r'$\\dot s + \\dot{s}$')\r\nplt.savefig('sdot.pdf')\r\nplt.savefig('sdot.svg')\n```\n\n\n### Actual outcome\n\nDifferent rendering\n\n### Expected outcome\n\nIdentical rendering\n\n### Additional information\n\n_No response_\n\n### Operating system\n\n_No response_\n\n### Matplotlib Version\n\n3.6.0.dev2642+g25292618a9.d20220612\n\n### Matplotlib Backend\n\n_No response_\n\n### Python version\n\n_No response_\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\ngit checkout","author":{"url":"https://github.com/oscargus","@type":"Person","name":"oscargus"},"datePublished":"2022-06-12T14:32:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/23257/matplotlib/issues/23257"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:42844a38-a214-4763-05d4-61de81e99de2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9DBA:34F6B9:6B4645:8E896F:6A51D407 |
| html-safe-nonce | 53819b15b6f0916f1bc67fd8f28f854c55805193bb3c58a7010fde7768220350 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REJBOjM0RjZCOTo2QjQ2NDU6OEU4OTZGOjZBNTFENDA3IiwidmlzaXRvcl9pZCI6Ijc0NzA5MTE2ODk3OTEyMzA5ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4be86c78d13cfc70af43eb868b1908ace68bf245d078f0c515aedbb0c069af50 |
| hovercard-subject-tag | issue:1268601241 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/23257/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ef1dee7ad2097b68cd49bf1073241f4f50d3e32f2f9639c4208914e33da0c8c2/matplotlib/matplotlib/issues/23257 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ef1dee7ad2097b68cd49bf1073241f4f50d3e32f2f9639c4208914e33da0c8c2/matplotlib/matplotlib/issues/23257 |
| og:image:alt | Bug summary In the reference figure https://github.com/matplotlib/matplotlib/blob/main/lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavuserif_00.pdf the dot above the s is differen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | oscargus |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width