[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Can't find default font -- py2exe'd pygame game
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Can't find default font -- py2exe'd pygame game
- From: Mukashi <mukashi@xxxxxxxxx>
- Date: Mon, 7 Nov 2005 11:50:46 -0800
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Mon, 07 Nov 2005 14:50:51 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ApHzy8TW4h1LMreAPIDM8DaegVIv8rBxDnKUIsAfns5zFuFslmdDHkXEtiwEiIzpxQg8hbD23bvyiVsuxWYeQmEgHcggk/fjKN21bPdiZJT8Yb4AZ+8stOhNG80eUdN0xO6TxhaxQqsDAFUnA96P7SF5W0Bo2C4vo7s1VIp8538=
- In-reply-to: <436F9D37.1080403@gmail.com>
- References: <436F9D37.1080403@gmail.com>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
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