wine.inf: Set the FontSmoothingGamma value.

Hans Leidekker hans at codeweavers.com
Mon Nov 12 04:47:13 CST 2012


Fixes a crash in the .NET 4 runtime which queries this value via
SystemParametersInfo(SPI_GETFONTSMOOTHINGCONTRAST).
---
 tools/wine.inf.in |    1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/wine.inf.in b/tools/wine.inf.in
index 03a748a..f4d0386 100644
--- a/tools/wine.inf.in
+++ b/tools/wine.inf.in
@@ -494,6 +494,7 @@ HKCU,Software\Wine\Debug,"RelayFromExclude",2,"winex11.drv;user32;gdi32;advapi32
 [ControlPanel]
 HKCU,Control Panel\Desktop,DragFullWindows,2,"0"
 HKCU,Control Panel\Desktop,FontSmoothing,2,"0"
+HKCU,Control Panel\Desktop,FontSmoothingGamma,0x10001,0x00000000
 HKCU,Control Panel\Desktop,LowPowerActive,,"0"
 HKCU,Control Panel\Desktop,MenuShowDelay,2,"400"
 HKCU,Control Panel\Desktop,SmoothScroll,3,00,00,00,00
-- 
1.7.10.4






More information about the wine-patches mailing list