Thanks you guys! The workaround seems to do the trick.
On Thu, Sep 23, 2010 at 9:13 AM, Lenard Lindstrom wrote:
> Hi,
>
> Yes, it looks like a bug. But there may be a simple workaround. Try replace
> line 68 with this:
>
>myFont = pygame.font.Font(None, 20)
>
> If that fails then possibly t
Hi,
Yes, it looks like a bug. But there may be a simple workaround. Try
replace line 68 with this:
myFont = pygame.font.Font(None, 20)
If that fails then possibly the default font that ships with Pygame is
not being installed in the proper place.
Lenard Lindstrom
On 23/09/10 06:30 AM,
Well I put part of the traceback into google and apparently some other
people have had the same problem:
www.pyedpypers.org/forum/viewtopic.php?f=3&t=937his solution was to use
a different version of python. The thing is that I'm using Python 2.5 just
like the book, and I'm using pygame 1.9.1re
Looks to me like you either found a bug in the core pygame code for loading the
system font on Mac or you are calling that method wrong. I checked the method
and it seems like you should be able to do what you're doing; it shouldn't find
a sysfont called none so it should load the default.
If no
Can someone tell me what to do (or what I need to get) to get this program
to work properly?
When I run the code(straight out of the book), I get this:
Traceback (most recent call last):
File "/Users/kevinhayes/Desktop/code/ch05/paint.py", line 107, in
main()
File "/Users/kevinhayes/Deskt