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

Bug#319179: xterm: utf8Fonts recource stopped working in xorg



Package: xterm
Version: 6.8.2.dfsg.1-8
Followup-For: Bug #319179


I have the same problem as the original reporter. Namely,
xterm.vt100.utf8Fonts stopped working after xfree86 -> xorg upgrade.

You can reproduce the bug as follows:

$ xrdb -merge <<'EOF'
xterm.vt100.font: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-2
xterm.vt100.utf8Fonts.font: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
EOF

Then start an uxterm. Characters outside the iso8859-1 character set
will appear blank.

(Note that I defined the resources for the instance 'xterm' and not for
the class 'XTerm', as it won't affect the uxterm (which sets the class
name to 'UXTerm', but still has the instance name 'xterm')).

As I understand from the description, the utf8Fonts.font should override
the plain 'font' if the resource utf8 is set (and it is set), which
clearly doesn't happen here.

Also note that I have locale hu_HU (and uxterm sets it to hu_HU.UTF-8),
and I don't use the 'locale: true' resource of xterm.
But this is the only meanigful situation in which utf8Fonts could be
used, because if one use the 'locale: true' setting, then only one
(unicode) font is needed for all locales.
On the other hand this "note" is not important, since utf8Fonts has no
effect also when 'locale: true' is used.

And please note that the above config works with xfree86 version of
xterm (4.3.0.dfsg.1-1).


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2
Locale: LANG=C, LC_CTYPE=hu_HU (charmap=ISO-8859-2)

Versions of packages xterm depends on:
ii  libc6                     2.3.5-6        GNU C Library: Shared libraries an
ii  libexpat1                 1.95.8-3       XML parsing C library - runtime li
ii  libfontconfig1            2.3.2-1        generic font configuration library
ii  libfreetype6              2.1.10-1       FreeType 2 font engine, shared lib
ii  libice6                   6.8.2.dfsg.1-7 Inter-Client Exchange library
ii  libncurses5               5.4-9          Shared libraries for terminal hand
ii  libsm6                    6.8.2.dfsg.1-7 X Window System Session Management
ii  libxaw8                   6.8.2.dfsg.1-7 X Athena widget set library
ii  libxext6                  6.8.2.dfsg.1-7 X Window System miscellaneous exte
ii  libxft2                   2.1.7-1        FreeType-based font drawing librar
ii  libxmu6                   6.8.2.dfsg.1-7 X Window System miscellaneous util
ii  libxp6                    6.8.2.dfsg.1-7 X Window System printing extension
ii  libxpm4                   6.8.2.dfsg.1-7 X pixmap library
ii  libxrender1               1:0.9.0-2      X Rendering Extension client libra
ii  libxt6                    6.8.2.dfsg.1-7 X Toolkit Intrinsics
ii  xlibs                     6.8.2.dfsg.1-7 X Window System client libraries m
ii  xlibs-data                6.8.2.dfsg.1-7 X Window System client data

Versions of packages xterm recommends:
ii  xutils                    6.8.2.dfsg.1-7 X Window System utility programs

-- no debconf information



Reply to: