From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: anhnmncb Newsgroups: gmane.emacs.devel Subject: Re: Chinese punctuation symbol can't be displayed on windows 2000. Date: Sun, 14 Dec 2008 10:58:59 +0800 Message-ID: <87skorihsc.fsf@sina.com> References: <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 1229223570 6776 80.91.229.12 (14 Dec 2008 02:59:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Dec 2008 02:59:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 14 04:00:34 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 1LBhDd-0003nX-RF for ged-emacs-devel@m.gmane.org; Sun, 14 Dec 2008 04:00:34 +0100 Original-Received: from localhost ([127.0.0.1]:33873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBhCS-0000wC-DB for ged-emacs-devel@m.gmane.org; Sat, 13 Dec 2008 21:59:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBhCO-0000vS-1d for emacs-devel@gnu.org; Sat, 13 Dec 2008 21:59:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBhCN-0000vA-8M for emacs-devel@gnu.org; Sat, 13 Dec 2008 21:59:15 -0500 Original-Received: from [199.232.76.173] (port=46435 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBhCN-0000v7-0t for emacs-devel@gnu.org; Sat, 13 Dec 2008 21:59:15 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:59585 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 1LBhCM-0003rq-J1 for emacs-devel@gnu.org; Sat, 13 Dec 2008 21:59:14 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LBhCK-0005pO-Gr for emacs-devel@gnu.org; Sun, 14 Dec 2008 02:59:12 +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 ; Sun, 14 Dec 2008 02:59:12 +0000 Original-Received: from anhnmncb by 221.6.39.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Dec 2008 02:59:12 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 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:WD/0p/Chog+/lALh8kYAeYr2n7g= X-Antivirus: avast! (VPS 081213-0, 12/13/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:106899 Archived-At: Could anyone help me to figure it out please? I have no any clue :( anhnmncb (2008-12-12 18:57 +0800) wrote: > 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