Thanks to visit codestin.com
Credit goes to github.com

Skip to content

font_manager calls nonexistent method FT2Font.get_fontsize #9788

@anntzer

Description

@anntzer

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions