|
From: John H. <jdh...@ac...> - 2004-04-21 15:26:48
|
>>>>> "gary" == gary ruben <gr...@bi...> writes:
gary> I just uninstalled the 0.53b release and installed 0.53
gary> There's still a problem on my Win98 system, but now it seems
gary> related to the new font manager:
This is a bug (clearly!). I didn't catch it in my tests because it
only arises when you get an OSError on a win32 registry call, which I
never got. I believe Paul lifted this section of the code from
ttfquery. For a quick fix, in the win32InstalledFonts function, try
replacing
try:
local = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, fontdir)
except OSError:
pass
with
try:
local = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, fontdir)
except OSError:
continue
and let me know how things go.
Paul, is the continue the correct behavior here?
Thanks for the report,
JDH
|