[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] problems with fonty.py example
Dnia Sat, 16 May 2009 18:10:55 +0200
Łukasz Wychrystenko <t0@xxxxxxxxxxxxxxxxx> napisał(a):
> hi all
>
> I'm trying to run fonty.py(1.8.1) example on standard ubuntu 9.04
> 64bit on python:
> Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18)
> [GCC 4.3.3] on linux2
> and
> Python 2.5.4 (r254:67916, Apr 4 2009, 17:56:17)
> [GCC 4.3.3] on linux2
>
> This ended with crash
>
> more here http://nopaste.org/p/abafwHXAlb .
>
> br
This is weird - error in example :/
just for the next new comers and googlers.
replace line
font = pygame.font.Font(None, 80)
with
font = pygame.font.SysFont("Arial", 80)