8000 font_manager calls nonexistent method FT2Font.get_fontsize · Issue #9788 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

font_manager calls nonexistent method FT2Font.get_fontsize #9788

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

Closed
anntzer opened this issue Nov 15, 2017 · 0 comments
Closed

font_manager calls nonexistent method FT2Font.get_fontsize #9788

anntzer opened this issue Nov 15, 2017 · 0 comments
Milestone

Comments

@anntzer
Copy link
Contributor
anntzer commented Nov 15, 2017

https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/font_manager.py#L476

The call to get_fontsize was adding in e34a333 but cannot succeed because such a method was (AFAICT) never implemented on FT2Font. Fortunately, font_manager probably never hits a nonscalable font because it that codepath only handles ttf/otf, but that should get cleaned up.

@QuLogic QuLogic added this to the v2.2 milestone Nov 22, 2017
@QuLogic QuLogic modified the milestones: needs sorting, v2.2.0 Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3C9E
Projects
None yet
Development

No branches or pull requests

2 participants
0