[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: |
Eli Zaretskii |
Subject: |
Re: The relationship of settings for font in init.el and the one shown on "Pick a font" UI. |
Date: |
Wed, 06 Jan 2021 17:27:06 +0200 |
> From: Hongyi Zhao <hongyi.zhao@gmail.com>
> Date: Wed, 6 Jan 2021 16:33:13 +0800
>
> On the "Pick a font" UI, I select the following font and then "Save Options":
>
> "DejaVuSansMono Nerd Font Mono Book"
>
> 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.
Which is the problematic part? The font name got recorded as
"family", is that the problem? If not what is?