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

Skip to content

Commit 823bf42

Browse files
author
Steve Chaplin
committed
SC 03/10/2004
svn path=/trunk/matplotlib/; revision=580
1 parent 8559bdd commit 823bf42

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

examples/ftface_props.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
individual character metrices, use the Glyp object, as returned by
66
load_char
77
"""
8+
import matplotlib
89
from matplotlib.ft2font import FT2Font
910

10-
fname = '/usr/local/share/matplotlib/VeraIt.ttf'
11+
#fname = '/usr/local/share/matplotlib/VeraIt.ttf'
12+
fname = matplotlib.get_data_path() + '/VeraIt.ttf'
1113
#fname = '/usr/local/share/matplotlib/cmr10.ttf'
1214

1315
font = FT2Font(fname)

0 commit comments

Comments
 (0)