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: Fri, 06 Sep 2013 10:32:54 +0300 Message-ID: <83ppsmmml5.fsf@gnu.org> References: <9243D0C8-83F9-40B4-8F2C-37517A1F6BCC@swipnet.se> <8338pjnqfm.fsf@gnu.org> <831u53npuy.fsf@gnu.org> <7977F745-C1B8-44AD-9710-3CE9567C5338@swipnet.se> <83zjrrm9tc.fsf@gnu.org> <5B85556B-72FB-49DB-96F8-A38939746260@swipnet.se> <83r4d2mpi2.fsf@gnu.org> <87vc2ee9io.fsf@igel.home> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1378452855 26431 80.91.229.3 (6 Sep 2013 07:34:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Sep 2013 07:34:15 +0000 (UTC) Cc: xfq.free@gmail.com, 15273@debbugs.gnu.org To: Andreas Schwab , Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 06 09:34:17 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 1VHqYZ-00047u-Pw for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Sep 2013 09:34:15 +0200 Original-Received: from localhost ([::1]:35614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHqYZ-0001MG-A9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Sep 2013 03:34:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHqYR-0001M7-UE for bug-gnu-emacs@gnu.org; Fri, 06 Sep 2013 03:34:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHqYN-0001sB-3X for bug-gnu-emacs@gnu.org; Fri, 06 Sep 2013 03:34:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHqYM-0001s5-WA for bug-gnu-emacs@gnu.org; Fri, 06 Sep 2013 03:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VHqYM-00030R-40 for bug-gnu-emacs@gnu.org; Fri, 06 Sep 2013 03:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Sep 2013 07:34:02 +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.137845279511495 (code B ref 15273); Fri, 06 Sep 2013 07:34:02 +0000 Original-Received: (at 15273) by debbugs.gnu.org; 6 Sep 2013 07:33:15 +0000 Original-Received: from localhost ([127.0.0.1]:42861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHqXa-0002zJ-Qw for submit@debbugs.gnu.org; Fri, 06 Sep 2013 03:33:15 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:38364) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VHqXW-0002z3-Ls for 15273@debbugs.gnu.org; Fri, 06 Sep 2013 03:33:12 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MSP002000U37W00@a-mtaout21.012.net.il> for 15273@debbugs.gnu.org; Fri, 06 Sep 2013 10:33:04 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MSP002BU0Z31L90@a-mtaout21.012.net.il>; Fri, 06 Sep 2013 10:33:03 +0300 (IDT) In-reply-to: <87vc2ee9io.fsf@igel.home> 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:78033 Archived-At: > From: Andreas Schwab > Cc: Jan Djärv , xfq.free@gmail.com, > 15273@debbugs.gnu.org > Date: Fri, 06 Sep 2013 08:42:23 +0200 > > Eli Zaretskii writes: > > > Character composition in Emacs can happen in 1 of 2 ways: > > > > . The font driver tells Emacs to compose several characters into a > > single grapheme cluster, by drawing all of them as a single unit, > > and by drawing the 2nd, 3rd, etc. character glyphs at certain pixel > > offsets relative to the base glyph. > > > > . Emacs itself has composition rules for 2 or more characters; in > > this case, the same pixel offsets come from those rules. > > The first way can only work if both characters are coming from the same > font. Yes. > Not sure if that is also true for the second way, but I'd guess yes. I'm not sure, either. The second way happens when we generate the glyph matrices -- do we select font before or after that? If after, we probably look for a font that supports all of the characters in the composition. Perhaps Handa-san could comment on this. But, at least in my testing, I used a font that definitely supports both characters, and the composition still didn't happen.