Skip to content

Commit

Permalink
Use DejaVuSansMono as fixed width
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Feb 17, 2020
1 parent 0fc9d2f commit 5ae0fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgviz/draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def _get_font(size):
fonts_path = osp.join(
osp.dirname(matplotlib.__file__), "mpl-data/fonts/ttf"
)
font_path = osp.join(fonts_path, "DejaVuSans.ttf")
font_path = osp.join(fonts_path, "DejaVuSansMono.ttf")
font = PIL.ImageFont.truetype(font=font_path, size=size)
return font

Expand Down

0 comments on commit 5ae0fa6

Please sign in to comment.