pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/44863: print/poppler's MESSAGE

The following reply was made to PR pkg/44863; it has been noted by GNATS.

From: David Holland <>
Subject: Re: pkg/44863: print/poppler's MESSAGE
Date: Sun, 29 Dec 2013 23:14:11 +0000

 this wasn't sent to gnats
 From: Matthias Drochner <>
 Subject: Re: pkg/44863: print/poppler's MESSAGE
 Date: Thu, 14 Apr 2011 21:29:42 +0200
 The MESSAGE is technically not exact indeed, but I think it is not too bad.
 At first, the code which selects the default paper size is not in poppler
 but in gtk2. A MESSAGE attached to gtk2 wouldn't be read, and a couple
 of applications which print use poppler, so there is a chance that this
 is read by someone who installs some program which prints out his
 PDF documents. (poppler-glib would be more selective though)
 There are other programs which print through gtk2 but don't use
 poppler. This means there could be more MESSAGEs of this kind.
 > even assuming it makes sense to use locales to select
 > the default paper size, which I question, LC_MESSAGES is supposed to
 > be used to choose the language
 This is indeed how the gtk2 code works. It uses LC_MESSAGES, unless
 either _NL_PAPER_WIDTH exists for nl_langinfo(3) or a special
 LC_PAPER category. Neither does in NetBSD.
 For pkgsrc, it might make sense to use /etc/papersize through
 the "libpaper" pkg as other programs do, but this would mean
 patching gtk2.
 > It would make as much sense to set LC_COLLATE.
 Indeed, this doesn't fit into any of the POSIX defined categories.
 > Also, UTF-8 has nothing to do with paper size.
 Obviously not, but for end users it is better to give an example
 which works than to try to explain the theory.
 The "letter" size is also not limited to _US locales -- just ftr
 the exact list is (BZ|CA|CL|CO|CR|GT|MX|NI|PA|PH|PR|SV|US|VE).
 best regards
 Forschungszentrum Juelich GmbH
 52425 Juelich
 Sitz der Gesellschaft: Juelich
 Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
 Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
 Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
 Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
 Prof. Dr. Sebastian M. Schmidt
 Besuchen Sie uns auf unserem neuen Webauftritt unter

Home | Main Index | Thread Index | Old Index