Kirill K. Smirnov : winhelp: Enlarge font size by 3 as native winhelp does.
Alexandre Julliard
julliard at winehq.org
Mon Dec 3 09:17:59 CST 2007
Module: wine
Branch: master
Commit: 33a05f088ea6cff1be632950a9a11a55c3578b41
URL: http://source.winehq.org/git/wine.git/?a=commit;h=33a05f088ea6cff1be632950a9a11a55c3578b41
Author: Kirill K. Smirnov <lich at math.spbu.ru>
Date: Sat Dec 1 19:03:20 2007 +0300
winhelp: Enlarge font size by 3 as native winhelp does.
---
programs/winhelp/hlpfile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winhelp/hlpfile.c b/programs/winhelp/hlpfile.c
index 54ea5bd..f9a6cc1 100644
--- a/programs/winhelp/hlpfile.c
+++ b/programs/winhelp/hlpfile.c
@@ -1266,7 +1266,7 @@ static BOOL HLPFILE_ReadFont(HLPFILE* hlpfile)
flag = ref[dscr_offset + i * 11 + 0];
family = ref[dscr_offset + i * 11 + 2];
- hlpfile->fonts[i].LogFont.lfHeight = -ref[dscr_offset + i * 11 + 1] / 2;
+ hlpfile->fonts[i].LogFont.lfHeight = -ref[dscr_offset + i * 11 + 1] / 2 - 3;
hlpfile->fonts[i].LogFont.lfWidth = 0;
hlpfile->fonts[i].LogFont.lfEscapement = 0;
hlpfile->fonts[i].LogFont.lfOrientation = 0;
More information about the wine-cvs
mailing list