Version: 1.5.2 (using KDE KDE 3.5.5) Installed from: Debian testing/unstable Packages to produce the error: - open a paper - edit the format to lanscape. - fill in things - print it out or go to the "print preview" - you'll see the paper in portrait format
SVN commit 597332 by jaham: apply the page format and orientation to the printer before printing BUG:135750 M +5 -1 karbon_view.cc --- branches/koffice/1.6/koffice/karbon/karbon_view.cc #597331:597332 @@ -391,7 +391,11 @@ QPaintDeviceMetrics metrics( ( QPaintDevice * ) & printer ); printer.setFullPage( true ); - + + KoPageLayout pageLayout = part()->pageLayout(); + printer.setOrientation( pageLayout.orientation == PG_PORTRAIT ? KPrinter::Portrait : KPrinter::Landscape ); + printer.setPageSize( (KPrinter::PageSize)KoPageFormat::printerPageSize( pageLayout.format ) ); + // we are using 72 dpi internally double zoom = metrics.logicalDpiX() / 72.0;
You need to log in before you can comment on or make changes to this bug.