How do I change emacs default font size and font type?

后端 未结 8 945
孤街浪徒
孤街浪徒 2020-12-07 13:15

I am using emacs 23.3. I need to change the font size and font type, can anyone help me?

8条回答
  •  执笔经年
    2020-12-07 13:47

    I have the below setting in init.el:

    (set-face-attribute 'default nil :font "Menlo" :height 160)
    

    Note: If you have a preset for window size (width and height), the height attribute of the font is going to interfere with that layout.

提交回复
热议问题