From: Rob H. <he...@ta...> - 2007-08-13 20:14:28
|
On Aug 13, 2007, at 10:37 AM, Michael Droettboom wrote: > mathtext.use_cm : False > mathtext.fallback_to_cm : True > mathtext.cal : (['Arev Sans'], 'normal', 'oblique') > mathtext.it : (['Arev Sans'], 'normal', 'oblique') > mathtext.rm : (['Arev Sans'], 'normal', 'normal') > mathtext.bf : (['Arev Sans'], 'bold', 'normal') > mathtext.sf : (['Arev Sans'], 'normal', 'normal') I've got this set, but I still get an error message like: >>> text(5, 0.8, r'$\beta$', fontsize=20) /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- packages/matplotlib/mathtext.py:732: MathTextWarning: Font 'BitstreamVeraSans-Roman' does not have a glyph for '\beta' MathTextWarning) <matplotlib.text.Text instance at 0x18dfedf0> I know that Arev has all of the greek letters, but MPL does not seem to be able to use these. The sans-serif font should also be Arev Sans (according to rcParams), so I'm not sure where it it picking up bitstream-vera (unless Arev still calls itself that). -Rob ---- Rob Hetland, Associate Professor Dept. of Oceanography, Texas A&M University http://pong.tamu.edu/~rob phone: 979-458-0096, fax: 979-845-6331 |