我在fonts.conf中设置了字体配置
<match target="pattern">
<test name="family"><string>monospace</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>JetBrains Mono</string>
<string>LXGW WenKai Mono</string>
<string>Sarasa Mono SC</string>
<string>Symbols Nerd Font</string>
</edit>
</match>
主要目的是英文及其他使用 jetbrains 字体,中文字体使用霞鹜文楷。 在 foot 终端中,将字体设置为 monospace 符合预期,但是在 Emacs 中设置
(set-face-attribute 'default nil :font "monospace 12")
未能达到预期效果,主要是英文为 JetBrains 中文不是霞鹜文楷。