From 05d10fae2ad2142555b5dbacf5fc7786ea485dec Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 3 Feb 2014 15:55:19 +0100 Subject: Emacs as a daemon needs font set differently --- init-settings.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init-settings.el b/init-settings.el index 36c3709f2421..0b0233554728 100644 --- a/init-settings.el +++ b/init-settings.el @@ -111,8 +111,10 @@ (global-hl-line-mode -1) -(set-face-attribute 'default nil :font "Source Code Pro 12") -(set-default-font "Source Code Pro 13") +(setq default-frame-alist '((font-backend . "xft") + (font . "Source Code Pro-12"))) + +(set-default-font "Source Code Pro 12") (add-to-list 'after-make-frame-functions 'set-font) -- cgit 1.4.1