> A much better solution is to search through the registry
> values in HKLM\SOFTWARE\Microsoft\Windows
Three things concern me with this method:
1) if I understand correctly, Windows appends the language to the font title.
In other words, for German the Arial font is "arial german". Normally this
wouldn't be the biggest issue in the world, but there are often multiple font
names with the same string in them, one for bold, one for italic, etc., so its
not simply a matter of returning any entry with the name "arial" in it.
2) under Vista 64-bit I've been getting permission denied errors when trying to
read the registry using winreg.
3) its a kludge and bound to be inaccurate on some systems.
But yeah, it looks like it might be my best option.
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32