From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: anhnmncb Newsgroups: gmane.emacs.help Subject: Re: Emacs 23 can not display some characters Date: Sun, 26 Aug 2007 08:02:28 +0800 Organization: Bentium Ltd. (CN99) Message-ID: <87d4xb88ob.fsf@gentoo.hasee> References: <87mywhml7o.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1530033886==" X-Trace: sea.gmane.org 1188103438 19128 80.91.229.12 (26 Aug 2007 04:43:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 26 Aug 2007 04:43:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 26 06:43:56 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IP9yd-0002t3-2D for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Aug 2007 06:43:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IP9yc-00064M-L3 for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Aug 2007 00:43:54 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.cn99.com!news.yaako.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 105 Original-NNTP-Posting-Host: 221.6.39.131 Original-X-Trace: news.yaako.com 1188086501 19263 221.6.39.131 (26 Aug 2007 00:01:41 GMT) Original-X-Complaints-To: usenet@news.yaako.com Original-NNTP-Posting-Date: Sun, 26 Aug 2007 00:01:41 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:jqhXVfsGVOKj8/qN+Daae5Dnfh0= Original-Xref: shelby.stanford.edu gnu.emacs.help:151273 X-Mailman-Approved-At: Sun, 26 Aug 2007 00:43:39 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46847 Archived-At: --===============1530033886== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable yes, I have some problem similar with you: =2D------ character: =C7=92 (466, #o722, #x1d2) preferred charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58) code point: 0x282F syntax: w which means: word category: c:Chinese j:Japanese l:Latin buffer code: #xC7 #x92 file code: #xC7 #x92 (encoded by coding system utf-8-emacs) display: by this font (glyph code) -microsoft-microsoft yahei-medium-r-normal--14-135-75-75-p-138-gb2312.= 1980-0 (#x282F) Character code properties are not shown: customize what to show There are text properties here: auto-composed t fontified t rear-nonsticky t =2D-------- character: =E5=9F=BA (22522, #o53772, #x57fa) preferred charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58) code point: 0x3B79 syntax: w which means: word category: C:Chinese (Han) characters of 2-byte character sets c:Ch= inese h:Korean j:Japanese |:While filling, we can break a line at this character. buffer code: #xE5 #x9F #xBA file code: #xE5 #x9F #xBA (encoded by coding system utf-8-emacs) display: by this font (glyph code) microsoft yahei:pixelsize=3D14:foundry=3Dmicrosoft:weight=3Dmedium:sla= nt=3Dr:width=3Dnormal (#x5C2) Character code properties are not shown: customize what to show There are text properties here: auto-composed t fontified t rear-nonsticky t =2D--------- character: =E5=9F=BA (22522, #o53772, #x57fa) preferred charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58) code point: 0x3B79 syntax: w which means: word category: C:Chinese (Han) characters of 2-byte character sets c:Ch= inese h:Korean j:Japanese |:While filling, we can break a line at this character. buffer code: #xE5 #x9F #xBA file code: #xE5 #x9F #xBA (encoded by coding system utf-8-emacs) display: by this font (glyph code) microsoft yahei:pixelsize=3D14:foundry=3Dmicrosoft:weight=3Dmedium:sla= nt=3Dr:width=3Dnormal (#x5C2) Character code properties are not shown: customize what to show There are text properties here: auto-composed t fontified t rear-nonsticky t =2D------------ As you see, the same charset gb2312, emacs uses different fonts. First one use a traditional x font, but others use xft font. What I want is all fonts emacs uses are xft fonts, I don't know how to do that though... The following is my font setting: (set-default-font "consolas-12") (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 "fontset-default" 'kana '("Meiryo" . "unicode-bmp")) (setq default-frame-alist (append '((font . "consolas-12")) default-frame-alist)) =2D-=20 Regards, anhnmncb gpg key: 44A31344 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFG0MMYFgmR8ESjE0QRAhlFAJ42JTXqhW1WIUbVWsmVabC/viHROQCfXry6 cWMUCyTcG4G8vrgwfGpfEPw= =dLJ0 -----END PGP SIGNATURE----- --=-=-=-- --===============1530033886== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1530033886==--