Try and fix the font fuckup

master
Jacopo De Simoi 8 years ago
parent 7ca9ff68f9
commit ec23d54552
  1. 30
      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)

Loading…
Cancel
Save