unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Colin Baxter <m43cap@yandex.com>
To: Sivaram Neelakantan <nsivaram.net@gmail.com>
Cc: , help-gnu-emacs@gnu.org
Subject: Re: changing font and font size in terminal emacs-27.2
Date: Sat, 07 Aug 2021 12:28:58 +0100	[thread overview]
Message-ID: <87pmupmr2d.fsf@yandex.com> (raw)
In-Reply-To: <858s1d3n51.fsf@gmail.com> (Sivaram Neelakantan's message of "Sat, 07 Aug 2021 09:46:26 +0530")

>>>>> Sivaram Neelakantan <nsivaram.net@gmail.com> 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,



  reply	other threads:[~2021-08-07 11:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-06 17:03 changing font and font size in terminal emacs-27.2 Sivaram Neelakantan
2021-08-06 17:06 ` tomas
2021-08-06 19:29   ` Colin Baxter
2021-08-07  4:16     ` Sivaram Neelakantan
2021-08-07 11:28       ` Colin Baxter [this message]
2021-08-07 12:08         ` Yuri Khan
2021-08-07 13:14           ` Colin Baxter
2021-08-07 16:12             ` Sivaram Neelakantan
2021-08-07 16:10           ` Sivaram Neelakantan
2021-08-08 11:33             ` Colin Baxter
2021-08-07 16:05         ` Sivaram Neelakantan
2021-08-07 16:00       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-07 16:15         ` Sivaram Neelakantan
2021-08-07 16:24           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-09 13:50 ` Ken Goldman
2021-08-09 16:02   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-11 13:27     ` Ken Goldman
2021-08-11 14:42   ` Sivaram Neelakantan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmupmr2d.fsf@yandex.com \
    --to=m43cap@yandex.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=nsivaram.net@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).