[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs could not show this symbol.
From: |
anhnmncb |
Subject: |
Re: emacs could not show this symbol. |
Date: |
Thu, 28 Feb 2008 20:47:23 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) |
Thanks peter_dyballa for your very patient answer!
Pardon for my terrible English, I tried my best to make my expression
clear.
Now I have resolved the problem though don't know why :)
I use this configuration in .Xdefaults:
--------------------------x----------------------------x--------------------------------
Emacs.Fontset-0: \
-misc-dejavu Sans Mono-medium-r-*-*-12-*-*-*-m-*-fontset-dejavu,\
chinese-gb2312:-microsoft-Microsoft
YaHei-medium-r-*-*-*-*-*-*-p-*-iso10646-1,\
chinese-gbk:-microsoft-Microsoft YaHei-medium-r-*-*-*-*-*-*-p-*-iso10646-1,\
gb18030:-microsoft-Microsoft YaHei-medium-r-*-*-*-*-*-*-*-*-iso10646-1,\
thai-tis620:-misc-fixed-medium-r-*-*-*-*-*-*-*-*-iso10646-1,\
mule-unicode-0100-24ff:-monotype-courier-medium-r-*-*-*-*-*-*-m-*-iso10646-1
Emacs.Font: fontset-dejavu
--------------------------x----------------------------x--------------------------------
And this in .emacs:
--------------------------x----------------------------x--------------------------------
(create-fontset-from-fontset-spec
(concat
"-misc-dejavu Sans Mono-medium-r-*-*-12-*-*-*-m-*-fontset-dejavu,"
"chinese-gb2312:-microsoft-Microsoft
YaHei-medium-r-*-*-*-*-*-*-p-*-iso10646-1,"
"chinese-gbk:-microsoft-Microsoft YaHei-medium-r-*-*-*-*-*-*-p-*-iso10646-1,"
"gb18030:-microsoft-Microsoft YaHei-medium-r-*-*-*-*-*-*-*-*-iso10646-1,"
"thai-tis620:-misc-fixed-medium-r-*-*-*-*-*-*-*-*-iso10646-1,"
"mule-unicode-0100-24ff:-monotype-courier-medium-r-*-*-*-*-*-*-m-*-iso10646-1"))
(set-fontset-font (frame-parameter nil 'font)
'han '("Microsoft YaHei" . "unicode-bmp"))
(set-fontset-font (frame-parameter nil 'font)
'cjk-misc '("Microsoft Yahei" . "unicode-bmp"))
(set-fontset-font (frame-parameter nil 'font)
'gb18030 '("Microsoft Yahei". "unicode-bmp"))
(set-fontset-font "fontset-default"
'gb18030 '("WenQuanYi Zen Hei". "unicode-bmp"))
(set-fontset-font "fontset-default"
'mule-unicode-0100-24ff '("Courier New". "unicode-bmp"))
(set-fontset-font "fontset-default"
'thai "-misc-fixed-medium-r-*-*-*-*-*-*-*-*-iso10646-1")
(set-default-font "fontset-dejavu")
(add-to-list 'default-frame-alist '(font . "fontset-dejavu"))
--------------------------x----------------------------x--------------------------------
Now emacs could use fixed and dejavu for those symbols.
Another question, maybe emacs.font-backend is enabled by default?
I comment it and find that xft is going on well. Don't know what's the
most correct way to configure fontset for xft emacs, although I tell
emacs to use fontset-dejavu, I find that emacs doesn't use this fontset
actually. And many times emacs could not align a line correctly, for
example, in my bookmark buffer, it shows:
.emacs ~/.emacs
equation.tex ~/doc/work/pk/equation.tex
tip-font /usr/home/anhnmncb/doc/tips/tip-font
tip-words-pro ~/doc/tips/tip-words-pro
So weird for me! Anyway, now emacs can display most of the symbols.
--
Regards,
anhnmncb
gpg key: 44A31344
- emacs could not show this symbol., anhnmncb, 2008/02/25
- Re: emacs could not show this symbol., anhnmncb, 2008/02/25
- Re: emacs could not show this symbol., David Hansen, 2008/02/26
- Message not available
- Re: emacs could not show this symbol., anhnmncb, 2008/02/26
- Re: emacs could not show this symbol., Peter Dyballa, 2008/02/27
- Message not available
- Re: emacs could not show this symbol., anhnmncb, 2008/02/27
- Re: emacs could not show this symbol., anhnmncb, 2008/02/27
- Re: emacs could not show this symbol., Peter Dyballa, 2008/02/28
- Re: emacs could not show this symbol., Peter Dyballa, 2008/02/28
- Message not available
- Re: emacs could not show this symbol.,
anhnmncb <=
- Re: emacs could not show this symbol., Peter Dyballa, 2008/02/28
- Message not available
- Re: emacs could not show this symbol., anhnmncb, 2008/02/28
- Re: emacs could not show this symbol., Peter Dyballa, 2008/02/29
Re: emacs could not show this symbol., Peter Dyballa, 2008/02/26