After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 597215 - Dimensions messed up when extracting page or saving
Dimensions messed up when extracting page or saving
Status: RESOLVED FIXED
Product: pdfmod
Classification: Other
Component: general
0.7
Other Linux
: Normal major
: ---
Assigned To: pdfmod-maint
pdfmod-maint
: 633126 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-10-03 15:32 UTC by Alex Bepple
Modified: 2011-03-03 17:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Original document (23.79 KB, application/pdf)
2009-10-03 15:32 UTC, Alex Bepple
Details
Messed up result (27.24 KB, application/pdf)
2009-10-03 15:33 UTC, Alex Bepple
Details

Description Alex Bepple 2009-10-03 15:32:18 UTC
When I extract the page from 'original.pdf' and save it to 'extracted.pdf', the dimension of the slide is wrong and there is a white margin on the left.
Comment 1 Alex Bepple 2009-10-03 15:32:51 UTC
Created attachment 144670 [details]
Original document
Comment 2 Alex Bepple 2009-10-03 15:33:25 UTC
Created attachment 144671 [details]
Messed up result
Comment 3 Dan 2010-06-21 10:13:25 UTC
I have the same problem, although it doesn't happen with all files. It happened when I swapped a page or deleted a page. The page size of the new (even before saving) document was changed from 210 x 297 mm (A4) to 210 x 210 mm. So I could not use the new document because a lot of text was missing. Unfortunately I can't attach the file to this page because it contains confidential information.
Comment 4 Gabriel Burt 2011-03-03 16:30:40 UTC
*** Bug 633126 has been marked as a duplicate of this bug. ***
Comment 5 Gabriel Burt 2011-03-03 16:31:27 UTC
Dan, that might be the same as this but I'm not sure -- it is already filed separately at bug #620814 though.
Comment 6 Gabriel Burt 2011-03-03 17:10:48 UTC
Ok, found some hacky code in pdfsharp that was causing this -- it literally was just reversing the dimensions for landscape pages when that wasn't needed.  Fixed!