Module: wine Branch: master Commit: a8c50b12f5af60ddc2424e4456f1700aab8e3495 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a8c50b12f5af60ddc2424e4456...
Author: Marcus Meissner marcus@jet.franken.de Date: Mon Nov 29 10:17:26 2010 +0100
winex11.drv: Do not include XFORM.eDx and eDy into font hashing/caching.
---
dlls/winex11.drv/xrender.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c index 4f900b2..f0ec1b1 100644 --- a/dlls/winex11.drv/xrender.c +++ b/dlls/winex11.drv/xrender.c @@ -1067,6 +1067,9 @@ BOOL X11DRV_XRender_SelectFont(X11DRV_PDEVICE *physDev, HFONT hfont) lfsz.devsize.cx = X11DRV_XWStoDS( physDev, lfsz.lf.lfWidth ); lfsz.devsize.cy = X11DRV_YWStoDS( physDev, lfsz.lf.lfHeight ); GetWorldTransform( physDev->hdc, &lfsz.xform ); + /* Not used fields, would break hashing */ + lfsz.xform.eDx = lfsz.xform.eDy = 0; + lfsz_calc_hash(&lfsz);
info = get_xrender_info(physDev);