Rolf Kalbermatter : notepad: Improve printing considerably.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Apr 10 14:58:09 CDT 2007


Module: wine
Branch: master
Commit: 5eb6c11aba740869f7363f7b4444e5f763937d9f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5eb6c11aba740869f7363f7b4444e5f763937d9f

Author: Rolf Kalbermatter <r.kalbermatter at 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=5eb6c11aba740869f7363f7b4444e5f763937d9f



More information about the wine-cvs mailing list