Hi Carlos, On Wed, 27 Mar 2013 13:07:36 -0500 Carlos Zuniga <carlos....@gmail.com> wrote:
> On Wed, Mar 27, 2013 at 12:03 PM, Carlos Zuniga <carlos....@gmail.com> > wrote: > > Package: webkit2pdf > > Version: 0.2-4 > > Severity: minor > > > > Dear Maintainer, > > > > I'm trying to use webkit2pdf to print a pdf with an a6 size but when I > > use the -s option it returns with an error: > > > > $ webkit2pdf -s a6 http://pastebin.com/raw.php?i=CqN54gSJ > > no paper matches 'a6' > > > > `paperconf -a` shows it in the list, and trying other sizes results in > > the same error. > > > > I've also tried changing the default paper size in /etc/papersize and > > using the environment variable PAPERSIZE instead of -s and neither work, > > it just generates the pdf in an a4 size. > > > > I just found through that `webkit2pdf -s help` shows the names for the > paper sizes, so a6 is actually iso_a6 (don't know if the paper sizes > are hardcoded inside webkit2pdf or it takes them from somewhere else). No, paper names come from GTK+: https://developer.gnome.org/gtk2/2.24/GtkPaperSize.html > I was mislead by the man page showing "/etc/papersize: Default paper > size to use" and to see also papersize(5). > > So I've fixed my problem, but can the manpage be updated to show that > the option `-s help` lists the possible paper sizes to use? there are > also other options (-j and -b) that don't appear on the man page at > all. Indeed, the manpage is very outdated. My mistake only, as the manpage is not coming from upstream. Unfortunately we're too late in the release cycle, and the fix for this won't be accepted into testing: https://lists.debian.org/debian-devel-announce/2013/03/msg00009.html thanks for reporting, -- Ricardo Mones http://people.debian.org/~mones «You are dishonest, but never to the point of hurting a friend.»
signature.asc
Description: PGP signature