Bad superscript positioning for some fonts · Issue #5542 · matplotlib/matplotlib · GitHub
Skip to content

Bad superscript positioning for some fonts #5542

Description

@adrn

I like to use Computer Modern as my default font. I noticed that, after updating to v1.5.0, the superscript positioning for tick labels in, e.g., log-log plots is off from what it was in 1.4.3. I've only noticed this difference for CMU Modern, not the default sans-serif fonts. Was this an intentional change? See plots below -- titles specify mpl version number (I moved my matplotlibrc file to make these plots).

v1.4.3, sans serif

1 4 3_sans serif

v1.4.3, CMU serif

1 4 3_cmu serif

v1.5.0, sans serif

1 5 0_sans serif

v1.5.0, CMU serif

1 5 0_cmu serif

Code: https://gist.github.com/adrn/aebd2641be6142dedbdf

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions