Skip to content

Commit

Permalink
FIX: Add font-discovery fix for X11
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewcollette committed Apr 13, 2017
1 parent 587976d commit 553c2ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kiva/fonttools/font_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ def x11FontDirectory():
for fontdir in X11FontDirectories:
try:
if os.path.isdir(fontdir):
fontpaths.append(fontdir)
for dirpath, dirs, _files in os.walk(fontdir):
fontpaths.extend([os.path.join(dirpath, d) for d in dirs])

Expand Down

0 comments on commit 553c2ec

Please sign in to comment.