Skip to content

Instantly share code, notes, and snippets.

@Yoxem
Last active August 29, 2015 14:04
Show Gist options
  • Save Yoxem/b96bef5294ab278a681e to your computer and use it in GitHub Desktop.
Save Yoxem/b96bef5294ab278a681e to your computer and use it in GitHub Desktop.
設定全局字型之 .emacs 指令
;;set font by kuanyui
;; (dolist (charset '(hangul kana han symbol cjk-misc bopomofo))
;;(set-fontset-font (frame-parameter nil 'font) charset
;;(font-spec :family "文泉驛等寬微米黑" :spacing 100 :size nil)))
;; 來源:http://www.emacswiki.org/emacs/SetFonts#toc2
;; 設定全局字型
(set-face-attribute 'default nil :font "文泉驛等寬微米黑" )
(set-frame-font "文泉驛等寬微米黑" nil t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment