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

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

Re: set-default-font


From: Eli Zaretskii
Subject: Re: set-default-font
Date: Wed, 26 Aug 2020 08:42:09 +0300

> Date: Tue, 25 Aug 2020 15:49:07 -0500
> From: 2QdxY4RzWzUUiLuE@potatochowder.com
> 
> Try something like this instead:
> 
>     (set-face-attribute 'default nil :font "DejaVu Sans Mono-12")

If the OP wants only to change the size of the font, then it is wrong
to specify the :font attribute.  He should specify only :height, which
will leave the rest of the font parameters to the default selection.



reply via email to

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