unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sivaram Neelakantan <nsivaram.net@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: changing font and font size in terminal emacs-27.2
Date: Fri, 06 Aug 2021 22:33:29 +0530	[thread overview]
Message-ID: <8535rm8pzy.fsf@gmail.com> (raw)

How do I change the font and size when I run emacs in a terminal i.e
emacs-nox?  I'm running emacs-27.2 in wsl and for the GUI emacs I can
configure the font like so

;; GNU Emacs 27.2 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,
;; cairo version 1.16.0) of 2021-08-06
   
(message "setting font type and size")
 (add-to-list 'default-frame-alist
                       '(font . "Cascadia Mono-13"))
;;(set-frame-font "-outline-DejaVu Sans Mono-normal-r-normal-normal-*-*-130-130-c-*-iso8859-1")
;;(set-frame-font "-outline-Cascadia Mono-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1")

this same init file when read by emacs-nox doesn't seem to apply the
font.  C-u C-x = in terminal emacs doesn't show the font type.  The
manual section doesn't mention anything about terminal based emacs and
addresses 4 methods for the GUI emacs only.

sivaram
-- 




             reply	other threads:[~2021-08-06 17:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-06 17:03 Sivaram Neelakantan [this message]
2021-08-06 17:06 ` changing font and font size in terminal emacs-27.2 tomas
2021-08-06 19:29   ` Colin Baxter
2021-08-07  4:16     ` Sivaram Neelakantan
2021-08-07 11:28       ` Colin Baxter
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=8535rm8pzy.fsf@gmail.com \
    --to=nsivaram.net@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).