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

Bug#862042: xterm: if the faceName resource is defined, the -fn (-font) option is ignored




----- Original Message -----
| From: "Vincent Lefevre" <vincent@vinc17.net>
| To: "Thomas Dickey" <dickey@his.com>
| Cc: 862042@bugs.debian.org
| Sent: Sunday, May 7, 2017 5:13:32 PM
| Subject: Bug#862042: xterm: if the faceName resource is defined, the -fn (-font) option is ignored
| 
| On 2017-05-07 16:29:35 -0400, Thomas Dickey wrote:
| > ----- Original Message -----
| > | From: "Vincent Lefevre" <vincent@vinc17.net>
| > | To: "Debian Bug Tracking System" <submit@bugs.debian.org>
| > | Sent: Sunday, May 7, 2017 1:23:00 PM
| > | Subject: Bug#862042: xterm: if the faceName resource is defined,
| > | the -fn (-font) option is ignored
| > | 
| > | Package: xterm
| > | Version: 327-2
| > | Severity: minor
| > | 
| > | If I define the faceName resource, e.g. with
| > | 
| > | XTerm*faceName: Monospace
| > | 
| > | in the .Xresources file (read by xrdb), then the -fn (-font)
| > | option
| > | is ignored. For instance,
| > | 
| > |   xterm -fn 7x13
| > | 
| > | has no effect. Options normally override the default resources,
| > | but
| > | this is not the case here. And the observed behavior is not
| > | documented.
| > 
| > last paragraph in this section:
| > 
| > http://invisible-island.net/xterm/manpage/xterm.html#VT100-Widget-Resources:faceSize
| > 
| > (it's been there quite a while, and won't be changed)
| 
| Sorry, but I don't understand. In particular, this does not
| explain the behavior when none of faceSize resources are set.

Perhaps you'll see it here:

http://invisible-island.net/xterm/manpage/xterm.html#VT100-Widget-Resources:renderFont

Most of xterm's options work by setting resource values (there are a handful
of special cases such as "-help", "-version" which do not).  I can clarify the
manual, but there's no reason to change the program logic (in this bug, anyway). 

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net


Reply to: