Module: wine
Branch: master
Commit: 5eb6c11aba740869f7363f7b4444e5f763937d9f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5eb6c11aba740869f7363f7b4…
Author: Rolf Kalbermatter <r.kalbermatter(a)hccnet.nl>
Date: Fri Apr 6 19:50:37 2007 +0200
notepad: Improve printing considerably.
Make fonts and the other measurements the correct size in relation to
the actual printer resolution instead of thinking it uses the same
resolution as the display. Before fixed sized (and for most printer
resolutions way to small) margins where used and the font size was
taken directly from the screen font independent of the actual printer
resolution, resulting in a completely unreadable micro text on most
printouts.
---
programs/notepad/dialog.c | 294 ++++++++++++++++++++++++++++-----------------
programs/notepad/main.c | 2 +-
programs/notepad/main.h | 1 +
3 files changed, 188 insertions(+), 109 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=5eb6c11aba740869f7363…
Module: wine
Branch: master
Commit: 2423c9f00331d314a07cc45fd06cd359c566a684
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2423c9f00331d314a07cc45fd…
Author: H. Verbeet <hverbeet(a)gmail.com>
Date: Tue Apr 10 19:14:27 2007 +0200
wined3d: Dirtify the sampler used by IWineD3DSurface_PreLoad in IWineD3DSurfaceImpl_BltOverride.
---
dlls/wined3d/surface.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index e846b18..6e09072 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -2717,6 +2717,11 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
}
/* Call preload for the surface to make sure it isn't dirty */
+ if (GL_SUPPORT(ARB_MULTITEXTURE)) {
+ GL_EXTCALL(glActiveTextureARB(GL_TEXTURE0_ARB));
+ checkGLcall("glActiveTextureARB");
+ }
+ IWineD3DDeviceImpl_MarkStateDirty(This->resource.wineD3DDevice, STATE_SAMPLER(0));
IWineD3DSurface_PreLoad((IWineD3DSurface *) This);
/* Make sure that the top pixel is always above the bottom pixel, and keep a seperate upside down flag