Mailinglist Archive: opensuse-bugs (8114 mails)

< Previous Next >
[Bug 246573] “-fd” option doesn't work in xterm
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 23 Feb 2007 11:15:54 -0700 (MST)
  • Message-id: <20070223181554.B663FDA6@xxxxxxxxxxxxxxxxxxxxxx>

------- Comment #53 from mfabian@xxxxxxxxxx 2007-02-23 11:15 MST -------
I wonder whether it might be a better idea not to check for the widths
of strings at all to find out whether a font is double with or not
because this check seems to be so unreliable.

Instead one could just say that every font which has Chinese or Korean
characters is a double with font. Such a font is certainly either
a dual width font or a proportional font (it might have proportional
Latin characters and/or propoertial Kana (for example "MS PGothic")).

In either case I think it might be OK to return true because the font
has wide characters.

If it happens to be a proportional font, it won't work right of course.
But xterm doesn't check for that anyway:

xterm -fa arial

looks broken but xterm doesn't print any warning.

So we probably don't need to check for proportional double width fonts either.
If a user specifies

xterm -fa "MS PGothic" -fd "MS PGothic"

there will be problems just as in the arial case, but that can't be helped.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >