update wine to wine-1.1.7
[sugaredwine.git] / patches / 0027-default-to-150-dpi.patch
blob3445cfec78217caad228f35868f4ea1b9c29862e
1 From 10d8f94a7ece22e4b2e17ed840cc32557dd7c2f7 Mon Sep 17 00:00:00 2001
2 From: Vincent Povirk <vincent@codeweavers.com>
3 Date: Wed, 15 Oct 2008 16:51:17 -0500
4 Subject: [PATCH] default to 150 dpi
6 ---
7 dlls/winex11.drv/init.c | 2 +-
8 tools/wine.inf.in | 2 +-
9 2 files changed, 2 insertions(+), 2 deletions(-)
11 diff --git a/dlls/winex11.drv/init.c b/dlls/winex11.drv/init.c
12 index a8c5695..e73c00c 100644
13 --- a/dlls/winex11.drv/init.c
14 +++ b/dlls/winex11.drv/init.c
15 @@ -59,7 +59,7 @@ static const WCHAR dpi_value_name[] = {'L','o','g','P','i','x','e','l','s','\0'}
17 static DWORD get_dpi( void )
19 - DWORD dpi = 96;
20 + DWORD dpi = 150;
21 HKEY hkey;
23 if (RegOpenKeyW(HKEY_CURRENT_CONFIG, dpi_key_name, &hkey) == ERROR_SUCCESS)
24 diff --git a/tools/wine.inf.in b/tools/wine.inf.in
25 index 5609e34..8bfc617 100644
26 --- a/tools/wine.inf.in
27 +++ b/tools/wine.inf.in
28 @@ -312,7 +312,7 @@ HKLM,%FontSubStr%,"Times New Roman CE,238",,"Times New Roman,238"
29 HKLM,%FontSubStr%,"Times New Roman CYR,204",,"Times New Roman,204"
30 HKLM,%FontSubStr%,"Times New Roman Greek,161",,"Times New Roman,161"
31 HKLM,%FontSubStr%,"Times New Roman TUR,162",,"Times New Roman,162"
32 -HKLM,System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts,"LogPixels",0x10003,0x00000060
33 +HKLM,System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts,"LogPixels",0x10003,0x00000096
35 [MCI]
36 HKLM,%Mci32Str%,"AVIVideo",,"mciavi32.dll"
37 --
38 1.5.6.5