enthought / enthought/enable

Don't assume "vera.ttf" always exists and pick a default font more deterministically.

Open
#710 0 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
C
Stars
97
Forks
45
PR merge metrics
No merged PRs in 30d

Description

If `Font.findfont` can't find the requested font, it falls back to `FontManager.defaultFont["ttf"]` which is supposed to be "vera.ttf", unless a system doesn't have that font in which case it's just the first font path found when searching the system font directories.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.