[Bug 11346] Emule: Background color of an label is displayed horizontal
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Jul 14 13:15:12 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=11346
Rallaz <rallazz at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rallazz at gmail.com
--- Comment #5 from Rallaz <rallazz at gmail.com> 2009-07-14 13:15:11 ---
--- a/dlls/gdi32/font.c 2009-07-03 18:28:33.000000000 +0200
+++ b/dlls/gdi32/font.c 2009-07-14 20:02:17.000000000 +0200
@@ -1904,6 +1904,14 @@
rc.right = x + width;
rc.top = y - tm.tmAscent;
rc.bottom = y + tm.tmDescent;
+/*opaque text not always horizontal*/
+ if(lf.lfEscapement == 900)
+ {
+ rc.left = x - tm.tmAscent;
+ rc.right = x + tm.tmDescent;
+ rc.top = y - width;
+ rc.bottom = y;
+ } /*end hack*/
dc->funcs->pExtTextOut(dc->physDev, 0, 0, ETO_OPAQUE, &rc,
NULL, 0, NULL);
}
}
Whit this patch the bug is corrected in eMule, but, this is NOT a good patch
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list