From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: anhnmncb Newsgroups: gmane.emacs.devel Subject: Chinese punctuation symbol can't be displayed on windows 2000. Date: Fri, 12 Dec 2008 18:57:04 +0800 Message-ID: <87oczhd5kv.fsf@sina.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1229079472 24721 80.91.229.12 (12 Dec 2008 10:57:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2008 10:57:52 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 12 11:58:58 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LB5jT-0005Ii-Px for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2008 11:58:56 +0100 Original-Received: from localhost ([127.0.0.1]:52076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LB5iI-00041H-FO for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2008 05:57:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LB5iB-00040m-Ex for emacs-devel@gnu.org; Fri, 12 Dec 2008 05:57:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LB5i9-00040G-Ma for emacs-devel@gnu.org; Fri, 12 Dec 2008 05:57:34 -0500 Original-Received: from [199.232.76.173] (port=45710 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LB5i9-00040A-CC for emacs-devel@gnu.org; Fri, 12 Dec 2008 05:57:33 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:33951 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LB5i8-0002mH-9Z for emacs-devel@gnu.org; Fri, 12 Dec 2008 05:57:32 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LB5i2-0008Kv-72 for emacs-devel@gnu.org; Fri, 12 Dec 2008 10:57:26 +0000 Original-Received: from 221.6.39.130 ([221.6.39.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 10:57:26 +0000 Original-Received: from anhnmncb by 221.6.39.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 10:57:26 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 221.6.39.130 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) Cancel-Lock: sha1:jP8kvMLynNEEOELqqrjGyU/XbdE= X-Antivirus: avast! (VPS 081211-0, 12/11/2008), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106834 Archived-At: I've tested the same .emacs with windows xp, vista, only 2000 has this issue, Chinese fonts are ok, but Chinese punctuations. ----------------------- For example: character: 。 (12290, #o30002, #x3002) preferred charset: unicode (Unicode (ISO10646)) code point: 0x3002 syntax: _ which means: symbol category: c:Chinese h:Korean j:Japanese |:line breakable While filling, we can break a line at this character. buffer code: #xE3 #x80 #x82 file code: #xE3 #x80 #x82 (encoded by coding system utf-8) display: no font available Character code properties: customize what to show name: IDEOGRAPHIC FULL STOP old-name: IDEOGRAPHIC PERIOD general-category: Po (Punctuation, Other) ----------------------- I also notice that if I replace the system's courer and simsun fonts with vista's, then issue was gone. My relavent setting for font is following: ----------------------- (set-frame-font "Courier New-10") (add-to-list 'default-frame-alist '(font . "Courier New-10")) (set-fontset-font (frame-parameter nil 'font) 'han (font-spec :family "SimSun") nil 'prepend) (set-fontset-font (frame-parameter nil 'font) 'symbol (font-spec :family "SimSun") nil 'prepend) (set-fontset-font (frame-parameter nil 'font) 'cjk-misc (font-spec :family "SimSun") nil 'prepend) (set-fontset-font (frame-parameter nil 'font) 'bopomofo (font-spec :family "SimSun") nil 'prepend) (set-fontset-font (frame-parameter nil 'font) 'unicode (font-spec :family "SimSun") nil 'append)) ----------------------- My emacs version: GNU Emacs 23.0.60.1 (i386-mingw-nt5.0.2195) of 2008-12-06 on mybox