[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Fontlist
- To: pygame-users@seul.org
- Subject: [pygame] Fontlist
- From: Bo Jangeborg <bo@softwave.se>
- Date: Mon, 13 Oct 2003 11:49:00 +0200
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Mon, 13 Oct 2003 05:49:43 -0400
- Reply-to: pygame-users@seul.org
- Sender: owner-pygame-users@seul.org
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
In the initsysfonts_win32() function in sysfont.py there is a registry
check to find fonts. This doesn't work on XP and probably NT and W2K,
and results in a error message.
the line :
key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,
r"SOFTWARE\Microsoft\Windows\CurrentVersion\Fonts")
if a Win NT machine needs to be :
key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,
r"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Fonts")
Im currently looking into converting a smal free strategy game to
pygame. One thing that
I have noted is that the sound output from the mixer is rather poor even
if you preinitialize it to correct
values. Is this a problem that is being looked into by the SDL group ?
Bo)
Bo Jangeborg
Softwave