From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: 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> Reply-To: Kenichi Handa , 613@emacsbugs.donarmstrong.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 1219280867 21924 80.91.229.12 (21 Aug 2008 01:07:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Aug 2008 01:07:47 +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: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 21 03:08:39 2008 Return-path: Envelope-to: geb-bug-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 1KVyfC-0002fq-6B for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Aug 2008 03:08:34 +0200 Original-Received: from localhost ([127.0.0.1]:34381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVyeE-0001tD-Lh for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Aug 2008 21:07:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVyeB-0001sy-C9 for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 21:07:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVye9-0001sZ-Vo for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 21:07:31 -0400 Original-Received: from [199.232.76.173] (port=36134 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVye9-0001sW-PR for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 21:07:29 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49730) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KVye9-000708-AI for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 21:07:29 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7L17Rf9024229; Wed, 20 Aug 2008 18:07:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7L104w6020770; Wed, 20 Aug 2008 18:00:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 21 Aug 2008 01:00:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 613 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 613-submit@emacsbugs.donarmstrong.com id=B613.121927991118878 (code B ref 613); Thu, 21 Aug 2008 01:00:04 +0000 Original-Received: (at 613) by emacsbugs.donarmstrong.com; 21 Aug 2008 00:51:51 +0000 Original-Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7L0plBe018872 for <613@emacsbugs.donarmstrong.com>; Wed, 20 Aug 2008 17:51:49 -0700 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: Linux 2.6 (newer, 3) Resent-Date: Wed, 20 Aug 2008 21:07:31 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19585 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