Comment 67 for bug 10910

Revision history for this message
era (era) wrote :

@John Vivirito: I added Ubufox at comment #28 asking for comment on the suggestion that perhaps this could be fixed in Ubufox, as initially outlined in my comment #27. I haven't received any reply, so I'm asking again. Thanks for noticing, though.

I'll be the first to admit that fiixing it in Ubufox smacks of a workaround, but then upstream has a much more varied collection of deployment scenarios to cater to, whereas Ubuntu 9.04 and up is a reasonably well-defined and standard platform to code against; and so the fix could be a lot simpler than what upstream will ultimately need to come up with. In particular, you can handle just the Linux subset of possible scenarios, and count on basic locale support etc to be properly set up.

My somewhat brittle proposal would be for the postinst script to hack the default value in the .js file based on information in /etc/papersize; (I wish I would not be saying this, but) with security upgrades coming down the pipe with some reliability, this script would realistically run every couple of months, at least. Yes, this is ugly, but it could fix "the easy 80%".