[cups.bugs] [LOW] STR #1688: Wrong paper size for C and POSIX locales

twaugh.redhat twaugh at redhat.com
Mon May 15 04:09:38 PDT 2006


[STR New]

ipp.c:4060:

    if (!DefaultLanguage ||
        !strcasecmp(DefaultLanguage, "C") ||
        !strcasecmp(DefaultLanguage, "POSIX") ||
        !strcasecmp(DefaultLanguage, "en") ||
        !strncasecmp(DefaultLanguage, "en_US", 5) ||
        !strncasecmp(DefaultLanguage, "en_CA", 5) ||
        !strncasecmp(DefaultLanguage, "fr_CA", 5))
    {
     /*
      * These are the only locales that will default to "letter" size...
      */

Hey, 'C' and 'POSIX' both use A4:

$ LC_ALL=C locale -k LC_PAPER
height=297
width=210
paper-codeset="ANSI_X3.4-1968"
$ rpm -q glibc
glibc-2.4-4

Link: http://www.cups.org/str.php?L1688
Version: 1.2.0





More information about the cups mailing list