• Bug#267062: xlibs: [xkb] wrong Compose file for pl_PL.UTF-8?

    From Shot@1:229/2 to All on Fri Aug 20 16:10:08 2004
    XPost: linux.debian.maint.x
    From: [email protected]

    Package: xlibs
    Version: 4.3.0.dfsg.1-6
    Severity: normal

    Hello.

    I'm using pl_PL.UTF-8 locale, and would like to be able to type certain characters, like em- and en-dashes, "curly" quotes, ellipsis, etc.
    I've found out that these characters should be easily obtainable with
    the compose key, and it seems they are in fact defined properly:

    shot@desaxe:~$ grep pl /usr/X11R6/lib/X11/locale/compose.dir
    iso8859-2/Compose pl_PL.ISO8859-2
    en_US.UTF-8/Compose pl_PL.UTF-8
    iso8859-2/Compose: pl_PL.ISO8859-2
    en_US.UTF-8/Compose: pl_PL.UTF-8

    shot@desaxe:~$ grep DASH /usr/X11R6/lib/X11/locale/en_US.UTF-8/Compose <Multi_key> <minus> <minus> <period> : "–" U2013 # EN DASH
    <Multi_key> <minus> <minus> <minus> : "—" U2014 # EM DASH

    Yet when I try to input <Multi_key> <minus> <minus> <period> I get
    the hyphen character right after the second <minus>; it seems that
    X is using the iso8859-2/Compose mapping instead of en_US.UTF-8/Compose:

    shot@desaxe:~$ grep "<minus> <minus>" /usr/X11R6/lib/X11/locale/iso8859-2/Compose
    <Multi_key> <minus> <minus> : "\255" hyphen

    Additionally, the <Multi_key> <a> <comma> sequence inputs aogonek, so
    I'm either using ISO-8859-2, -4 or -13 mappings (I'm betting on -2):

    shot@desaxe:~$ grep -r "<a> <comma>" /usr/X11R6/lib/X11/locale/ /usr/X11R6/lib/X11/locale/iso8859-13/Compose:<Multi_key> <a> <comma> : "\340" aogonek
    /usr/X11R6/lib/X11/locale/iso8859-2/Compose:<Multi_key> <a> <comma> : "\261" aogonek
    /usr/X11R6/lib/X11/locale/iso8859-4/Compose:<Multi_key> <a> <comma> : "\261" aogonek

    Is there a way to set X to use the en_US.UTF-8/Compose mappings?
    Shouldn't this be the default source for pl_PL.UTF-8 locale?

    (I tried overwriting iso8859-2/Compose with en_US.UTF-8/Compose and it
    didn't change anything, so I guess the compose mappings must be defined elsewhere as well.)

    -- Package-specific info:

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (990, 'unstable'), (1, 'experimental')
    Architecture: i386 (i686)
    Kernel: Linux 2.4.18-bf2.4
    Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8

    Versions of packages xlibs depends on:
    ii libice6 4.3.0.dfsg.1-6 Inter-Client Exchange library
    ii libsm6 4.3.0.dfsg.1-6 X Window System Session Management ii libx11-6 4.3.0.dfsg.1-6 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-6 X Window System miscellaneous exte ii libxft1 4.3.0.dfsg.1-6 FreeType-based font drawing librar ii libxi6 4.3.0.dfsg.1-6 X Window System Input extension li ii libxmu6 4.3.0.dfsg.1-6 X Window System miscellaneous util ii libxmuu1 4.3.0.dfsg.1-6 lightweight X Window System miscel ii libxp6 4.3.0.dfsg.1-6 X Window System printing extension ii libxpm4 4.3.0.dfsg.1-6 X pixmap library
    ii libxrandr2 4.3.0.dfsg.1-6 X Window System Resize, Rotate and ii libxt6 4.3.0.dfsg.1-6 X Toolkit Intrinsics
    ii libxtrap6 4.3.0.dfsg.1-6 X Window System protocol-trapping ii libxtst6 4.3.0.dfsg.1-6 X Window System event recording an ii xlibs-data 4.3.0.dfsg.1-6 X Window System client data

    -- no debconf information

    Cheers,
    -- Shot (Piotr Szotkowski)
    --
    I'm changing \accent to \mathaccent here; wish me luck.
    ~~~ TeX ~~~


    http://shot.pl/hovercraft/

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)