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

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

Re: The relationship of settings for font in init.el and the one shown o


From: Hongyi Zhao
Subject: Re: The relationship of settings for font in init.el and the one shown on "Pick a font" UI.
Date: Wed, 6 Jan 2021 16:34:40 +0800

On Wed, Jan 6, 2021 at 4:33 PM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> On the "Pick a font" UI, I select the following font and then "Save Options":
>
> "DejaVuSansMono Nerd Font Mono Book"

Additional remark: with the font size set to 14.

>
> Then I noticed that emacs will generate the following settings in the init.el:
>
> (custom-set-faces
>  ;; custom-set-faces was added by Custom.
>  ;; If you edit it by hand, you could mess it up, so be careful.
>  ;; Your init file should contain only one such instance.
>  ;; If there is more than one, they won't work right.
>  '(default ((t (:family "DejaVuSansMono Nerd Font Mono" :foundry
> "PfEd" :slant normal :weight normal :height 143 :width normal)))))
>
> I still can't find out the exact correspondence between the settings
> for font in init.el and the one shown on "Pick a font" UI. Any hints
> will be highly appreciated.
>
> BR,
> --
> Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
> Theory and Simulation of Materials
> Hebei Polytechnic University of Science and Technology engineering
> NO. 552 North Gangtie Road, Xingtai, China



-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China



reply via email to

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