Skip to content
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

Fix #5444: do not access subsuper nucleus _metrics if not available #5448

Merged
merged 3 commits into from Nov 9, 2015

Conversation

zblz
Copy link
Member

@zblz zblz commented Nov 9, 2015

This is a fix for #5444: we were previously using the last characters' _metrics to define the advance, but when the last character is a Vlist or Hlist they don't have a _metrics attribute. Now we check for it before accessing it. I also added a test for it that was previously missing.

@mdboom - I did this PR against master, but should likely be backported to 1.5.x and 2.0.x. I split the baseline images commits, with cm and stix in one and dejavu in another, so that only the first should go into 1.5.x but both of them into 2.0.x.

@mdboom mdboom added this to the Critical bugfix release (1.5.1) milestone Nov 9, 2015
mdboom added a commit that referenced this pull request Nov 9, 2015
Fix #5444: do not access subsuper nucleus _metrics if not available
@mdboom mdboom merged commit 838502e into matplotlib:master Nov 9, 2015
mdboom added a commit that referenced this pull request Nov 9, 2015
Fix #5444: do not access subsuper nucleus _metrics if not available
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants