projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set font to Source Code Pro Medium 10.5 across the board
[~bandali/configs]
/
.emacs.d
/
init.el
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
525348d
..
a96bfdc
100644
(file)
--- a/
.emacs.d/init.el
+++ b/
.emacs.d/init.el
@@
-146,10
+146,9
@@
(defalias 'yes-or-no-p #'y-or-n-p)
(when (display-graphic-p)
(defalias 'yes-or-no-p #'y-or-n-p)
(when (display-graphic-p)
+ ;; (set-frame-font "Source Code Pro-10.5:weight=medium" nil t)
+ ;; (set-frame-font "FreeSans" nil t)
(set-fontset-font t 'arabic "Vazir"))
(set-fontset-font t 'arabic "Vazir"))
-;; ;; (set-frame-font "Drafting Mono-14:weight=light" nil t)
-;; (set-frame-font "Drafting Mono:pixelsize=16" nil t)
-;; (set-face-attribute 'bold nil :weight 'semi-bold)
;;;; Elisp-level customizations
;;;; Elisp-level customizations
@@
-316,7
+315,9
@@
(when (display-graphic-p)
(with-eval-after-load 'faces
(let ((grey "#e7e7e7"))
(when (display-graphic-p)
(with-eval-after-load 'faces
(let ((grey "#e7e7e7"))
- (set-face-attribute 'fixed-pitch nil :family "Source Code Pro")
+ (set-face-attribute 'fixed-pitch nil
+ :font "Source Code Pro"
+ :weight 'medium)
(set-face-attribute 'mode-line nil
:background grey
:inherit 'fixed-pitch))))
(set-face-attribute 'mode-line nil
:background grey
:inherit 'fixed-pitch))))