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', 'enthoug