{"action":"opened","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4987","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4987/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4987/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4987/events","html_url":"https://github.com/matplotlib/matplotlib/issues/4987","id":103047324,"number":4987,"title":"More font rendering issues of mathtext","user":{"login":"WeatherGod","id":291576,"avatar_url":"https://avatars.githubusercontent.com/u/291576?v=3","gravatar_id":"","url":"https://api.github.com/users/WeatherGod","html_url":"https://github.com/WeatherGod","followers_url":"https://api.github.com/users/WeatherGod/followers","following_url":"https://api.github.com/users/WeatherGod/following{/other_user}","gists_url":"https://api.github.com/users/WeatherGod/gists{/gist_id}","starred_url":"https://api.github.com/users/WeatherGod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeatherGod/subscriptions","organizations_url":"https://api.github.com/users/WeatherGod/orgs","repos_url":"https://api.github.com/users/WeatherGod/repos","events_url":"https://api.github.com/users/WeatherGod/events{/privacy}","received_events_url":"https://api.github.com/users/WeatherGod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-25T15:23:42Z","updated_at":"2015-08-25T15:23:42Z","closed_at":null,"body":"As noted by @zblz in #4873:\r\n\r\n> Yes, the kerning for the f is particularly tight, but it is tight everywhere, as you mention for the\r\n> regular f and numerals 2 and 9 (and that's why I added them to that line), so it is not an issue with\r\n> the sub/super script. I tried to minimize it for cm, where it looks pretty good, but did not manage for\r\n> stix of stixsans. Maybe the kerning for the f should be slightly widened elsewhere to match TeX. I\r\n> added a modification of the superscript kerning that takes into account how much the last character \r\n> rises above the x-height to try and mitigate this, but it is tricky: if it is correct for the italic f, it is too \r\n> wide for,  e.g., $E^0$ (which is already slightly wider than tex), so I tried to reach a compromise.\r\n>\r\n> The prime issue only happens for stix and stixsans, where it seems to match $\\prime$ to an already \r\n> superscripted prime, as opposed to a nice and big prime for TeX and cm. This I also believe is \r\n> outside the scope of this PR, but should definitely be fixed so they are consistent.\r\n\r\nAll in reference to these images:\r\n![mathtex-cm](https://cloud.githubusercontent.com/assets/576258/9442585/84c6be8c-4a74-11e5-8bd6-bc194704c031.png)\r\n![LaTeX](https://cloud.githubusercontent.com/assets/576258/9442600/9de05234-4a74-11e5-91dc-7860b69000e5.png)\r\n![mathtext-stix](https://cloud.githubusercontent.com/assets/576258/9442615/b429872c-4a74-11e5-9328-8953bc3bb9f9.png)\r\n![mathtext-stixsans](https://cloud.githubusercontent.com/assets/576258/9442626/b9b7d28e-4a74-11e5-9054-91028a7c628d.png)"}}