USER: sysparams.c: (RE)fix default lfHeight value

Byeong-Sik Jeon wjsqudtlr at gmail.com
Fri Mar 3 22:14:15 CST 2006


I remake the old patch(unusing LOGFONTW lfDefault; variable).

I(and many CJK user) have to include following lines in "win.ini" file
always.
--------------------
[desktop]
MenuFontSize=12
MessageFontSize=12
StatusFontSize=12
IconTitleSize=12
--------------------
I think that "11"(now Wine hard-recorded) or "12"(CJK user) is not
general and is not clean.

Similar case can see wine-config-sidnet ...
http://sidenet.ddo.jp/winetips/files/wine-config-sidenet-1.9.1.tgz
/wine-config-sidenet/inf/wcsja.inf



2006-03-02 (목), 14:03 +0900, Byeong-Sik Jeon 쓰시길:
> Hi.
> 
> This patch fix default lfHeight value. 
> At CJK charset, default font size is 12px(9pt * 96dpi / 72), not 11px.
> See the dlls/gdi/gdiobj.c( DefaultFontInfo default_fonts[] ).
> 
> Changelog:
> 	- fix default lfHeight value. using default_gui_font.lfHeight
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysparams_fix_default_lfHeight.diff
Type: text/x-patch
Size: 2647 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060304/5582375d/sysparams_fix_default_lfHeight.diff


More information about the wine-patches mailing list