The line I'm referring to is this --->

/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mathtext.py:808:
 
MathTextWarning: Font 'BitstreamVeraSerif-Roman' does not have a glyph 
for '\Delta'
   MathTextWarning)

Can you send your matplotlibrc settings and the mathtext expression you 
are using?  One or the other of those is causing Vera Serif to be used 
for the \Delta character rather than Arev Sans.

Cheers,
Mike

Rob Hetland wrote:
> 
> On Dec 3, 2007, at 2:02 PM, Michael Droettboom wrote:
> 
>> Can you send your matplotlibrc file?  (Particularly the mathtext.* 
>> options...)  Also, can you set "verbose.level" to "debug-annoying" and 
>> send us the output?
> 
> It seems to me that Arev is being used from the debug information.  See 
> the log below.
> 
> -Rob
> 
> 
> 
> matplotlib data path 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data
>  
> 
> loaded rc file /Users/rob/.matplotlib/matplotlibrc
> matplotlib version 0.91.0
> verbose.level debug-annoying
> interactive is True
> units is False
> platform is darwin
> loaded modules: ['IPython.Prompts', 'IPython.pickleshare', 'heapq', 
> 'xml.sax.urlparse', '_sha512', 'IPython.iplib', 'IPython.signal', 
> 'random', '_bisect', 'ctypes.os', 'IPython.wildcard', 'gettext', 
> 'IPython.bdb', 'distutils.sysconfig', 'ctypes._endian', 
> 'encodings.encodings', 'IPython.fnmatch', 'IPython.time', '_lsprof', 
> 'xml', 'struct', 'tempfile', 'pprint', 'IPython.doctest', 
> 'IPython.copy_reg', 'imp', 'IPython.OInspect', 'IPython.warnings', 
> 'collections', 'IPython.pydoc', 'cProfile', 'IPython.cStringIO', 
> 'IPython.Shell', 'IPython.rlineimpl', 'zipimport', 'string', 
> 'xml.sax.types', 'matplotlib.dateutil', 'encodings.utf_8', 
> 'matplotlib.__future__', 'IPython.thread', 'datetime', 'IPython.Itpl', 
> 'IPython.Debugger', 'new', 'distutils.re', 'IPython.excolors', 
> 'IPython.Queue', 'IPython.os', 'resource', 'bisect', 'IPython.glob', 
> 'signal', 'cmd', 'pydoc', 'threading', 'token', 'IPython.ctypes', 
> 'shlex', 'IPython.shlex', 'xml.sax.xmlreader', 'matplotlib.pytz', 
> 'IPython.exceptions', 'IPython.new', 'dis', 'cStringIO', 'pkgutil', 
> 'IPython.external.simplegeneric', 'IPython.platutils_posix', 
> 'IPython.path', 'IPython.types', 'IPython', 'IPython.external', 
> 'IPython.commands', 'matplotlib.matplotlib', 'encodings', 
> 'IPython.threading', 'bdb', 'IPython.ConfigLoader', 
> 'matplotlib.warnings', 'matplotlib.string', 'urllib', 'IPython.pdb', 
> 're', 'posix', 'IPython.shadowns', 'math', 'fcntl', 'pytz.tzinfo', 
> 'dateutil', 'optparse', 'UserDict', 'inspect', 'IPython.hooks', 
> 'distutils.os', '_ctypes', 'Queue', 'fnmatch', 'ctypes', 
> 'IPython.generics', 'ctypes.struct', 'codecs', 'matplotlib.sys', 'path', 
> 'pickleshare', 'pytz.bisect', 'md5', 'IPython.ColorANSI', 'commands', 
> 'matplotlib.sre_constants', 'socket', 'thread', 'StringIO', 
> 'IPython.StringIO', 'traceback', 'IPython.pstats', 'weakref', 
> 'itertools', 'opcode', 'doctest', 'IPython.history', 'pstats', 
> 'IPython.tokenize', 'distutils.sys', 'os', 'pdb', 'IPython.traceback', 
> '__future__', 'matplotlib.copy', 'distutils.distutils', '_sre', 
> 'unittest', 'IPython.ipmaker', '__builtin__', 'matplotlib.re', 
> 'operator', 'distutils.string', 'ctypes._ctypes', '_heapq', 
> 'ctypes.sys', 'matplotlib.datetime', 'IPython.codeop', 'posixpath', 
> 'errno', '_socket', 'binascii', 'IPython.sys', 'IPython.re', 
> 'sre_constants', 'IPython.cProfile', '_sha256', 'IPython.PyColorize', 
> 'matplotlib.md5', 'types', 'IPython.genutils', 'tokenize', 'gestalt', 
> 'matplotlib.tempfile', 'textwrap', 'IPython.strdispatch', 'cPickle', 
> 'pytz.sys', 'IPython.platutils', 'matplotlib.xml', 'IPython.macro', 
> '_codecs', 'IPython.token', '_locale', 'IPython.keyword', 
> 'IPython.IPython', 'IPython.string', 'pytz', 'matplotlib.pyparsing', 
> 'IPython.__builtin__', 'copy', 'pwd', '_struct', '_types', 
> 'IPython.socket', 'hashlib', 'IPython.resource', 'IPython.cmd', 
> 'keyword', 'atexit', 'distutils', 'IPython.linecache', 
> 'xml.sax.saxutils', 'IPython.optparse', 'IPython.__main__', 
> 'encodings.aliases', 'matplotlib.fontconfig_pattern', 'exceptions', 
> 'sre_parse', 'IPython.ultraTB', 'IPython.prefilter', 'IPython.tempfile', 
> 'IPython.Release', 'IPython.OutputTrap', 'copy_reg', 'sre_compile', 
> 'xml.sax', 'xml.sax.os', '_hashlib', '_random', 'site', 'IPython.sets', 
> 'IPython.getopt', 'IPython.ipstruct', 'IPython.external.types', 
> 'IPython.inspect', '__main__', 'locale', 'shutil', 'IPython.Magic', 
> 'IPython.pprint', 'urlparse', 'xml.sax.urllib', 'matplotlib.os', 
> 'strop', 'IPython.bisect', 'xml.sax.handler', 'IPython.textwrap', 
> 'xml.sax.codecs', 'IPython.shutil', 'encodings.codecs', 
> 'ctypes.gestalt', 'pytz.datetime', 'IPython.Logger', 
> 'matplotlib.rcsetup', 'getopt', 'matplotlib.weakref', 'pytz.sets', 
> 'xml.sax._exceptions', 'IPython.readline', 'stat', '_ssl', 'warnings', 
> 'encodings.types', 'glob', 'sets', 'repr', 'sys', 'ctypes.ctypes', 
> 'codeop', 'readline', 'os.path', 'IPython.background_jobs', 
> 'IPython.DPyGetOpt', 'IPython.cPickle', 'xml.sax.sys', 'IPython.usage', 
> 'matplotlib.distutils', '_weakref', 'difflib', 'distutils.errors', 
> 'marshal', 'matplotlib', 'linecache', 'matplotlib.shutil', 'time', 
> 'IPython.FakeModule', 'IPython.ipapi']
> numerix numpy 1.0.5.dev4407
> $HOME=/Users/rob
> CONFIGDIR=/Users/rob/.matplotlib
> Using fontManager instance from /Users/rob/.matplotlib/fontManager.cache
> backend WXAgg version 2.8.6.1
> Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
> Type "copyright", "credits" or "license" for more information.
> 
> IPython 0.8.2.svn.r2848 -- An enhanced Interactive Python.
> ?         -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help      -> Python's own help system.
> object?   -> Details about 'object'. ?object also works, ?? prints more.
> 
>   Welcome to pylab, a matplotlib-based Python environment.
>   For more information, type 'help(pylab)'.
>  >>> text(0.5, 0.6, u'$\Delta$')
> FigureCanvasAgg.draw
> RendererAgg.__init__
> RendererAgg.__init__ width=640.0,                         height=440.0
> RendererAgg.__init__ _RendererAgg done
> RendererAgg.__init__ done
> RendererAgg.buffer_rgba
> FigureCanvasAgg.draw
> RendererAgg.buffer_rgba
> FigureCanvasAgg.draw
> RendererAgg._get_agg_font
>         findfont found Arev Sans, normal, normal 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
>         findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
>         findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
>         findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
>         findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
>         findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
>         findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
>         findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
>         findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
>         findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
>         findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
>         findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
>         findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
>         findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
>         findfont found Arev Sans, oblique, normal 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/ArevIt.ttf
>  
> 
>         findfont failed STIX
>         findfont found Bitstream Vera Serif, normal, normal 500, normal, 
> 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/VeraSe.ttf
>  
> 
>         findfont found Bitstream Vera Sans Mono, normal, normal 500, 
> normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/VeraMono.ttf
>  
> 
>         findfont found Arev Sans, oblique, normal 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/ArevIt.ttf
>  
> 
>         findfont found Arev Sans, normal, normal 700, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/ArevBd.ttf
>  
> 
>         findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>  
> 
>         findfont found cmex10, normal, normal 500, normal, 12.0
> findfont returning 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/cmex10.ttf
>  
> 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mathtext.py:808:
>  
> MathTextWarning: Font 'BitstreamVeraSerif-Roman' does not have a glyph 
> for '\Delta'
>   MathTextWarning)
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mathtext.py:817:
>  
> MathTextWarning: Substituting with a dummy symbol.
>   warn("Substituting with a dummy symbol.", MathTextWarning)
> RendererAgg.draw_text
> RendererAgg.draw_mathtext
> RendererAgg.buffer_rgba
>     <matplotlib.text.Text instance at 0x1b01f8f0>
>  >>> FigureCanvasAgg.draw
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg.draw_mathtext
> RendererAgg.buffer_rgba
> 
> 
> ----
> Rob Hetland, Associate Professor
> Dept. of Oceanography, Texas A&M University
> http://pong.tamu.edu/~rob
> phone: 979-458-0096, fax: 979-845-6331
> 
> 

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to