From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15273: 24.3.50; Combining character sequences are displayed weirdly Date: Sun, 08 Sep 2013 17:59:18 +0300 Message-ID: <834n9vl5q1.fsf@gnu.org> References: <87ob83xy3e.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1378652421 29867 80.91.229.3 (8 Sep 2013 15:00:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Sep 2013 15:00:21 +0000 (UTC) Cc: xfq.free@gmail.com, 15273@debbugs.gnu.org To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 08 17:00:22 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VIgTL-00020Y-MD for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Sep 2013 17:00:19 +0200 Original-Received: from localhost ([::1]:45612 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIgTL-00050n-Ad for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Sep 2013 11:00:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIgTE-0004zm-4Q for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2013 11:00:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIgT9-0000Op-0b for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2013 11:00:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIgT8-0000Oj-U2 for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2013 11:00:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VIgT6-0000oX-V3 for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2013 11:00:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Sep 2013 15:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15273 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15273-submit@debbugs.gnu.org id=B15273.13786523713057 (code B ref 15273); Sun, 08 Sep 2013 15:00:04 +0000 Original-Received: (at 15273) by debbugs.gnu.org; 8 Sep 2013 14:59:31 +0000 Original-Received: from localhost ([127.0.0.1]:49067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VIgSZ-0000nF-1C for submit@debbugs.gnu.org; Sun, 08 Sep 2013 10:59:31 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:51101) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VIgSW-0000n0-9G for 15273@debbugs.gnu.org; Sun, 08 Sep 2013 10:59:29 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MST00E00AWEKG00@a-mtaout23.012.net.il> for 15273@debbugs.gnu.org; Sun, 08 Sep 2013 17:59:21 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MST00EUMAYXCC40@a-mtaout23.012.net.il>; Sun, 08 Sep 2013 17:59:21 +0300 (IDT) In-reply-to: <87ob83xy3e.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78128 Archived-At: > From: Kenichi Handa > Cc: jan.h.d@swipnet.se, xfq.free@gmail.com, 15273@debbugs.gnu.org > Date: Sun, 08 Sep 2013 22:05:41 +0900 > > (aref composition-function-table #x20E4) > => (["\\c.\\c^+" 1 compose-gstring-for-graphic] > [nil 0 compose-gstring-for-graphic]) > > This says that a base character (char-category ".") followed > by a combing character (char-category "^") should be > composed by the function compose-gstring-for-graphic if > those character are displayed by the same font. > > But, I found a bug in characters.el. In it, U+20E4's > char-actegory is not set as "^". So, Emacs couldn't compose > it with the preceding base character. I've just installed a > fix. > > Now, Emacs composes U+20E4 with the preceding "!" if the > same font is selected for those two characters. Thanks. > Next, I'm not sure whether Emacs composes them correctly if > the underlying font driver doesn't support OTF's "mark" and > "mkmk" features. The function compose-gstring-for-graphic > has a code for such a case, but I don't remember that I > wrote a code for "enclosing combining marks". Looks like Uniscribe should need this, at least on XP: I do get a composition, but the left part of the triangle is off-screen.