Package: gs-afpl Version: 8.53-0.1 Severity: normal The pdf file attached below does not view correctly. It is a rectangle (200x100, in units of PostScript points) filled with green and with a 0.5-point red border. The border should stick out 0.25 points beyond each edge of the rectangle and have rounded corners. The left and bottom borders view fine, but the top and right borders are invisible. xpdf (v3.01) also has problems (see Debian BTS #355770). However, acroread 7.0.1 views it fine.
The exact gs command (using X.org 6.9.0, Linux i686, 2.6.16-rc5, IBM Thinkpad 600X): gs -r360 rect-1-unc.pdf With the following command, the right and top red borders are visible: gs -r72o rect-1-unc.pdf Alternatively, rounding up the BBox and MediaBox dimensions to the next whole point fixes the problem, so I suspect the absence of the top and right borders is due to incorrect rounding in the clipping paths. To be exact, if I apply this unified diff (0 lines of context) to the pdf file attached, then all the borders view fine: --- rect-1-unc.pdf 2006-03-07 13:08:18.000000000 -0500 +++ rect-1-unc-expanded.pdf 2006-03-07 13:28:52.000000000 -0500 @@ -10 +10 @@ -/BBox [0 0 200.4977 100.4988] +/BBox [0 0 201 101] @@ -51 +51 @@ -/MediaBox [0 0 200.4977 100.4988] +/MediaBox [0 0 201 101] The rect-1-unc.pdf file below comes from this metapost file (rect.mp): beginfig(1) path p; p := unitsquare scaled 100bp xscaled 2; draw p withcolor red; fill p withcolor green; endfig; end The sequence of commands to make rect-1-unc.pdf: mpost rect.mp [gives rect.1, a metapost EPS file] mptopdf rect.1 [gives rect-1.pdf] pdftk rect-1.pdf output rect-1-unc.pdf uncompress [gives rect-1-unc.pdf] -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-rc5 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages gs-afpl depends on: ii gs-common 0.3.9 Common files for different Ghostsc ii libc6 2.3.5-13 GNU C Library: Shared libraries an ii libice6 6.9.0.dfsg.1-4 Inter-Client Exchange library ii libjasper-1.701-1 1.701.0-2 The JasPer JPEG-2000 runtime libra ii libjpeg62 6b-11 The Independent JPEG Group's JPEG ii libpaper1 1.1.14-5 Library for handling paper charact ii libpng12-0 1.2.8rel-5 PNG library - runtime ii libsm6 6.9.0.dfsg.1-4 X Window System Session Management ii libx11-6 6.9.0.dfsg.1-4 X Window System protocol client li ii libxext6 6.9.0.dfsg.1-4 X Window System miscellaneous exte ii libxt6 6.9.0.dfsg.1-4 X Toolkit Intrinsics ii zlib1g 1:1.2.3-9 compression library - runtime Versions of packages gs-afpl recommends: ii gsfonts 8.14+v8.11+urw-0.2 Fonts for the Ghostscript interpre ii psfontmgr 0.11.8-0.1 PostScript font manager -- part of -- no debconf information
rect-1-unc.pdf
Description: PDF file to try