Package: xpdf
Version: 3.02-12+squeeze1
Severity: normal

The following LaTeX document initially displays fine with xpdf, but
after cropping it xpdf crashes instantly, without information.

Example.

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

  \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}
================8<-------------------------------------------------

To follow the 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:

  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 xpdf depends on:
ii  lesstif2                      1:0.95.2-1 OSF/Motif 2.1 implementation relea
ii  libc6                         2.11.3-4   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.5-8  GCC support library
ii  libpoppler5                   0.12.4-1.2 PDF rendering library
ii  libstdc++6                    4.4.5-8    The GNU Standard C++ Library v3
ii  libx11-6                      2:1.3.3-4  X11 client-side library
ii  libxt6                        1:1.0.7-1  X11 toolkit intrinsics library

Versions of packages xpdf recommends:
ii  gsfonts-x11                   0.21       Make Ghostscript fonts available t
ii  poppler-data                  0.4.3-1    Encoding data for the poppler PDF 
ii  poppler-utils                 0.12.4-1.2 PDF utilitites (based on libpopple

xpdf suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to