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 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.
Cheers,
Mike
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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users