Skip to content

Calling Font.findfont results in RecursionError if no fonts are installed on the system #930

@ffishburn

Description

@ffishburn

The fallback font for font-less systems is not quite working properly:

Steps to reproduce:

>>> from kiva.api import Font
>>> font = Font()
>>> font.findfont()

Looks like it may be due to an erroneous space in the font filename:

path = os.path.join(data_dir, " Montserrat-Regular.ttf")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions