I am trying to restore the face scaling functionality I had in previous versions of Emacs.
On Ubuntu 22.04, Emacs (not 30!) master branch d4d6830f8a0. Tested on tag emacs-29.2
with the same result.
I installed terminus like this:
sudo apt install xfonts-terminus
My init file does this:
(when (member "Terminus" (font-family-list))
(set-frame-font "Terminus:size=18" nil t)
(add-to-list 'default-frame-alist '(font . "Terminus:size=18")))
No matter what size I set, my emacs buffers always look the same. I've try to write height
instead of size
, no difference.
How do I change the size of my emacs face? Do I need to install different font sizes at system level?
Edit: I previously set the default face like this:
(when (member "Terminus" (font-family-list))
(set-frame-font "-xos4-Terminus-normal-normal-normal-*-12-*-*-*-c-60-iso10646-1")
(add-to-list 'default-frame-alist '(font . "-xos4-Terminus-normal-normal-normal-*-12-*-*-*-c-60-iso10646-1")))
If I replace 12
with 18
, I do get a difference. text-scale-decrease
does have an effect then, but it's weird, the decrement/increments are very small, not all characters are supported, it sometimes switches to italics... Which makes me think that this is not the correct way.