Interesting.

Perhaps anything that throws an exception in the FT2Font constructor 
(which a bad font or a missing font would both do), is throwing off the 
reference count for the object and failing that assertion, rather than 
passing the exception back to Python.  Only a theory.

What version of gcc are you using under mingw?

Cheers,
Mike

Jörgen Stenarson wrote:
> Michael Droettboom skrev:
>> It's possible -- the version of freetype in the win32_static.tar.gz 
>> package is 2.1.7.  I have 2.1.9 on my (working) Linux box.  Perhaps 
>> something between those point releases fixes this bug.  But it could 
>> be a lot of other things, too.
>>
>> I'm going to file a bug for this so it doesn't get lost.
>>
> 
> Great, in the meantime I'll just remove the orlando font, I don't use it 
> anyway.
> 
> I have also stumbled on another font related crash. If I run the 
> examples/font_table_ttf.py with a non-existing font name I get the 
> crash. I have attached the output with debug-annoying set. As you can 
> see from the output the crash message is the same.
> 
> /Jörgen
> 

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to