Better fonts
This commit is contained in:
parent
2918f98d2a
commit
6dcb9386eb
1 changed files with 10 additions and 1 deletions
|
|
@ -106,7 +106,16 @@
|
|||
|
||||
;; Consolas.
|
||||
;;
|
||||
(setq my-font-choice "Consolas-11")
|
||||
(require 'cl)
|
||||
(defun font-existsp (font)
|
||||
(if (null (x-list-fonts font))
|
||||
nil t))
|
||||
|
||||
(setq my-font-choice
|
||||
(find-if
|
||||
'font-existsp
|
||||
'("Consolas-11" "Inconsolata-11")))
|
||||
|
||||
;;
|
||||
;; To obtain new font string, execute eval-expression, and eval this:
|
||||
;;(insert(prin1-to-string(w32-select-font)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue