GNOME Bugzilla – Bug 597215
Dimensions messed up when extracting page or saving
Last modified: 2011-03-03 17:10:48 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.
Created attachment 144670 [details] Original document
Created attachment 144671 [details] Messed up result
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.
*** Bug 633126 has been marked as a duplicate of this bug. ***
Dan, that might be the same as this but I'm not sure -- it is already filed separately at bug #620814 though.
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!