Skip to content

Don't crash on invalid registry font entries on Windows. #12408

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

Merged
merged 1 commit into from
Oct 5, 2018

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Oct 5, 2018

PR Summary

Closes #12406, see discussion there.
I didn't check whether this is a regression due to the simplification of the registry reader in 3.0, but it seems reasonable to target this to 3.0.x anyways.

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@anntzer anntzer added this to the v3.0.x milestone Oct 5, 2018
@jklymak jklymak merged commit 416495b into matplotlib:master Oct 5, 2018
@anntzer anntzer deleted the lenient-winfontmanager branch October 5, 2018 14:19
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Oct 5, 2018
@Kojoley Kojoley mentioned this pull request Oct 5, 2018
jklymak added a commit that referenced this pull request Oct 5, 2018
…408-on-v3.0.x

Backport PR #12408 on branch v3.0.x (Don't crash on invalid registry font entries on Windows.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug with font finding, and here is my fix as well.
3 participants