Package: wkhtmltopdf Version: 0.12.3.2-3 Severity: important Dear Maintainer,
The man page declares --page-height <unitreal> to be a "Global Option" and states, For a more fine grained control over the page size the --page-height and --page-width options may be used Suppose a test file, test.html, contains a simple html test document. The invocation wkhtmltopdf --page-height 25cm test.html out.pdf produces an output file having page size A4 (as reported by pdfinfo). The expected result would be an output file having a page size with a length of 25 cm. Same situation occurs with several other tested page heights, including page heights specified in other units (mm) and no units. If the --page-height option works only in the builds of wkhtmltopdf "compiled against a version of QT with the wkhtmltopdf patches," I would expect an error message indicating that. If "25cm" not valid as a value for the --page-height option, I would expect an error message indicating that. Best regards, --Neil Ormos -- System Information: Debian Release: 9.9 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-9-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages wkhtmltopdf depends on: ii libc6 2.24-11+deb9u4 ii libgcc1 1:6.3.0-18+deb9u1 ii libgl1-mesa-glx [libgl1] 13.0.6-1+b2 ii libqt5core5a 5.7.1+dfsg-3+deb9u1 ii libqt5gui5 5.7.1+dfsg-3+deb9u1 ii libqt5network5 5.7.1+dfsg-3+deb9u1 ii libqt5printsupport5 5.7.1+dfsg-3+deb9u1 ii libqt5svg5 5.7.1~20161021-2+b2 ii libqt5webkit5 5.7.1+dfsg-1 ii libqt5widgets5 5.7.1+dfsg-3+deb9u1 ii libqt5xmlpatterns5 5.7.1~20161021-3 ii libstdc++6 6.3.0-18+deb9u1 Versions of packages wkhtmltopdf recommends: ii xserver-xorg [xserver] 1:7.7+19 wkhtmltopdf suggests no packages. -- no debconf information