X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34da0970a018b4b0828248028040ca339868ed4e..2a29700ecf3d6862db16c5f5c9086a698a7ff247:/src/generic/printps.cpp diff --git a/src/generic/printps.cpp b/src/generic/printps.cpp index d1acf4870e..e288b2cd5c 100644 --- a/src/generic/printps.cpp +++ b/src/generic/printps.cpp @@ -124,11 +124,17 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro int logPPIPrinterX = 0; int logPPIPrinterY = 0; - // Correct values for X/PostScript? logPPIScreenX = 100; logPPIScreenY = 100; + +/* + // Correct values for X/PostScript? logPPIPrinterX = 100; logPPIPrinterY = 100; +*/ + + logPPIPrinterX = 72; + logPPIPrinterY = 72; printout->SetPPIScreen(logPPIScreenX, logPPIScreenY); printout->SetPPIPrinter(logPPIPrinterX, logPPIPrinterY); @@ -238,7 +244,8 @@ void wxPostScriptPrintPreview::DetermineScaling(void) if (paper) { m_previewPrintout->SetPPIScreen(100, 100); - m_previewPrintout->SetPPIPrinter(100, 100); +// m_previewPrintout->SetPPIPrinter(100, 100); + m_previewPrintout->SetPPIPrinter(72, 72); // If in landscape mode, we need to swap the width and height. if ( m_printData.GetOrientation() == wxLANDSCAPE )