Hello,
I am getting this runtime error for some of my plotting scripts ever since I
did a clean build and install of matplotlib from the svn repo:
[snip]
File "/home/bvr/Programs/matplotlib/matplotlib/lib/matplotlib/text.py", line
524, in draw
bbox, info = self._get_layout(renderer)
File "/home/bvr/Programs/matplotlib/matplotlib/lib/matplotlib/text.py",
line 298, in _get_layout
ismath=False)
File
"/home/bvr/Programs/matplotlib/matplotlib/lib/matplotlib/backends/backend_gdk.py",
line 309, in get_text_width_height_descent
layout, inkRect, logicalRect = self._get_pango_layout(s, prop)
File
"/home/bvr/Programs/matplotlib/matplotlib/lib/matplotlib/backends/backend_gdk.py",
line 283, in _get_pango_layout
font_str = '%s, %s %i' % (prop.get_name(), prop.get_style(), size,)
File
"/home/bvr/Programs/matplotlib/matplotlib/lib/matplotlib/font_manager.py",
line 742, in get_name
return ft2font.FT2Font(str(findfont(self))).family_name
RuntimeError: Could not open facefile
/home/bvr/Programs/matplotlib/lib/matplotlib/mpl-data/fonts/ttf/Vera.ttf;
Cannot_Open_Resource
The file exists, and is certainly read-able. The program "Fonty Python"
even checked and said that the fonts in that folder were valid, and
displayed samples. Looking back at discussion threads before, this error has
come up before back in 2007:
http://www.mail-archive.com/matplotlib-us...@lists.sourceforge.net/msg05229.html
Any thoughts?
Thanks,
Ben Root
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel