From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.help Subject: Re: changing font and font size in terminal emacs-27.2 Date: Sat, 07 Aug 2021 12:28:58 +0100 Message-ID: <87pmupmr2d.fsf@yandex.com> References: <8535rm8pzy.fsf@gmail.com> <20210806170613.GF23692@tuxteam.de> <87wnoymkxu.fsf@yandex.com> <858s1d3n51.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17202"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: , help-gnu-emacs@gnu.org To: Sivaram Neelakantan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 07 13:30:08 2021 Return-path: Envelope-to: geh-help-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 1mCKWj-00049E-9x for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 Aug 2021 13:30:05 +0200 Original-Received: from localhost ([::1]:32946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCKWh-0007ev-7u for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 Aug 2021 07:30:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCKVp-0007ek-UA for help-gnu-emacs@gnu.org; Sat, 07 Aug 2021 07:29:09 -0400 Original-Received: from forward102o.mail.yandex.net ([37.140.190.182]:53435) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCKVl-0006eG-BO for help-gnu-emacs@gnu.org; Sat, 07 Aug 2021 07:29:09 -0400 Original-Received: from sas1-220b3000ec3a.qloud-c.yandex.net (sas1-220b3000ec3a.qloud-c.yandex.net [IPv6:2a02:6b8:c08:796:0:640:220b:3000]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 43FA966817CF; Sat, 7 Aug 2021 14:29:01 +0300 (MSK) Original-Received: from sas8-b61c542d7279.qloud-c.yandex.net (sas8-b61c542d7279.qloud-c.yandex.net [2a02:6b8:c1b:2912:0:640:b61c:542d]) by sas1-220b3000ec3a.qloud-c.yandex.net (mxback/Yandex) with ESMTP id 207BrugMvz-T1IqOKIs; Sat, 07 Aug 2021 14:29:01 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1628335741; bh=eBENmjt6uVvutkZ5CimtTcmqBrdqIbnC7hrfAYoliM0=; h=In-Reply-To:Subject:Date:References:To:From:Message-ID:Cc:Cc; b=Qvhzie0X2FGmeZ2q5QnqJv95w/G6I7hdISQmvfgUqv/PWUfWDPxIXWRTbasERYiGE tMvihWphKqC086TmV2Jh1PM5htXTtr600Is1YcP/DaYFqji2ZMBpFe7thVzeI/Ppte VO6br0KHe4tewfOeyyJNdtkDsHACgxx0SVAudIb0= Authentication-Results: sas1-220b3000ec3a.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by sas8-b61c542d7279.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id Hbx0nbulIc-T02G3LvW; Sat, 07 Aug 2021 14:29:00 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T In-Reply-To: <858s1d3n51.fsf@gmail.com> (Sivaram Neelakantan's message of "Sat, 07 Aug 2021 09:46:26 +0530") Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== Received-SPF: pass client-ip=37.140.190.182; envelope-from=m43cap@yandex.com; helo=forward102o.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132380 Archived-At: >>>>> Sivaram Neelakantan writes: > On Fri, Aug 06 2021,Colin Baxter wrote: > [snipped 10 lines] >> If you are using xterm then set the font in ~/.Xdefaults and/or >> ~/.Xresources. For example, I have >> >> ! Set font and size: XTerm*faceName: DejaVu Sans Mono Book >> !XTerm*faceName: Monospace XTerm*faceSize: 10 >> >> For other settings, search the Internet for .Xdefaults >> .Xresources. The particular file depends on the Linux flavor. I >> have both files identical. >> >> Hope this helps. >> > Thanks, I did have that and it seems to have no effect; Been > trying various stuff and at this point if I can get the emacs > terminal font at 12pt or above I'd be happy. :-) > $ xrdb -query|grep emacs emacs*Background: DarkSlateGray > emacs*Foreground: Wheat emacs*bitmapIcon: on emacs*cursorColor: > Orchid emacs*pointerColor: Orchid emacs.font: DejaVu Sans Mono-12 Using your settings XTerm*faceName: Cascadia Mono XTerm*faceSize: 12 in my ~/.Xdefaults, I can get launch "emacs -nw" in an xterm with size 12 font. I notice that you also have "emacs.font: DejaVu Sans Mono-12" in your ~/.Xdefaults. I wonder if this is interfering when you run emacs in a terminal? Have your tried commenting out "emacs.font: DejaVu Sans Mono-12"? Also you seem to be using emacs -nox, have you tried emacs -nw instead? It may be the latter will work without commenting out the reference to the emacs font. Try both. Best wishes,