Hard-codes paper size letter

Bug #231420 reported by era
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
html2ps (Debian)
New
Undecided
Unassigned
html2ps (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: html2ps

In contradiction to the documentation, the hard-coded default paper size for html2ps in /etc/html2psrc seems to be "letter". (The html2ps manual page says the default paper size is a4.)

Ideally, this should obey the user's LC_PAPER locale setting, or /etc/papersize, or less ideally use the system paper size when installing the package to create a configuration file for the system.

This is on a Gutsy system.

vnix$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"

vnix$ apt-cache policy html2ps
html2ps:
  Installed: 1.0b5-4
  Candidate: 1.0b5-4
  Version table:
 *** 1.0b5-4 0
        500 http://fi.archive.ubuntu.com gutsy/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

I'm looking this on Quantal's html2ps 1.0b7-1 - and it's ... interesting.

The debian package has a patch (from 2002) that sets the default paper size to the value read from paperconf; so that seems to be
sensible; however my reading is that the default config file installed over rides this as you say to 'letter'

So I think you'd actually be better removing that config file.

Changed in html2ps (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
era (era) wrote :

Thanks for looking into this! The patch you are alluding to is apparently http://patch-tracker.debian.org/patch/series/view/html2ps/1.0b7-1/default_paper_size.patch

Revision history for this message
era (era) wrote :

I found several upstream bugs, none of which seem to be related to this particular patch. Hmm... See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=410011 and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=421385

Changed in html2ps (Debian):
status: Unknown → Fix Released
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Debian Bug 410011 is a different problem (and we already have that patch in our package).

Changed in html2ps (Debian):
importance: Unknown → Undecided
status: Fix Released → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.