Hi the list,
I have looked for in mailing-list archive, but did not find anything
relevant.
I use matplotlib 0.87-5 and I want to try some examples concerning fonts
in .examples/.
When I run fonts_demo.py, I get the following messages :
:~...matplotlib-0.87.5/examples/{58}/> python fonts_demo.py
/usr/local/lib/python2.4/site-packages/matplotlib/font_manager.py:989:
UserWarning: Could not match cursive, normal, normal. Returning
/usr/local/lib/python2.4/site-packages/matplotlib/mpl-data/Vera.ttf
warnings.warn('Could not match %s, %s, %s. Returning %s' % (name,
style, variant, self.defaultFont))
/usr/local/lib/python2.4/site-packages/matplotlib/font_manager.py:989:
UserWarning: Could not match fantasy, normal, normal. Returning
/usr/local/lib/python2.4/site-packages/matplotlib/mpl-data/Vera.ttf
warnings.warn('Could not match %s, %s, %s. Returning %s' % (name,
style, variant, self.defaultFont))
/usr/local/lib/python2.4/site-packages/matplotlib/font_manager.py:989:
UserWarning: Could not match sans-serif, italic, normal. Returning
/usr/local/lib/python2.4/site-packages/matplotlib/mpl-data/Vera.ttf
warnings.warn('Could not match %s, %s, %s. Returning %s' % (name,
style, variant, self.defaultFont))
What am I doing wrong ?
In fact, all fonts displayed in the window are the same.
Any suggestion ?
Cheers,
PS : python 2.4, freetype-2.1.7-6, libpng-1.2.8 on a debian sarge linux box.
···
--
« Python, c'est un peu comme la baïonnette en 14, faut toujours sortir avec,
et pas hésiter d'en mettre un coup en cas de besoin. »
J.-Ph. D.