Package: xpdf
Version: 3.02-21
Severity: normal

Just got a new xpdf from testing repo.
It turns out that xpdf is now a shell script, but the logic to quote the
argument of -g, -z, etc is not correct. Example:

    /tmp $ /usr/bin/xpdf -g 1024x768 sample.pdf
    Warning: Shell widget "xpdf.real" has an invalid geometry specification: 
"'1024x768'"
    Warning: Shell widget "win" has an invalid geometry specification: 
"'1024x768'"

The culprit is here (snippet from /usr/bin/xpdf):

    while [ "$#" -gt "0" ]; do
        case "$1" in
        
-z|-g|-geometry|-remote|-rgb|-papercolor|-eucjp|-t1lib|-ps|-paperw|-paperh|-upw)
            cmd="$cmd $1 '$2'" && shift ;;

In the last line, the single quotes are added, but later it gets digested
as literal single quote characters.
I don't have an idea right now on how to fix this, but just pass this on
to you all.

Thanks,
Wirawan

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (50, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-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.2-10   Embedded GNU C Library: Shared lib
ii  libgcc1                      1:4.4.5-8   GCC support library
ii  libpoppler13                 0.16.7-2+b1 PDF rendering library
ii  libstdc++6                   4.6.2-4     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:
pn  gsfonts-x11                   <none>     (no description available)
pn  poppler-data                  <none>     (no description available)
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