Public bug reported:

/usr/bin/xpdf is a shell script which calls the binary xpdf.real, but it
does not pass through certain options to the binary (about two dozen
different options do not work for this reason).

The wrapper script should pass through all unrecognized options to the binary.  
Alternatively, it has to correctly recognize every valid option.

For example

  xpdf -opw mypassword file.pdf

gives the (bogus) error

  error" "mypassword" file not found

However 
  xpdf.real -opw mypassword -title 'Xpdf: file.pdf' file.pdf
works as expected.

Looking at the code in /usr/bin/xpdf, it appears to not recognize the following 
options:
  -cmap -rv -mattecolor -cont -freetype -aa -aaVector -paper -level1 -enc -eol 
-opw -upw -fullscreen -exec -reload -raise -quit
  -cmd -q -cfg -v -h -display -bg -fg -font

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xpdf 3.02-21
ProcVersionSignature: Ubuntu 3.0.0-22.36-generic 3.0.33
Uname: Linux 3.0.0-22-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Mon Jul  9 11:17:42 2012
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: xpdf
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: xpdf (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1022684

Title:
  xpdf wrapper script prevents use of many -options

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xpdf/+bug/1022684/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to