unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* changing font and font size in terminal emacs-27.2
@ 2021-08-06 17:03 Sivaram Neelakantan
  2021-08-06 17:06 ` tomas
  2021-08-09 13:50 ` Ken Goldman
  0 siblings, 2 replies; 18+ messages in thread
From: Sivaram Neelakantan @ 2021-08-06 17:03 UTC (permalink / raw)
  To: help-gnu-emacs

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
-- 




^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-08-11 14:42 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).