Hi Mike,

On Tuesday 23 October 2007 09:05:56 am Michael Droettboom wrote:
> Unfortunately, I can't reproduce this on my machine even with the latest
> stable version of freetype-2.5.3 (which is the same version in Ubuntu
> Gutsy).

I think you mean freetype-2.3.5. I also have that version installed, although 
the mpl setup script is reporting 9.16.3.

> The Ubuntu/Debian package of freetype has a lot of patches 
> applied, and I don't know if they are causing this (but from the looks
> of them, I doubt it).
>
> Can you set debug.verbose to "annoying" and send me the output of your
> matplotlib run?  I want to rule out any font-loading problems.

It's attached. I'm running 64bit gentoo, everything compiled with gcc-4.2.2, 
in case its relevent.

Darren

> Michael Droettboom wrote:
> > I can't reproduce this bug on my own machine with SVN head.  I suspect
> > this is freetype2 related -- that's the library that actually performs
> > the rendering of the characters for the Agg backend.  The fact the
> > humufr saw this after upgrading to Gutsy suggests there might have been
> >   change to freetype that is now revealing possibly an incorrect usage
> > in matplotlib.  Can you please send the version of freetype you are
> > using?  (pkg-config --modversion freetype2)
> >
> > My machine has the (fairly old) 2.1.9.
> >
> > I'm going to try installing the latest freetype and see if I can
> > reproduce this bug.
> >
> > [I believe this is an instance of the same bug that Darren sent me
> > off-list.]
> >
> > Cheers,
> > Mike
> >
> > [EMAIL PROTECTED] wrote:
> >> Sorry I didn't know the difference...
> >>
> >> N.
> >>
> >> Le Friday 19 October 2007 10:52:25 Darren Dale, vous avez écrit :
> >>> On Friday 19 October 2007 10:38:36 am [EMAIL PROTECTED] wrote:
> >>>> Le Friday 19 October 2007 08:37:00 Darren Dale, vous avez écrit :
> >>>>> On Thursday 18 October 2007 11:49:50 am [EMAIL PROTECTED] wrote:
> >>>>>>        Hi,
> >>>>>>
> >>>>>> I have a small problem with label.
> >>>>>>
> >>>>>>
> >>>>>> plot([0,1],[0,1])
> >>>>>> xlabel(r'$ABCDEF$',fontsize=35)
> >>>>>>
> >>>>>> (but the size doesn't change anything) I obtain the result visible
> >>>>>> on the figure join. I think there are a problem when using latex and
> >>>>>> how the first character is handle.
> >>>>>
> >>>>> I don't think its a problem with matplotlib; I can't reproduce the
> >>>>> problem on my machine. Maybe its an issue with your dvipng? I'm using
> >>>>> version 1.9.
> >>>>
> >>>> Oups I found the problem, I don't know why because it was working fine
> >>>> before the upgrade to gutsy but I have to change matplotlib
> >>>> configuration and everything is working fine if I put in the file:
> >>>>
> >>>> rc('text', usetex=True)
> >>>
> >>> In your first email you said you were using latex, but you were
> >>> actually using mathtext. I can confirm the problem when I disable
> >>> usetex and instead use mathtext. Mike, is this something easy to fix?
> >>>
> >>> Darren
> >>
> >> ------------------------------------------------------------------------
> >>- This SF.net email is sponsored by: Splunk Inc.
> >> Still grepping through log files to find problems?  Stop.
> >> Now Search log events and configuration files using AJAX and a browser.
> >> Download your FREE copy of Splunk now >> http://get.splunk.com/
> >> _______________________________________________
> >> Matplotlib-users mailing list
> >> Matplotlib-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users



-- 
Darren S. Dale, Ph.D.
Staff Scientist
Cornell High Energy Synchrotron Source
Cornell University
275 Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853

[EMAIL PROTECTED]
office: (607) 255-3819
fax: (607) 255-9001
http://www.chess.cornell.edu
matplotlib version 0.90.1
verbose.level debug-annoying
interactive is False
units is False
platform is linux2
loaded modules: ['enthought.traits.ui.view_elements', '_bisect', 'shelve', 'matplotlib.config.validate', 'xml.sax.urlparse', 'distutils', 'ctypes.util', 'matplotlib.matplotlib', 'datetime', 'xml._xmlplus', 'matplotlib.tempfile', 'distutils.sysconfig', 'ctypes._endian', 'encodings.encodings', 'enthought.traits.types', 'pytz.cStringIO', 'xml', 'distutils.dep_util', 'struct', 'enthought.traits.uuid', 'tempfile', 'enthought.traits.protocols.adapters', 'base64', 'imp', 'compiler.sys', 'matplotlib.config.inspect', 'collections', 'logging.thread', 'enthought.traits.protocols.inspect', 'enthought.traits.protocols.generate', 'distutils.types', 'pytz.os', 'compiler.ast', 'logging.threading', 'zipimport', 'enthought.traits.ui.toolkit', 'string', 'matplotlib.config.checkdep', 'matplotlib.config.os', 'enthought.traits.ui.ui_traits', 'encodings.utf_8', 'matplotlib.__future__', 'compiler', 'pytz.tzinfo', 'enthought.traits.inspect', 'pytz.datetime', 'matplotlib.config.verbose', 'distutils.re', 'ctypes.os', 'logging', 'matplotlib.config.cStringIO', 'matplotlib.config.mpltraits', 'compiler.token', 'httplib', 'enthought.traits.protocols.weakref', 'matplotlib.config.tconfig', 'enthought.traits.ui.string', 'enthought.traits', 'bisect', 'enthought.traits.re', 'signal', 'enthought.traits.ui.os', 'compiler.consts', 'uuid', 'enthought.traits.enthought', 'random', 'matplotlib.config.tempfile', 'matplotlib.config.mplconfig', 'ctypes.ctypes', 'matplotlib.config.configobj', 'xml.sax.xmlreader', 'matplotlib.pytz', 'distutils.log', 'dis', 'xml.sax.saxexts', 'cStringIO', 'enthought.traits.copy_reg', 'pkgutil', 'tokenize', 'locale', '_ctypes', 'enthought.traits.trait_handlers', 'logging.os', 'popen2', 'enthought.traits.ui.editors', 'enthought.traits.trait_numeric', 'compiler.transformer', 'atexit', 'xml.sax.saxlib', 'enthought.traits.protocols.new', 'compiler.parser', 'encodings', 'compiler.symbol', 'enthought.traits.cStringIO', 'enthought.traits.shelve', 'logging.traceback', 'dateutil', 'enthought.traits.threading', 'enthought', 'threading', 'enthought.traits.protocols.classic', 'matplotlib.warnings', 'rfc822', 'matplotlib.string', 'pytz.pytz', 'urllib', 'matplotlib.sys', 'enthought.traits.protocols._speedups', 're', 'logging.string', 'enthought.traits.protocols.interfaces', 'new', 'math', 'enthought.traits.traceback', 'fcntl', 'enthought.traits.protocols.advice', 'enthought.traits.copy', 'ctypes.tempfile', 'UserDict', 'enthought.traits.has_traits', 'inspect', 'distutils.os', 'matplotlib', 'matplotlib.config.warnings', 'enthought.traits.category', 'enthought.traits.string', 'matplotlib.config.__future__', 'ctypes', '_xmlplus', 'ctypes.struct', 'codecs', 'enthought.traits.os', 'logging.sys', 'enthought.traits.version', 'matplotlib.afm', 'enthought.traits.__builtin__', 'md5', 'enthought.traits.ui.null.toolkit', 'matplotlib.config.sys', '_locale', 'matplotlib.sre_constants', 'matplotlib.os', 'thread', 'enthought.traits.exceptions', 'enthought.traits.traits', 'matplotlib.config.textwrap', 'traceback', 'pkg_resources', 'xml.sax.sax2exts', 'weakref', 'itertools', 'distutils.spawn', 'opcode', 'matplotlib.config.cutils', 'enthought.traits.protocols.types', 'distutils.sys', 'os', 'marshal', 'enthought.traits.trait_base', 'sre_parse', 'pytz.tzfile', 'ctypes.re', '__future__', 'compiler.new', 'matplotlib.copy', 'xml.sax.types', '_sre', 'matplotlib.config.rcparams', '__builtin__', 'matplotlib.sets', 'matplotlib.re', 'enthought.traits.ui.editor_factory', 'compiler.dis', 'operator', 'distutils.util', 'enthought.traits.protocols.sys', 'distutils.string', 'ctypes._ctypes', 'enthought.traits.logging', 'ctypes.sys', 'matplotlib.datetime', 'posixpath', 'enthought.traits.cPickle', 'compiler.visitor', 'errno', '_socket', 'binascii', 'sre_constants', 'compiler.cStringIO', 'logging.cStringIO', 'compiler.os', 'matplotlib.md5', 'types', 'pytz.sys', 'matplotlib.config.enthought', 'xml.sax.handler', 'pytz.pkg_resources', 'textwrap', 'xml.sax.os', 'cPickle', 'parser', 'enthought.traits.trait_types', 'compiler.future', 'matplotlib.xml', 'xml.sax.string', '_codecs', 'enthought.traits.protocols.thread', 'enthought.traits.ui.null', 'matplotlib.config.codecs', 'enthought.traits.ui.re', 'pytz', 'matplotlib.pyparsing', 'logging.atexit', 'matplotlib.config.re', 'enthought.traits.protocols.__future__', 'copy', '_struct', '_types', 'matplotlib.dateutil', 'hashlib', 'enthought.traits.api', 'enthought.traits.protocols.api', 'compiler.symbols', 'compiler.imp', 'enthought.traits.ui.view_element', 'matplotlib.config.compiler', 'xml.sax.saxutils', 'logging.time', 'compiler.struct', 'posix', 'encodings.aliases', 'enthought.traits.ui', 'matplotlib.fontconfig_pattern', 'exceptions', 'xml.sax._exceptions', 'pytz.bisect', 'enthought.traits.thread', 'enthought.traits.trait_errors', 'mimetools', 'distutils.distutils', 'enthought.traits.ctraits', 'copy_reg', 'sre_compile', 'xml.sax', 'compiler.compiler', '_hashlib', '_random', 'pytz.struct', 'site', 'matplotlib.config.types', 'xml.sax.urllib2', 'compiler.copy_reg', 'xml.sys', '__main__', 'enthought.traits.protocols', 'shutil', 'enthought.traits.atexit', 'matplotlib.weakref', 'logging.types', 'strop', 'compiler.pycodegen', 'matplotlib._mathtext_data', 'compiler.misc', 'encodings.codecs', 'gettext', 'enthought.traits.sys', 'logging.codecs', 'enthought.traits.trait_notifiers', 'matplotlib.rcsetup', 'enthought.traits.ui.enthought', 'distutils.version', 'pytz.sets', 'matplotlib.config.pytz', 'xml.sax.codecs', 'stat', '_ssl', 'compiler.pyassem', 'warnings', 'encodings.types', 'symbol', 'sets', 'enthought.traits.weakref', 'urllib2', 'ctypes.errno', 'enthought.traits.trait_db', 'sys', 'matplotlib.config', 'matplotlib.config.distutils', 'socket', 'compiler.types', 'xml.sax.sys', 'enthought.traits.ui.null.enthought', 'validate', 'os.path', 'matplotlib.config.rcsetup', 'pytz.gettext', 'enthought.traits.adapter', 'sitecustomize', 'matplotlib.config.matplotlib', 'matplotlib.distutils', '_weakref', 'enthought.traits.warnings', 'distutils.errors', 'urlparse', 'linecache', 'matplotlib.shutil', 'token', 'time', 'compiler.marshal', 'compiler.syntax']
numerix numpy 1.0.3.1
$HOME=/home/darren
CONFIGDIR=/home/darren/.matplotlib
Using fontManager instance from /home/darren/.matplotlib/fontManager.cache
matplotlib data path /usr/lib64/python2.5/site-packages/matplotlib/mpl-data
backend TkAgg version 8.4
FigureCanvasAgg.draw
RendererAgg.__init__
RendererAgg.__init__ width=650.0,                         height=490.0
RendererAgg.__init__ _RendererAgg done
RendererAgg.__init__ done
RendererAgg._get_agg_font
	findfont found Bitstream Vera Sans, normal, normal 400, blue, 9.996
findfont returning /usr/lib64/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.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 found Bitstream Vera Sans, normal, normal 400, blue, 9.996
findfont returning /usr/lib64/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.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 found Bitstream Vera Sans, normal, normal 400, blue, 9.996
findfont returning /usr/lib64/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.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 found Bitstream Vera Sans, normal, normal 400, blue, 9.996
findfont returning /usr/lib64/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg._get_agg_font
	findfont found Bitstream Vera Sans, normal, normal 400, blue, 9.996
findfont returning /usr/lib64/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg._get_agg_font
	findfont found Bitstream Vera Sans, normal, normal 400, blue, 9.996
findfont returning /usr/lib64/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf
	findfont found Bitstream Vera Sans, normal, normal 400, blue, 9.996
findfont returning /usr/lib64/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf
RendererAgg.draw_text
RendererAgg.draw_mathtext
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
	findfont found Bitstream Vera Sans, normal, normal 400, blue, 9.996
findfont returning /usr/lib64/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf
	findfont found Bitstream Vera Sans, normal, normal 400, blue, 9.996
findfont returning /usr/lib64/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf
RendererAgg.draw_text
RendererAgg.draw_mathtext
RendererAgg._get_agg_font
	findfont found Bitstream Vera Sans, normal, normal 400, blue, 9.996
findfont returning /usr/lib64/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf
	findfont found Bitstream Vera Sans, normal, normal 400, blue, 9.996
findfont returning /usr/lib64/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf
RendererAgg.draw_text
RendererAgg.draw_mathtext
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to