From ec23d54552b87bf266ca33c0e98e2c2579431869 Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Tue, 14 Nov 2017 17:32:01 -0500 Subject: [PATCH] Try and fix the font fuckup --- init.el | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/init.el b/init.el index 3aa97a7..5da1ef1 100644 --- a/init.el +++ b/init.el @@ -95,14 +95,16 @@ ;; This kinda overrides the customize business, but it works ;; * Use patched terminus :fixme: + (set-face-font 'default "-xos4-hackminus-medium-r-normal--20-200-72-72-c-100-ISO10646-1") - (mapc - (lambda (face) - (set-face-attribute face nil :weight 'normal)) - (face-list)) +;;(set-face-font 'bold "-xos4-hackminus-bold-r-normal--20-200-72-72-c-100-ISO10646-1") -(add-to-list 'custom-theme-load-path "/home/jacopods/clones/emacs-color-theme-solarized") -(load-theme 'solarized t) +;; ;; remove all bolding and slanting from all faces in every frame +;; (mapc +;; (lambda (face) +;; (set-face-attribute face nil :weight 'normal) +;; (set-face-attribute face nil :slant 'normal)) +;; (face-list)) (setq-default display-buffer-reuse-frames t) (add-hook 'before-save-hook 'delete-trailing-whitespace) @@ -517,4 +519,20 @@ This is the same as using \\[set-mark-command] with the prefix argument." ;; * start server named after kde activity name (setq server-name (kde-current-activity-name)) (menu-bar-mode -99) +;; mmh +;; (set-face-font 'default "-xos4-hackminus-medium-r-normal--20-200-72-72-c-100-ISO10646-1") ; +;; Why is the above needed down here? +;; +;; Because it sets the face for packages that have loaded in the meantime; +;; it does not wark perfectly as some packages are still to be loaded +;; (most notably magit) + +;; Prevent any automatic splitting to split vertically +(setq split-width-threshold nil) + +(mapc + (lambda (face) + (set-face-attribute face nil :weight 'normal) + (set-face-attribute face nil :slant 'normal)) + (face-list)) (server-start)