From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 19:20:27 +0200 Message-ID: <831reqdqck.fsf@gnu.org> References: <86zh1fqmwn.fsf@protected.rcdrun.com> <83zh1fdxn1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29145"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45799@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 12 18:42:47 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 1kzNgt-0007Nv-DY for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 18:42:47 +0100 Original-Received: from localhost ([::1]:33578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzNgs-0002ah-50 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 12:42:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzNLr-0002Fe-04 for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 12:21:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49677) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzNLq-0007F5-MV for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 12:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzNLq-0007kL-Hv for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 12:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jan 2021 17:21:02 +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.161047205429744 (code B ref 45799); Tue, 12 Jan 2021 17:21:02 +0000 Original-Received: (at 45799) by debbugs.gnu.org; 12 Jan 2021 17:20:54 +0000 Original-Received: from localhost ([127.0.0.1]:32990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzNLh-0007jg-Lq for submit@debbugs.gnu.org; Tue, 12 Jan 2021 12:20:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzNLg-0007jR-4y for 45799@debbugs.gnu.org; Tue, 12 Jan 2021 12:20:52 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35759) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzNLX-00070u-2L; Tue, 12 Jan 2021 12:20:46 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2335 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kzNL3-0006HW-9E; Tue, 12 Jan 2021 12:20:26 -0500 In-Reply-To: (message from Jean Louis on Tue, 12 Jan 2021 19:51:55 +0300) 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:197812 Archived-At: > 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". > 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).