我想設定 emacs 以便它使用
-outline-Courier New-normal-normal-normal-mono-16-*-*-*-c-*-iso8859-1
顯示 ASCII 字元和
-outline-Arial Unicode MS-normal-normal-normal-sans-16-*-*-*-p-*-gb2312.1980*-*
顯示 unicode 符號。
這實際上是我使用的一台計算機上預設的方式。另一方面,按下C-u C-x =
感興趣的 unicode 字元會給出
character: ↷ (8631, #o20667, #x21b7)
preferred charset: unicode (Unicode (ISO10646))
code point: 0x21B7
syntax: . which means: punctuation
category: .:Base
buffer code: #xE2 #x86 #xB7
file code: #xE2 #x86 #xB7 (encoded by coding system utf-8-dos)
display: no font available
Character code properties: customize what to show
name: CLOCKWISE TOP SEMICIRCLE ARROW
general-category: So (Symbol, Other)
There are text properties here:
fontified t
我不完全理解,但這部分display: no font available
不是我想要的。
我怎樣才能改變這一點?
答案1
實際上,感興趣的頁面不是標題頁面Set Fonts
,而是Font Sets
(參見這裡)。我添加了
(set-fontset-font "fontset-default" 'unicode
"-outline-Arial Unicode MS-normal-normal-normal-sans-*-*-*-*-p-*-gb2312.1980-0")
到我的 .emacs 就成功了。