unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* use simsun font in Windows
@ 2008-04-28  9:26 sevenever
  2008-04-28  9:37 ` sevenever
  2008-04-28 11:30 ` Jason Rumney
  0 siblings, 2 replies; 3+ messages in thread
From: sevenever @ 2008-04-28  9:26 UTC (permalink / raw)
  To: help-gnu-emacs

Hi!
I'm a newbie for emacs. After installing emacs on Windows xp sp2, i
define a fontset in my ~/_emacs as guide from Internet:

;; 设置字体
(create-fontset-from-fontset-spec
(concat
"-outline-bitstream vera sans mono-normal-r-normal-normal-16-*-*-*-c-*-
fontset-my,"
"chinese-gb2312:-outline-新宋体-normal-r-normal-normal-16-*-*-*-c-*-
gb2312.*-*"))

what I want is using bitstream vera sans mono for ASCII char, and
simsun for Chinese char.
But got displayed as below when view a file contain "中文"

image is here:
http://paste.ubuntu.org.cn/i6216

Later I use font 新宋体 other than fontset just defined, I got this:

image is here:
http://paste.ubuntu.org.cn/i6217

So, how could my emacs cannt display Chinese char as expected?

if any help, my ~/_emacs file is gb2312 encoding.

emacs version: GNU Emacs 21.3.1

Thanks!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-28 11:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-28  9:26 use simsun font in Windows sevenever
2008-04-28  9:37 ` sevenever
2008-04-28 11:30 ` Jason Rumney

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).