[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#694371: marked as done (ghostscript: \CropBox on A3 paper- result unreadable to xpdf and evince)



Your message dated Sun, 07 Jan 2024 21:14:52 -0600
with message-id <2103227.KlZ2vcFHjT@riemann>
and subject line Re: ghostscript: \CropBox on A3 paper- result unreadable to xpdf and evince
has caused the Debian Bug report #694371,
regarding ghostscript: \CropBox on A3 paper- result unreadable to xpdf and evince
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
694371: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694371
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ghostscript
Version: 8.71~dfsg2-9
Severity: normal


The following LaTeX document initially displays fine with evince and
xpdf, but after cropping it the resulting file is unusable.

Example:

==[latex_a3_paper.tex]================%<-----------------------------

  \documentclass[12pt]{minimal}
  \usepackage[a3paper,left=1in,right=1in,top=1in,bottom=1in]{geometry}
  \begin{document}

    \newsavebox{\sometxt}
      \sbox{\sometxt}{\begin{tabular}{@{}l@{}}
                        One line of text.\\
  	  	        Another line of text.
                      \end{tabular}}

    \newcommand{\row}{\usebox{\sometxt}\hfill\usebox{\sometxt}\\[5mm]}

    \row\row\row\row\row\row
    \fbox{Crop Me!!\row}
    \row\row\row\row\row\row

    \begin{verbatim}
  pdflatex latex_a3_paper.tex

  gs -sDEVICE=pdfwrite -o latex_a3_paper_cropped.pdf -c "[/CropBox [65 850 303 890] /PAGES pdfmark" -f latex_a3_paper.pdf
    \end{verbatim}
  \end{document}
================%<-------------------------------------------------

To follow this example, save the text above to a file
"latex_a3_paper.tex".  Then run:

  pdflatex latex_a3_paper.tex

then:

  gs -sDEVICE=pdfwrite -o latex_a3_paper_cropped.pdf -c "[/CropBox [65 850 303 890] /PAGES pdfmark" -f latex_a3_paper.pdf

then:

  evince latex_a3_paper_cropped.pdf
<or>
  xpdf latex_a3_paper_cropped.pdf

To see latex_a3_paper_cropped.pdf render properly, open it with "gv"
or "emacs".

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ghostscript depends on:
ii  debconf [de 1.5.36.1                     Debian configuration management sy
ii  debianutils 3.4                          Miscellaneous utilities specific t
ii  gsfonts     1:8.11+urwcyr1.0.7~pre44-4.2 Fonts for the Ghostscript interpre
ii  libc6       2.11.3-4                     Embedded GNU C Library: Shared lib
ii  libgs8      8.71~dfsg2-9                 The Ghostscript PostScript/PDF int

ghostscript recommends no packages.

ghostscript suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On Sun, 25 Nov 2012 22:16:13 +0100 (CET) Nomen Nescio <nobody@dizum.com> 
wrote:

>   evince latex_a3_paper_cropped.pdf
> <or>
>   xpdf latex_a3_paper_cropped.pdf
> 
> To see latex_a3_paper_cropped.pdf render properly, open it with "gv"
> or "emacs".

I tested using ghostscript 10.02.1 and the display with "evince" is the same 
as with "gv".  

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: