Package: gs-esp
Version: 7.07.1-9
Severity: normal

gs-esp fails to crop the output as per the bounding box when generating
PNG output. On the other hand gs-gpl works properly.

Command used:
gs-esp -sDEVICE=pnggray -sOutputFile=test.png -dEPSCrop \
        -q -dbatch -dNOPAUSE test.ps -c quit

Benchmark case: (gs-gpl version 8.01-5)
gs-gpl -sDEVICE=pnggray -sOutputFile=rest.png -dEPSCrop \
        -q -dbatch -dNOPAUSE test.ps -c quit

File:
=========test.ps=====================================
%!PS-Adobe-2.0 EPSF-2.0
%%Title: test.ps
%%CreationDate: Sat Feb 19 12:59:05 2005
%%BoundingBox: 0 0 8 8
%Magnification: 1.0000
%%EndComments
%
/Times-Roman findfont 190.50 scalefont setfont
2790 3780 moveto
gsave 1 -1 scale (a) show grestore
showpage
%%Trailer
%EOF
=========end of test.ps===============================
Bug:
file test.png gives output
test.png: PNG image data, 595 x 842, 8-bit grayscale, non-interlaced

file rest.png gives output
rest.png: PNG image data, 8 x 8, 8-bit grayscale, non-interlaced

The latter conforms to the bounding box but the former doesn't.

Thanks and Regards,

Kapil.
-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gs-esp depends on:
ii  gs-common                0.3.6-0.1       Common files for different Ghostsc
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libcupsimage2            1.1.23-3        Common UNIX Printing System(tm) - 
ii  libcupsys2-gnutls10      1.1.23-3        Common UNIX Printing System(tm) - 
ii  libgimpprint1            4.2.7-5         The Gimp-Print printer driver libr
ii  libglib2.0-0             2.6.1-3         The GLib library of C routines
ii  libjpeg62                6b-9            The Independent JPEG Group's JPEG 
ii  libpaper1                1.1.14-3        Library for handling paper charact
ii  libpng12-0               1.2.8rel-1      PNG library - runtime
ii  libstdc++5               1:3.3.5-8       The GNU Standard C++ Library v3
ii  libtiff4                 3.7.1-3         Tag Image File Format (TIFF) libra
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxt6                   4.3.0.dfsg.1-10 X Toolkit Intrinsics
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-3       compression library - runtime

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to