archlinux emacs can't autoload monaco-fonts -


i install monaco fonts aur in archlinux, , set emacs's fonts monaco, doesn't load monaco fonts when emacs starts, every time should set monaco fonts manually when starting emacs, can 1 give me hint? part of .emacs.d/init.el:

(custom-set-faces   '(default ((t (:family "monaco" :foundry "unknown" :slant normal :weight normal :height 128 :width normal))))) 

i find (custom-set-faces ...) doesn't make sense in case, use following code found in https://superuser.com/ , succeed.

(set-frame-font "monaco 14" nil t)  (add-to-list 'default-frame-alist              '(font . "monaco 14")) 

Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -