[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Pygame2 test failure



Hello Evan,

I'm a tad puzzled as for what could be stopping FreeType from loading
and scaling the glyphs in your platform. Could you please share with
us the exact FreeType version installed, Python version and OS/Distro?

Thanks in advance,

Vicent Martí
http://www.bellverde.org



On Sat, Jun 27, 2009 at 10:17 PM, Evan Kroske<e.kroske@xxxxxxxxx> wrote:
> I just upgraded to the Pygame2 alpha 2 release, so I ran the tests to see if
> I had installed it properly. All the tests succeeded except for the Freetype
> font test. Here's the message it gave me:
>>
>> FAIL: test_pygame2_freetype_Font_get_metrics (__main__.FreeTypeFontTest)
>>
>> ----------------------------------------------------------------------
>>
>> Traceback (most recent call last):
>>
>>   File "freetype_font_test.py", line 110, in
>> test_pygame2_freetype_Font_get_metrics
>>
>>     self.assertEqual(f.get_metrics('ABCDabcd', ptsize=ptsize), test_data)
>>
>> AssertionError: [None, None, None, None, None, None, None, None] != [(0,
>> 12, 0, 16, 12), (1, 11, 0, 15, 12), (0, 12, 0, 15, 12), (1, 12, 0, 15, 12),
>> (1, 11, 0, 11, 12), (1, 11, 0, 16, 12), (1, 11, 0, 11, 12), (1, 11, 0, 16,
>> 12)]
>>
>> ----------------------------------------------------------------------
>>
>> Ran 5 tests in 0.004s
>>
>> FAILED (failures=1)
>>
>> Program exited with code 01.
>
> I tried to get a stack trace, but GDB told me that there was no stack. I'm
> running Ubuntu Intrepid Ibex 64 bit with Python 2.5.