summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorHerbert Duerr [hdu] <duerr@sun.com>2010-02-25 18:41:05 +0100
committerHerbert Duerr [hdu] <duerr@sun.com>2010-02-25 18:41:05 +0100
commitc024a5107e5f4f66b3ceeffc1337c0b1dcdeb6d4 (patch)
tree49c817edbc32e08b1a22a64fb64916e1aa764e9b /vcl/source
parent8b5bd31f499be69932875bf5e77f3135f6696a78 (diff)
ppp02: #i104784# fix misleading comments
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/printdlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 33eb21259da2..6b0282d24e1e 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -194,10 +194,10 @@ void PrintDialog::PrintPreviewWindow::Resize()
maPreviewSize = aScaledSize;
- // #i104784# if we render the page too small, the corresponding small fonts lead to
+ // #i104784# if we render the page too small then rounding issues result in
// layout artifacts looking really bad. So scale the page unto a device that is not
- // full page size but not too small either. This is a workaround for the limitations of
- // our text system.
+ // full page size but not too small either. This also results in much better visual
+ // quality of the preview, e.g. when its height approaches the number of text lines
// find a good scaling factor
Size aPreviewMMSize( maPageVDev.PixelToLogic( aScaledSize, MapMode( MAP_100TH_MM ) ) );
double fZoom = double(maOrigSize.Height())/double(aPreviewMMSize.Height());