Package: pdfedit Version: 0.4.2-3 Severity: normal Tags: patch
Suppose that you want to enlarge the page of a PDF file from 5 by 8 inches to 8.5 by 11 inches. To do that in PDFedit 0.4.2, you would use "Edit page metrics" (to enlarge the page) and "Set page transformation matrix" (to enlarge the text). In practice, it appears to work, but when you open the PDF file outside of PDFedit, the text is enlarged but the page is not. After much experimentation, I discovered that the error occurs because the changes to the MediaBox are not applied to the CropBox. (To make the necessary fixes, you have to open the object tree, expand "Pages," expand the page numbers, expand "Dictionary" and copy the values from "MediaBox" to "CropBox"). I notified the developers of PDFedit about this bug (and a couple of other bugs). Developer Michal Hocko produced the attached set of patches, which squash the bugs. He also encouraged me to send the patches to you. This bug report corresponds to PDFedit bug #290.[1] Thank you for your attention to this issue, - Eric Doviak ps: I attempted to report this bug yesterday, but it doesn't appear to have gone through. Apologies if you receive a duplicate bug report. [1] http://pdfedit.petricek.net/bt/view.php?id=290 -- System Information: Debian Release: 5.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages pdfedit depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libfreetype6 2.3.7-2 FreeType 2 font engine, shared lib ii libgcc1 1:4.3.2-1.1 GCC support library ii libqt3-mt 3:3.3.8b-5+b1 Qt GUI Library (Threaded runtime v ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3 ii libx11-6 2:1.1.5-2 X11 client-side library ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime pdfedit recommends no packages. pdfedit suggests no packages. -- no debconf information
pdfedit-patches.tar.gz
Description: GNU Zip compressed data