Bug 56123 - large unwanted offset in print preview and printing
Summary: large unwanted offset in print preview and printing
Status: RESOLVED FIXED
Alias: None
Product: calligrastage
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Laurent Montel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-19 03:30 UTC by John Belmonte
Modified: 2003-12-14 19:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
print preview screenshot (13.10 KB, image/png)
2003-03-19 03:36 UTC, John Belmonte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Belmonte 2003-03-19 03:30:39 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Debian testing/unstable Packages

There is a large offset at the top and left sides of the page in the print output.  It is evident even in the print preview, and regardless of page format and orientation.

I will attach a screenshot of the print preview for a page with an elipse shape sized to the extents of the page.  I have margins are set to 0.  (The problem occurs even with other margin settings.)
Comment 1 John Belmonte 2003-03-19 03:36:13 UTC
Created attachment 1205 [details]
print preview screenshot

Shows unwanted offsets occuring at top and left sides of page.
Comment 2 Lukáš Tinkl 2003-04-23 17:01:18 UTC
Subject: koffice/kpresenter

CVS commit by lukas: 

fix #56123
(large unwanted offset in print preview and printing)

CCMAIL: 56123-done@bugs.kde.org


  M +8 -3      kpresenter_view.cc   1.969


--- koffice/kpresenter/kpresenter_view.cc  #1.968:1.969
@@ -417,5 +417,10 @@ void KPresenterView::setupPrinter( KPrin
     prt.setOption( "kde-range", m_pKPresenterDoc->selectedForPrinting() );
     prt.setPageSelection(KPrinter::ApplicationSide);
-    KoFormat pageFormat = m_pKPresenterDoc->pageLayout().format;
+    KoPageLayout layout = m_pKPresenterDoc->pageLayout();
+    prt.setOption( "kde-margin-top", QString::number(layout.ptTop) );
+    prt.setOption( "kde-margin-bottom", QString::number(layout.ptBottom) );
+    prt.setOption( "kde-margin-left", QString::number(layout.ptLeft) );
+    prt.setOption( "kde-margin-right", QString::number(layout.ptRight) );
+    KoFormat pageFormat = layout.format;
     prt.setPageSize( static_cast<KPrinter::PageSize>( KoPageFormat::printerPageSize( pageFormat ) ) );