-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path55_font.el
91 lines (86 loc) · 2.67 KB
/
55_font.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
;; -*- encoding: utf-8-unix; -*-
;; * gui
(when window-system
(setq
;; 设置行距
default-line-spacing 0
;; 设置窗口大小 位置
initial-frame-alist '((width . 100)(height . 32)(top . 1)(left . 90))
)
(setq zhfont (usage-font
;; "XHei Mono"
;; "Hiragino Sans GB"
;; "Hiragino Sans GB W3"
"Yahei Mono"
"YaHei Consolas Hybrid"
"Microsoft Yahei"
"宋体"
"文泉驿等宽微米黑"
"文泉驿等宽正黑"
"文泉驿微米黑")
uifont (usage-font
; "ProFontWindows"
"BPMono"
"saxMono"
"Share-TechMono"
"Raize"
"ProFontWindows"
"Ubuntu Mono"
"DejaVu Sans Mono")
btfont (usage-font
"saxMono"
"Share-TechMono"
;; "ProggySquareTTSZ"
;; "ProggyCleanTTSZ"
"宋体"
"SimSun"
"文泉驿点阵正黑"
"文泉驿等宽微米黑"
"文泉驿微米黑")
enfont (usage-font
"Monaco"
"Envy Code R"
"Proggy"
"Inconsolata"
"Consolas"
"Yahei Mono"
"YaHei Consolas Hybrid"
"ProFontWindows")
gkfont (usage-font
"DejaVu Sans"
"Ubuntu"
"Consolas"
"Comic Sans"
"Comic Sans MS"
"Lucida Sans Unicode"
"Lucida Console")
phfont (usage-font
"Doulos SIL"
"Charis SIL"))
;; (set-my-font zhfont 12)
(set-my-font enfont 9 zhfont)
;; (set-my-font zhfont 12 enfont :en)
;; (set-my-font enfont 14 zhfont 12)
; (set-font 'greek gkfont)
(set-font 'phonetic phfont)
;; ** buffer face mode
(set-my-bf-mode btfont 11)
(dolist (hook '(
completion-list-mode-hook
eshell-mode-hook
help-mode-hook
magit-mode-hook
debugger-mode-hook
compilation-mode-hook
dired-mode-hook
vc-mode-line-hook
diff-mode-hook
;; ido-make-buffer-list-hook
;; ido-make-file-list-hook
;; ido-make-dir-list-hook
;; undo-tree-visualizer-mode-hook
))
(add-hook hook 'my-buffer-face-mode))
;; ** mode line & head line
(set-my-ui-font 0.9 uifont)
)