Bug#578825: Do not support font substitution mechanism provided by fontconfig
Package: xterm
Version: 256-1
Severity: normal
I am japanophile (shinnichi), who is trying to learn Japanese
language. Therefore I have configured font substitution and virtual
fonts (Sans, Serif and Monospace) of my fontconfig this way:
1. When trying to find glyph for certain character, try Bitstream Vera
and its clones and derivatives first, especially DejaVu fonts.
2. If that fails, try Japanese fonts next (IPA-fonts, VL-fonts etc.)
3. And so on.
In fact, I have released those configs in WWW:
http://iki.fi/juhtolv/configs/fontconfig/
I also have released my X-resources in WWW:
http://iki.fi/juhtolv/configs/X/dot.Xresources.bz2
I also have this line in my shell configs:
export PANGO_LANGUAGE="fi;en;ja"
Unfortunately xterm do not support font substitution at all. I gave this
command:
xterm -fa 'Monospace' -fs 12
Then in that xterm window I gave this command:
lynx 'http://ja.wikipedia.org/wiki/%E3%82%A4%E3%83%A9%E3%82%AF'
All Japanese characters look like like boxes.
It is easy to see, how it fails: When some virtual font is called, it
only finds the first real font accepted for that virtual font and
that's all.
-- System Information:
Debian Release: squeeze/sid
APT prefers stable
APT policy: (990, 'stable'), (500, 'testing-proposed-updates'), (500, 'proposed-updates'), (101, 'testing'), (99, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xterm depends on:
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libfontconfig1 2.8.0-2 generic font configuration library
ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library
ii libncurses5 5.7+20100313-2 shared libraries for terminal hand
ii libutempter0 1.1.5-2 A privileged helper for utmp/wtmp
ii libx11-6 2:1.3.3-3 X11 client-side library
ii libxaw7 2:1.0.7-1 X11 Athena Widget library
ii libxft2 2.1.14-2 FreeType-based font drawing librar
ii libxmu6 2:1.0.5-1 X11 miscellaneous utility library
ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library
ii xbitmaps 1.1.0-1 Base X bitmaps
Versions of packages xterm recommends:
ii x11-utils 7.5+3 X11 utilities
ii xutils 1:7.5+5 X Window System utility programs m
Versions of packages xterm suggests:
pn xfonts-cyrillic <none> (no description available)
-- no debconf information
--
Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv
"Quidquid Latine dictum sit altum videtur."
Reply to: