From: anhnmncb <anhnmncb@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs could not show this symbol.
Date: Thu, 28 Feb 2008 20:47:23 +0800 [thread overview]
Message-ID: <86zltluu1w.fsf@freebsd.hasee.cpu> (raw)
In-Reply-To: mailman.8026.1204192187.18990.help-gnu-emacs@gnu.org
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
next prev parent reply other threads:[~2008-02-28 12:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-26 1:11 emacs could not show this symbol anhnmncb
2008-02-26 4:05 ` anhnmncb
2008-02-26 6:33 ` David Hansen
[not found] ` <mailman.7947.1204007911.18990.help-gnu-emacs@gnu.org>
2008-02-26 11:00 ` anhnmncb
2008-02-27 12:09 ` Peter Dyballa
[not found] ` <mailman.7995.1204114181.18990.help-gnu-emacs@gnu.org>
2008-02-28 0:10 ` anhnmncb
2008-02-28 0:56 ` anhnmncb
2008-02-28 10:12 ` Peter Dyballa
2008-02-28 9:49 ` Peter Dyballa
[not found] ` <mailman.8026.1204192187.18990.help-gnu-emacs@gnu.org>
2008-02-28 12:47 ` anhnmncb [this message]
2008-02-28 15:01 ` Peter Dyballa
[not found] ` <mailman.8038.1204210929.18990.help-gnu-emacs@gnu.org>
2008-02-29 0:25 ` anhnmncb
2008-02-29 11:15 ` Peter Dyballa
2008-02-26 11:35 ` Peter Dyballa
2008-02-26 11:46 ` anhnmncb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86zltluu1w.fsf@freebsd.hasee.cpu \
--to=anhnmncb@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).