From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: handa Newsgroups: gmane.emacs.bugs Subject: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts Date: Thu, 16 Jul 2015 21:51:22 +0900 Message-ID: <87egk85kqd.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1437051149 22617 80.91.229.3 (16 Jul 2015 12:52:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jul 2015 12:52:29 +0000 (UTC) Cc: 20984@debbugs.gnu.org To: bruce.connor.am@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 16 14:52:17 2015 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 1ZFie8-0007hG-Cl for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jul 2015 14:52:16 +0200 Original-Received: from localhost ([::1]:40100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFie7-0002PE-Ko for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jul 2015 08:52:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFie3-0002Ov-5d for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 08:52:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFidu-0004vy-Qz for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 08:52:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFidu-0004vj-Nz for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 08:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZFidu-0001kQ-Ai for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 08:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: handa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jul 2015 12:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20984 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20984-submit@debbugs.gnu.org id=B20984.14370511006686 (code B ref 20984); Thu, 16 Jul 2015 12:52:02 +0000 Original-Received: (at 20984) by debbugs.gnu.org; 16 Jul 2015 12:51:40 +0000 Original-Received: from localhost ([127.0.0.1]:50774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFidX-0001jl-Eg for submit@debbugs.gnu.org; Thu, 16 Jul 2015 08:51:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40683) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFidV-0001jV-HN for 20984@debbugs.gnu.org; Thu, 16 Jul 2015 08:51:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFidP-0004nL-EP for 20984@debbugs.gnu.org; Thu, 16 Jul 2015 08:51:32 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:43526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFidM-0004ka-Ur; Thu, 16 Jul 2015 08:51:28 -0400 Original-Received: from fl1-110-233-79-201.iba.mesh.ad.jp ([110.233.79.201]:47549 helo=shatin) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZFidM-0003Zz-98; Thu, 16 Jul 2015 08:51:28 -0400 Original-Received: from handa by shatin with local (Exim 4.82) (envelope-from ) id 1ZFidG-0003Bo-P7; Thu, 16 Jul 2015 21:51:22 +0900 In-Reply-To: (message from Artur Malabarba on Wed, 15 Jul 2015 20:05:20 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:104989 Archived-At: In article , Artur Malabarba writes: > Indeed, this works. Thank you for testing. The next release of m17n-db will come with that new version. --- K. Handa handa@gnu.org > 2015-07-10 17:06 GMT+01:00 handa : > > In article <83oajkbkbo.fsf@gnu.org>, Eli Zaretskii write= s: > > >>> Btw, I wonder why xftfont and libotf don't do the same as Uniscribe, >>> i.e. instruct Emacs to display the =E0 character. This is what the >>> composition data I see here says: > > >>> [0 1 97 231 8 1 7 12 4 nil] > > >>> This single vector tells Emacs to display one glyph, and 231 is its >>> code in the font. > > >>> It is strange that libotf doesn't take this shortcut, although I'm >>> quite sure a glyph for =E0 is available both in DejaVu Sans Mono and in >>> Source Code Pro. But I don't know enough about libotf. > > > > Sorry, I found that my build of emacs-24.5 was without m17n-flt (and > > libotf). So, the combining was done by Emacs itself using the function > > compose-gstring-for-graphic. > > > > I've just rebuild emacs-24.5 with m17n-flt, and see the same problem as > > the trunk, which means that the culprit may be in m17n-flt or libotf. > > > > So, I checked m17n-flt and found that the rule for combining latin > > characters has a bug when a font has such OTF features as subs, sups. > > > > Please try the attached COMBINING.flt by these steps: > > 1. make the directory ~/.m17n.d > > 2. put COMBINING.flt under that directory. > > 3. run emacs > > > > By the why, the reason of m17n-flt/libotf not taking the shortcut above > > is that the Source Code Pro font doesn't have such a feature. I suspect > > Uniscribe has a special code for using precomposed glyph without asking > > a font about its features. So, perhaps, even with TTF font (i.e. a font > > of no OTF features), Uniscribe can display a-grave sequence with the > > precomposed glyph. > > > > --- > > K. Handa > > handa@gnu.org > >