From: Darren D. <dar...@co...> - 2007-10-24 12:26:36
|
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, althou= gh=20 the mpl setup script is reporting 9.16.3. > The Ubuntu/Debian package of freetype has a lot of patches=20 > 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= ,=20 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 > > > > hu...@ya... wrote: > >> Sorry I didn't know the difference... > >> > >> N. > >> > >> Le Friday 19 October 2007 10:52:25 Darren Dale, vous avez =E9crit : > >>> On Friday 19 October 2007 10:38:36 am hu...@ya... wrote: > >>>> Le Friday 19 October 2007 08:37:00 Darren Dale, vous avez =E9crit : > >>>>> On Thursday 18 October 2007 11:49:50 am hu...@ya... wrote: > >>>>>> Hi, > >>>>>> > >>>>>> I have a small problem with label. > >>>>>> > >>>>>> > >>>>>> plot([0,1],[0,1]) > >>>>>> xlabel(r'$ABCDEF$',fontsize=3D35) > >>>>>> > >>>>>> (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 a= nd > >>>>>> 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 usi= ng > >>>>> version 1.9. > >>>> > >>>> Oups I found the problem, I don't know why because it was working fi= ne > >>>> 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=3DTrue) > >>> > >>> 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 > >> > >> ----------------------------------------------------------------------= =2D- > >>- 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 > >> Mat...@li... > >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users =2D-=20 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 dar...@co... office: (607) 255-3819 fax: (607) 255-9001 http://www.chess.cornell.edu |