Re: [python-win32] Problem accessing GetFontData in Windows API

2010-01-25 Thread Tim Roberts
Alec Bennett wrote: > Thanks for the tips. > > Using that method I'm able to obtain the filename for about 75% of the fonts > in my Windows directory, but I can't resolve fonts with names such as this: > > - the font's name is Arno Pro. It shows up in font choosers with names like > "Arno Pro", "

Re: [python-win32] Problem accessing GetFontData in Windows API

2010-01-22 Thread Alec Bennett
Thanks for the tips. Using that method I'm able to obtain the filename for about 75% of the fonts in my Windows directory, but I can't resolve fonts with names such as this: - the font's name is Arno Pro. It shows up in font choosers with names like "Arno Pro", "Arno Pro Caption", "Arno Pro Dis

Re: [python-win32] Problem accessing GetFontData in Windows API

2010-01-22 Thread Tim Roberts
Alec Bennett wrote: >> 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 Ari

Re: [python-win32] Problem accessing GetFontData in Windows API

2010-01-22 Thread Alec Bennett
> 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 th

Re: [python-win32] Problem accessing GetFontData in Windows API

2010-01-22 Thread Tim Roberts
Alec Bennett wrote: > I'm trying to access the following function from the Windows API: > > http://msdn.microsoft.com/en-us/library/dd144885(VS.85).aspx > > I'm sure I'm drastically over simplifying, but I'm testing it like this: > > import win32api > print win32api.GetFontData() > > This of course

Re: [python-win32] Problem accessing GetFontData in Windows API

2010-01-22 Thread Preston Landers
> I'm trying to access the following function from the Windows API: > > http://msdn.microsoft.com/en-us/library/dd144885(VS.85).aspx > > I'm sure I'm drastically over simplifying, but I'm testing it like this: > > import win32api > print win32api.GetFontData() > > This of course errors out with