This is the remainder of making the USP graphics use printer rather 
than screen font metrics for layout; it works like this: on startup 
we retrieve metrics for default printer and use it to do layout; when 
the user choses specific printer to print with, we redo the layout on 
screen with new metrics. Because font metrics on two different 
printers tend to be more similar than that those for printer and 
screen, the layout changes when the printer changes are typically 
quite small. Most importantly, the printout matches the screen.
For now, it only works for the USP graphic; I have no immediate plans 
to fix the base win32 graphics class which is badly non-WYSIWYG.
Outstanding: need to modify the print dialogue to allow choosing 
printer without printing.
files: gr_Win32Graphics.h/cpp, gr_Win32USPGraphics.h/cpp, 
xap_Win32Dlg_Print.cpp, ut_Win32OS.h/cpp
Tomas
Received on Tue Nov  9 22:21:43 2004
This archive was generated by hypermail 2.1.8 : Tue Nov 09 2004 - 22:21:44 CET