From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: bug#613: 23.0.60; Unicode display problems Date: Thu, 21 Aug 2008 09:51:21 +0900 Message-ID: References: <87myjv2tc8.fsf@stupidchicken.com> <87zlnrx33y.fsf@physik.rwth-aachen.de> <87ej52vg8r.fsf@physik.rwth-aachen.de> <873al2sd2h.fsf@physik.rwth-aachen.de> <87od3qqvlg.fsf@physik.rwth-aachen.de> <18604.9770.893099.425147@priss.frightenedpiglet.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1219279991 19984 80.91.229.12 (21 Aug 2008 00:53:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Aug 2008 00:53:11 +0000 (UTC) Cc: sand@blarg.net, emacs-devel@gnu.org, 613@emacsbugs.donarmstrong.com, bronger@physik.rwth-aachen.de To: sand@blarg.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 21 02:54:03 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 1KVyR9-00082G-D1 for ged-emacs-devel@m.gmane.org; Thu, 21 Aug 2008 02:54:03 +0200 Original-Received: from localhost ([127.0.0.1]:46369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVyQC-0002Cp-8L for ged-emacs-devel@m.gmane.org; Wed, 20 Aug 2008 20:53:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVyP6-0001TQ-QQ for emacs-devel@gnu.org; Wed, 20 Aug 2008 20:51:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVyP5-0001Sf-R9 for emacs-devel@gnu.org; Wed, 20 Aug 2008 20:51:56 -0400 Original-Received: from [199.232.76.173] (port=39315 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVyP5-0001Sa-CR for emacs-devel@gnu.org; Wed, 20 Aug 2008 20:51:55 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:58328) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KVyP4-0003OU-MT for emacs-devel@gnu.org; Wed, 20 Aug 2008 20:51:55 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m7L0pM5Q020863; Thu, 21 Aug 2008 09:51:22 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m7L0pMJf010177; Thu, 21 Aug 2008 09:51:22 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id m7L0pLG7017208; Thu, 21 Aug 2008 09:51:21 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1KVyOX-0002nz-6S; Thu, 21 Aug 2008 09:51:21 +0900 In-reply-to: <18604.9770.893099.425147@priss.frightenedpiglet.com> (sand@blarg.net) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by monty-python.gnu.org: Solaris 9 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:102746 Archived-At: In article <18604.9770.893099.425147@priss.frightenedpiglet.com>, sand@blarg.net writes: > Kenichi Handa writes: [...] > > Now I see what is wrong. Dejavu Sans Mono lacks some of > > charaters (#x201C #x2200 #x2500) to be used as `symbol' > > font, so the other arbitrary font that contains all of those > > characters are selected. This setting was added by the > > request in the attached mail, but it seems that the > > restriction is too strong for symbol fonts. So, I deleted > > that restriction. Please try again with the latest CVS code. > Removing the symbol restrictions will allow Emacs to pick (incorrect) > ISO8859-1 fonts for these characters again. Have you changed > something in the C code to prevent that? Now the entry for symbols is this: (symbol ,(font-spec :registry "iso10646-1")) So, at least, Emacs tries to select an iso10646-1 font that is closest (in family, style, size) to the default font. > Looking at the DejaVu Sans Mono glyphs in "gucharmap", it appears that > #x2200 is the problem. The #x201C, #x2200, #x2500 combination was an > attempt to find "representative" symbol codepoints, but that > combination isn't all-or-nothing. Can you first try leaving just > #x201C in `script-representative-chars'? That's LEFT DOUBLE QUOTATION > MARK, so it should have wide coverage. I think the typical usage of symbol characters is to use a few of them in a normal text. In that case, the most suitable font for those symbols is the default font (provided that it supports those symbols) rather than a font that covers wider range of symbols. So, I think there's no merit in restricting fonts in the above way. As a result, when a sequence of many symbols is displayed, Emacs will not use the same font for them, but, I think it's not a big problem. --- Kenichi Handa handa@ni.aist.go.jp