From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#45799: 28.0.50; Faces shrink unreadable on GUI when foreground/background color set in TUI Date: Tue, 12 Jan 2021 20:46:00 +0300 Message-ID: References: <86zh1fqmwn.fsf@protected.rcdrun.com> <83zh1fdxn1.fsf@gnu.org> <831reqdqck.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11939"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: 45799@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 12 18:47:38 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzNlZ-0002vQ-7A for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 18:47:37 +0100 Original-Received: from localhost ([::1]:45770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzNlY-00086Z-2s for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 12:47:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzNl1-00084J-GL for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 12:47:09 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49703) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzNl1-0007yV-88 for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 12:47:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzNl1-0008Qy-77 for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 12:47:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jan 2021 17:47:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45799 X-GNU-PR-Package: emacs Original-Received: via spool by 45799-submit@debbugs.gnu.org id=B45799.161047357432325 (code B ref 45799); Tue, 12 Jan 2021 17:47:03 +0000 Original-Received: (at 45799) by debbugs.gnu.org; 12 Jan 2021 17:46:14 +0000 Original-Received: from localhost ([127.0.0.1]:33010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzNkE-0008PH-Bk for submit@debbugs.gnu.org; Tue, 12 Jan 2021 12:46:14 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:49565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzNkA-0008Ou-5Z for 45799@debbugs.gnu.org; Tue, 12 Jan 2021 12:46:12 -0500 Original-Received: from localhost ([::ffff:197.157.0.38]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001E075.000000005FFDE05B.00001477; Tue, 12 Jan 2021 10:46:03 -0700 Content-Disposition: inline In-Reply-To: <831reqdqck.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197813 Archived-At: * Eli Zaretskii [2021-01-12 20:21]: > > Date: Tue, 12 Jan 2021 19:51:55 +0300 > > From: Jean Louis > > Cc: 45799@debbugs.gnu.org > > > > When I however, entered from xterm, from console mode with > > emacsclient -nw than after M-x customize-faces default I can see that > > height is 1 point. And it is set to 1 > > > > [X] Height: Value Menu Height in 1/10 pt: 1 > > > > that is what I see if I enter customize-faces from console by using > > server. > > > > [X] Height: Value Menu Height in 1/10 pt: 113 > > > > Is that normal behavior according to you? > > Yes. Everything is 1 pixel on a TTY frame. That's why it's a bad > idea to customize faces on a TTY frame using "M-x customize-face". Yes, and no. I use GUI mostly but there are ways why I need emacs on console, and often themes make the console less readable or contrast is not good enough. It may be bad idea, but I do not know what better or else to do to customize console temporarily. > > It does not sound logical that Height on console should be displayed > > as 1 as that does not relate to console height > > Emacs has no way of knowing the size of font on text-mode frames, so > it counts it as 1. That's the lowest granularity of text size on TTY > frames, as far as Emacs is concerned, as it cannot reference partial > character width or height in text mode. The height of each text line > is 1 and the width of every character is 1 (with the exception of > double-width characters, whose width is 2). OK I understand. Just it is not visible to user. I was not thinking of height, I just wanted to have some better contrast and missed to see that height on console is 1. Still there is problem. You basically say "it is bad idea" advising me and users to rather avoid the issue on hand. The issue is that users are allowed to customize faces on console and that such customization does affect GUI in the same time. As if Emacs pulls some default for console such as 1, then it should not affect GUI, but console only. Or other solution would be to split settings and tell user that specific customization of face height is for GUI, and other line is for TUI, something like that. So if the font on console is 1 then customization of the default face in console should not affect the GUI. Can we agree on that?