gdiplus/tests: Don't fail if Microsoft Sans Serif and Times New Roman are not installed.

Francois Gouget fgouget at
Thu Sep 8 09:29:45 CDT 2011

I'm actually not entirely happy with this patch.

Wine actually hardcodes the fallback fonts to Liberation Serif and 
Tahoma. So we could instead check that if on Wine and the Windows fonts 
are not installed then we get the fallback fonts.

It's a bit what the test was trying to do with Microsoft Sans Serif 
except that I also take exception with the todo_wine since the fix is 
not to change Wine but to install the missing font.

Changing the test as I described would let us detect when Microsoft 
decides to ship other fonts instead of these. We would also issue an 
error if neither font was found, such as on FreeBSD 8.1 for instance as 
it is a hint that we should find some other/additional fallback font.

Francois Gouget <fgouget at>    
          tcA thgirypoC muinelliM latigiD eht detaloiv tsuj evah uoY

More information about the wine-devel mailing list