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

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

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

html - jQuery UI Sortable - Remove placeholder after item is dropped -