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

[pygame] Fontlist



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