在Mac上调教Emacs.app

Emacs到了Mac上遇到了一个关于中文显示的问题,最后还是使用了OpenDesktop-Fonts中的AR PL New Kai这一套字体

defaults write Emacs Font "AR PL New Kai"

update: 从Reallazy那里找到一个写.emacs的方法

(set-default-font "Monaco-18")
(set-fontset-font (frame-parameter nil 'font) 'unicode '("STHeiti" . "unicode-bmp") 'nil 'append)
(set-fontset-font (frame-parameter nil 'font) 'unicode '("LiHei Pro" . "unicode-bmp") 'nil 'append)
(set-fontset-font (frame-parameter nil 'font) 'unicode '("Arial Unicode MS" . "unicode-bmp") 'nil 'append)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.