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

Re: [pygame] Can't find default font -- py2exe'd pygame game



There's a couple ways to fix this, simplest way is to copy 'freesansbold.ttf' from the pygame lib directory to your dist directory.  If you use a setup/build script for py2exe, you can add that copying step to your script.

Another solution is to not use the default font.

-dh

On 11/7/05, Joseph Quigley <cpu.crazy@xxxxxxxxx> wrote:
I'm given a RuntimeError saying that pygame can't find the default font
on a py2exe'd game. I don't know anything else so say except that the
levels are made with pgu and I had to manually include them in the
library.zip file to get the game to load.
Is there any way I can be more specific?
Thanks,
    Joe