Mailinglist Archive: opensuse-bugs (8114 mails)

< Previous Next >
[Bug 246573] “-fd” option doesn't work in xterm
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 20 Feb 2007 07:06:50 -0700 (MST)
  • Message-id: <20070220140650.22AD8F8F@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=246573





------- Comment #36 from mfabian@xxxxxxxxxx 2007-02-20 07:06 MST -------
I found another (minor) problem:

mfabian@magellan:~$ fc-list "Sazanami Gothic" spacing

mfabian@magellan:~$ fc-list "MS PGothic" spacing

mfabian@magellan:~$ fc-list "MS Gothic" spacing
:spacing=90
mfabian@magellan:~$

I.e. "Sazanami Gothic" and "MS PGothic" are proportional fonts (at
least fontconfig thinks so) and "MS Gothic" is a dualspaced font.

When a font is used as the single width font where fontconfig thinks
it is a "dual spaced" font it doesn't work right, i.e.

mfabian@magellan:~$ xterm -fa "MS Gothic" -fd "MS Gothic"

won't work well, all characters, even the single width characters,
become double width.

But when a font is used where fontconfig thinks it is a “proportional” font
like
“Ms PGothic” is used, i.e.

mfabian@magellan:~$ xterm -fa "MS PGothic" -fd "MS PGothic"

it works a bit better although there are overlapping problems with the
single width glyphs because this font is really proportional in the
single width glyphs (but still monospaced in the double width glyphs).

“Sazanami Gothic” is a dual width font for all practial purposes,
therefore

xterm -fa "Sazanami Gothic" -fd "Sazanami Gothic"

works well. The reason fontconfig doesn't recognize it as a dual width
font is probably due to some bugs in “Sazanami Gothic” some single
width glyphs are probably broken (too wide) but as most common
glyphs are correct, it works OK.

Because of the problem describe above,

LC_ALL=ja_JP.UTF-8 xterm -fa monospace -fd monospace

might not work because "monospace" may happen to expand to a dual
width font. That "monospace" may expand to a dual width font is
perfectly fine, actually it is the closest approximation of monospace
for a CJK locale. Unfortunately xterm cannot yet deal well with that.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
References