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

Re: [pygame] Pygame font issues



On Saturday 02 May 2009, Yanom Mobis wrote:
> does
>
> font = pygame.font.Font(None, 36)
>
> use the player's default system font?

None does not work:

    self.font = pygame.font.Font(None,36)
RuntimeError: default font not found 'freesansbold.ttf'

its looking for freesansbold, which even though it exists, can't be found:

bash-3.1$ locate freesansbold.ttf
/usr/lib/python2.5/site-packages/pygame/freesansbold.ttf

Note, I think your reference to default systems font is a windows reference.  
I'm on linux.

Pete



-- 
Peter Chant
http://www.petezilla.co.uk