help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

changing font and font size in terminal emacs-27.2


From: Sivaram Neelakantan
Subject: changing font and font size in terminal emacs-27.2
Date: Fri, 06 Aug 2021 22:33:29 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (windows-nt)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]