Re: [Matplotlib-users] bug or problem in my configuration

2007-10-31 Thread David Huard
I'd like to thank all those who participated in fixing this bug. It's much appreciated. David 2007/10/29, John Hunter <[EMAIL PROTECTED]>: > > On 10/29/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > > > I submitted a fix for this in matplotlib SVN r4047. Freetype takes a > > FT_LOAD_FORCE_A

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-29 Thread John Hunter
On 10/29/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I submitted a fix for this in matplotlib SVN r4047. Freetype takes a > FT_LOAD_FORCE_AUTOHINT flag to force it to bypass the patented bytecode > hinter at runtime (even if it was compiled in). This appears to fix the > problem, and doe

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-29 Thread humufr
Le Monday 29 October 2007 10:57:52 Darren Dale, vous avez écrit : > On Monday 29 October 2007 10:45:22 am Michael Droettboom wrote: > > Darren Dale wrote: > > > On Monday 29 October 2007 10:09:21 am Michael Droettboom wrote: > > >> Michael Droettboom wrote: > > >>> Darren Dale wrote: > > I thi

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-29 Thread Darren Dale
On Monday 29 October 2007 10:45:22 am Michael Droettboom wrote: > Darren Dale wrote: > > On Monday 29 October 2007 10:09:21 am Michael Droettboom wrote: > >> Michael Droettboom wrote: > >>> Darren Dale wrote: > I think the problem is related to autohinting. When I compile > freetype, the

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-29 Thread Michael Droettboom
Darren Dale wrote: > On Monday 29 October 2007 10:09:21 am Michael Droettboom wrote: >> Michael Droettboom wrote: >>> Darren Dale wrote: I think the problem is related to autohinting. When I compile freetype, the patented bytecode and subpixel hinting support is disabled, I am using

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-29 Thread Darren Dale
[My original response to the list got bounced because it included zip files. I am posting again without the attachments.] I attached the results (_b is with BROKEN = 0). I didn't notice any problems in the Vera test, but in cmmi, Delta has problems when BROKEN is 1, it looks better when BROKEN

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-29 Thread Darren Dale
On Monday 29 October 2007 10:09:21 am Michael Droettboom wrote: > Michael Droettboom wrote: > > Darren Dale wrote: > >> I think the problem is related to autohinting. When I compile freetype, > >> the patented bytecode and subpixel hinting support is disabled, I am > >> using freetype's autohinting

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-29 Thread Michael Droettboom
Michael Droettboom wrote: > Darren Dale wrote: >> I think the problem is related to autohinting. When I compile freetype, the >> patented bytecode and subpixel hinting support is disabled, I am using >> freetype's autohinting instead. I recompiled freetype with the support for >> the patented hi

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-29 Thread Michael Droettboom
Thanks for that. You really downplayed the problems when BROKEN is 1. It seems to me that most of the glyphs are very bad -- the 'e', for instance, is filled in the middle. Darren Dale wrote: > I think the problem is related to autohinting. When I compile freetype, the > patented bytecode and

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-29 Thread Michael Droettboom
I should also mention -- please let me know if setting BROKEN to 0 fixes any rendering problems. Cheers, Mike Michael Droettboom wrote: > Forgot to attach the program. > > Michael Droettboom wrote: >> Nicolas, Darren, >> >> I have created a minimal program that hopefully will exercise the >> p

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-29 Thread Michael Droettboom
Forgot to attach the program. Michael Droettboom wrote: Nicolas, Darren, I have created a minimal program that hopefully will exercise the problem. If it breaks for either of you, I'll take this to the freetype mailing list for further clarification... If it doesn't break for you, my theor

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-29 Thread Michael Droettboom
Nicolas, Darren, I have created a minimal program that hopefully will exercise the problem. If it breaks for either of you, I'll take this to the freetype mailing list for further clarification... If it doesn't break for you, my theory about the cause is still incorrect. I have attached a sm

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-26 Thread Michael Droettboom
More information -- I just compiled matplotlib on a communal RHEL4 64-bit installation, and I still can not reproduce this bug there. The plot thickens... Cheers, Mike Michael Droettboom wrote: > Thanks for this information. It looks like the font outline data is > somehow getting corrupted b

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-26 Thread Michael Droettboom
Thanks for this information. It looks like the font outline data is somehow getting corrupted before freetype renders it. Again, however, I can't reproduce it on my machine (I've attached a copy of what it looks like for me), so I'm still pretty stumped. My suspicion is that it's a 64-bit vs

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-25 Thread humufr
Yep that can be a good idea. I don't know anything on how mathtext is working but I'm not completely sure that the problem is with freetype because sometime that can work. In reality every character I tested worked but you have to put in a certain order. To understand a little bit more what I tr

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-25 Thread Michael Droettboom
Darren Dale wrote: > 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

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-24 Thread Darren Dale
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 installe

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-23 Thread Michael Droettboom
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). 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 do

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-23 Thread Michael Droettboom
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 fr

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-19 Thread humufr
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 PR

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-19 Thread Darren Dale
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]) > >

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-19 Thread humufr
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) sorry to have bother you with this, N. Le Friday 19 October 2007 08:37:

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-19 Thread humufr
I don't think the problem is in dvipng because I have exactly the same when I'm using GtkAgg and before your message I didn't have dvipng installed. I'm using ubuntu gutsy so perhaps there are a change in the lib. N. Le Friday 19 October 2007 08:37:00 Darren Dale, vous avez écrit : > On Thursd

Re: [Matplotlib-users] bug or problem in my configuration

2007-10-19 Thread Darren Dale
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

[Matplotlib-users] bug or problem in my configuration

2007-10-18 Thread humufr
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. Thanks for matplotlib.