From unknown Fri Aug 15 12:52:00 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#20984 <20984@debbugs.gnu.org> To: bug#20984 <20984@debbugs.gnu.org> Subject: Status: 25.0.50; Combining accents don't display properly in certain fonts Reply-To: bug#20984 <20984@debbugs.gnu.org> Date: Fri, 15 Aug 2025 19:52:00 +0000 retitle 20984 25.0.50; Combining accents don't display properly in certain = fonts reassign 20984 emacs submitter 20984 bruce.connor.am@gmail.com severity 20984 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 05 12:24:44 2015 Received: (at submit) by debbugs.gnu.org; 5 Jul 2015 16:24:45 +0000 Received: from localhost ([127.0.0.1]:41046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBmii-0004S2-3Q for submit@debbugs.gnu.org; Sun, 05 Jul 2015 12:24:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36448) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBmif-0004Rn-9I for submit@debbugs.gnu.org; Sun, 05 Jul 2015 12:24:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBmiZ-0004Ki-CQ for submit@debbugs.gnu.org; Sun, 05 Jul 2015 12:24:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBmiZ-0004KS-9B for submit@debbugs.gnu.org; Sun, 05 Jul 2015 12:24:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBmiY-0001L8-DO for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2015 12:24:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBmiX-0004Ht-Iq for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2015 12:24:34 -0400 Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:35817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBmiX-0004Gw-5W for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2015 12:24:33 -0400 Received: by lagh6 with SMTP id h6so129601770lag.2 for ; Sun, 05 Jul 2015 09:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:date:message-id:subject:from:to :content-type; bh=9ur+bQAKFsyFF1BBbcpV6dcQUR8eg7ZnItjFryc3fms=; b=F8Qn88jpDBmfPQNE7R9ZebaQcGczusRT7ioQBZ1h05D7A9N1LeR8n57PC7+ge7ULPf SanM07uOiZ+DN7rAQG9+wnd0j6aKIpxx975PHIn5tG8MNLrnOocPa8+RlrOrATthfTIu 5fPztpAvNUsWg8wwKDGxEWimOCUO1ZyE+C00NVxDYF/6vKfzlZNNQyfgwChCuc5XsJ54 2VE46ev+RSqgytEdpxflqWndysLpDgOllu3R/pWj0vEAdtnPHRKTB9OM4IFGOvGuWrAa 16a1BRPcPpVRgkMctVSE1AxJRDfi1G8O/WIjGXE6Ly6DnXz5IvASDiXLTDwdZJxcqxPj MfIg== MIME-Version: 1.0 X-Received: by 10.112.25.69 with SMTP id a5mr44313266lbg.16.1436113472218; Sun, 05 Jul 2015 09:24:32 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Sun, 5 Jul 2015 09:24:31 -0700 (PDT) Date: Sun, 5 Jul 2015 17:24:32 +0100 X-Google-Sender-Auth: KXbNNiBz263hnZhwakhVH3P_kkU Message-ID: Subject: 25.0.50; Combining accents don't display properly in certain fonts From: Artur Malabarba To: bug-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary=001a11c3f5be5ecb39051a233961 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a11c3f5be5ecb39051a233961 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Start emacs -Q then evaluate the following in the *scratch* (assuming you have this font installed) (set-face-attribute 'default nil :font "SourceCodePro Medium") (insert (format "a%c" 768)) The result should look like "=C3=A0", but instead, it looks like "a`" where the letter "a" is actually distorted and shifted up (image attached). The same happens with other combining symbols. On the other hand, if I type a second letter "a", then the grave wil be placed over it, while the first letter stays distorted. Again, this is easier to understand with the attached image. The second and third lines of the image show the weird behavior. The first line is correct, I think. --001a11c3f5be5ecb39051a233961 Content-Type: image/png; name="screenshot-2015-07-05--162913.png" Content-Disposition: attachment; filename="screenshot-2015-07-05--162913.png" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ibqorvb70 iVBORw0KGgoAAAANSUhEUgAAAU8AAABcCAIAAABhmqAkAAAABGdBTUEAALGPC/xhBQAAACBjSFJN AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAA CW9GRnMAAAAGAAAAWgBMJ+ANAAAACXZwQWcAAAVWAAADAACfe8cdAAAQG0lEQVR42u2dCVAUVxrH AxFMxBiNppIyYDxiFcKoXMONIJf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tp1KG9HoZB2pB2F0gYh7SgU0o60o1BIO9KOQiHtSDsKpTm06+npGRgYGKpD0A60hrSj UCzR/wE/PYTRHCaRdgAAAABJRU5ErkJggg== --001a11c3f5be5ecb39051a233961-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 05 12:33:51 2015 Received: (at 20984) by debbugs.gnu.org; 5 Jul 2015 16:33:51 +0000 Received: from localhost ([127.0.0.1]:41057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBmrW-0004j0-K0 for submit@debbugs.gnu.org; Sun, 05 Jul 2015 12:33:51 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:44533) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBmrU-0004il-E8 for 20984@debbugs.gnu.org; Sun, 05 Jul 2015 12:33:49 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NR000O00WL5X300@mtaout26.012.net.il> for 20984@debbugs.gnu.org; Sun, 05 Jul 2015 19:36:34 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NR000O1SWSYZP10@mtaout26.012.net.il>; Sun, 05 Jul 2015 19:36:34 +0300 (IDT) Date: Sun, 05 Jul 2015 19:33:33 +0300 From: Eli Zaretskii Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts In-reply-to: X-012-Sender: halo1@inter.net.il To: bruce.connor.am@gmail.com Message-id: <83h9piwoma.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sun, 5 Jul 2015 17:24:32 +0100 > From: Artur Malabarba > > Start emacs -Q then evaluate the following in the *scratch* (assuming > you have this font installed) > > (set-face-attribute 'default nil :font "SourceCodePro Medium") > (insert (format "a%c" 768)) > > The result should look like "à", but instead, it looks like "a`" where > the letter "a" is actually distorted and shifted up (image attached). > The same happens with other combining symbols. Do both glyphs come from the same font, according to "C-u C-x ="? (I don't have that font installed to try that myself.) Emacs can only compose characters if their glyphs are covered by the same font. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 05 12:42:54 2015 Received: (at 20984) by debbugs.gnu.org; 5 Jul 2015 16:42:54 +0000 Received: from localhost ([127.0.0.1]:41062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBn0I-00050s-5D for submit@debbugs.gnu.org; Sun, 05 Jul 2015 12:42:54 -0400 Received: from mail-la0-f52.google.com ([209.85.215.52]:36635) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBn0F-00050b-E0 for 20984@debbugs.gnu.org; Sun, 05 Jul 2015 12:42:52 -0400 Received: by lagc2 with SMTP id c2so129932055lag.3 for <20984@debbugs.gnu.org>; Sun, 05 Jul 2015 09:42:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=CGNnsDKg07CejqERmwXAYePKVl4P0KYklYQNTGAVJeU=; b=tS2RQtvUwy58cTcZC77Rr9yaCdeEKxg5WbIVQKhK2LEfM2mUusy6D0nn0dEe4GXbnc B8QCkRAL6ujwQ6WAO9906cr8JnovcJkkFxaoCJWMVl8nADOfPFa62wBZsVXIFiOGWM/V IcKp0N5V+XDhOi+iOZfvBnC7fgUy2/RuyDf+dWHzqVkE1DDYwlCk2soW0+gOv99tHDIo 6K39a5lgt8YdQ8AoxCE3bMJWbaCVVSDHJxpUj2E/vRbfv+VPNKc5X/WH7J6ilZxVlipP m1sjMhku0AsFGmXuUlYzaoX4QVf7L2ixZHTexhOR0BVeZ05W5cJYl5FfbrQ3iDaQrVkN LsGw== MIME-Version: 1.0 X-Received: by 10.112.210.137 with SMTP id mu9mr40501616lbc.95.1436114565469; Sun, 05 Jul 2015 09:42:45 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Sun, 5 Jul 2015 09:42:45 -0700 (PDT) In-Reply-To: <83h9piwoma.fsf@gnu.org> References: <83h9piwoma.fsf@gnu.org> Date: Sun, 5 Jul 2015 17:42:45 +0100 X-Google-Sender-Auth: N-ISx_PxTIbBruqgy7aouIzY2Ug Message-ID: Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts From: Artur Malabarba To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 2015-07-05 17:33 GMT+01:00 Eli Zaretskii : >> Date: Sun, 5 Jul 2015 17:24:32 +0100 >> From: Artur Malabarba >> >> Start emacs -Q then evaluate the following in the *scratch* (assuming >> you have this font installed) >> >> (set-face-attribute 'default nil :font "SourceCodePro Medium") >> (insert (format "a%c" 768)) >> >> The result should look like "=C3=A0", but instead, it looks like "a`" wh= ere >> the letter "a" is actually distorted and shifted up (image attached). >> The same happens with other combining symbols. > > Do both glyphs come from the same font, according to "C-u C-x =3D"? (I > don't have that font installed to try that myself.) > > Emacs can only compose characters if their glyphs are covered by the > same font. Yes. Investigating the weird combination yields this on the description buf= fer: Composed with the following character(s) "=CC=80" using this font: xft:-adobe-Source Code Pro-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1 by these glyphs: [0 1 0 626 8 1 6 8 -3 nil] [0 1 0 734 0 1 5 11 -9 [0 0 0]] And investigating the characters individually yields the same font for both xft:-adobe-Source Code Pro-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1 (#x1C) xft:-adobe-Source Code Pro-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1 (#x2DD) Should I paste the full *help* buffer here? From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 05 13:02:10 2015 Received: (at 20984) by debbugs.gnu.org; 5 Jul 2015 17:02:10 +0000 Received: from localhost ([127.0.0.1]:41066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBnIv-0005Ym-Ma for submit@debbugs.gnu.org; Sun, 05 Jul 2015 13:02:10 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:50380) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBnIt-0005Y5-0R for 20984@debbugs.gnu.org; Sun, 05 Jul 2015 13:02:08 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NR000K00XSXXY00@a-mtaout22.012.net.il> for 20984@debbugs.gnu.org; Sun, 05 Jul 2015 20:02:00 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NR000KROXZ9KB80@a-mtaout22.012.net.il>; Sun, 05 Jul 2015 20:02:00 +0300 (IDT) Date: Sun, 05 Jul 2015 20:01:47 +0300 From: Eli Zaretskii Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts In-reply-to: X-012-Sender: halo1@inter.net.il To: bruce.connor.am@gmail.com, Kenichi Handa Message-id: <83fv52wnb8.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <83h9piwoma.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sun, 5 Jul 2015 17:42:45 +0100 > From: Artur Malabarba > Cc: 20984@debbugs.gnu.org > > > Do both glyphs come from the same font, according to "C-u C-x ="? (I > > don't have that font installed to try that myself.) > > > > Emacs can only compose characters if their glyphs are covered by the > > same font. > > Yes. Investigating the weird combination yields this on the description buffer: > > Composed with the following character(s) "̀" using this font: > xft:-adobe-Source Code Pro-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1 > by these glyphs: > [0 1 0 626 8 1 6 8 -3 nil] > [0 1 0 734 0 1 5 11 -9 [0 0 0]] > > And investigating the characters individually yields the same font for both > > xft:-adobe-Source Code > Pro-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1 (#x1C) > xft:-adobe-Source Code > Pro-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1 (#x2DD) > > Should I paste the full *help* buffer here? There's no need, thanks. But it would be interesting, I think, to see the output of "C-u C-x =" for the same pair of inserted characters, but with your default font (assuming it is capable of displaying the accented a). Anyway, I've tried this on my system, after installing version 1.020 of the font, and I don't see the problem you report: the 2 characters are composed and displayed as you'd expect. So I think this might be some issue with the shaping engine you are using -- do you have the latest versions of the libraries mentioned in INSTALL, under "Complex Text Layout support libraries"? If you do, perhaps Handa-san could comment on this. For the record, my system uses the Windows standard Uniscribe shaping engine, and the composition information it returns is different: Composed with the following character(s) "̀" using this font: uniscribe:-outline-Source Code Pro Medium-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 by these glyphs: [0 1 97 231 8 1 7 12 4 nil] From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 05 14:02:28 2015 Received: (at 20984) by debbugs.gnu.org; 5 Jul 2015 18:02:28 +0000 Received: from localhost ([127.0.0.1]:41119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBoFH-0007GX-Kd for submit@debbugs.gnu.org; Sun, 05 Jul 2015 14:02:27 -0400 Received: from mail-la0-f45.google.com ([209.85.215.45]:35039) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBoFF-0007GG-Mp for 20984@debbugs.gnu.org; Sun, 05 Jul 2015 14:02:26 -0400 Received: by lagh6 with SMTP id h6so130846199lag.2 for <20984@debbugs.gnu.org>; Sun, 05 Jul 2015 11:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=RA/WIFzqoC+Iqkvg5UKXt1FS/2j/3LsH6Qvo4xlf6RM=; b=C6xcsY1fJ69B8UZU+UpqlvqQU6kBIXhClgTIAPfJjRFuAqjrT4lu+WgcwcnV+4mi8S d3idw0l/O5odZ31fhho6LUjUfCX3uVZEZ21mmbRaCgKyO3kgR9ZgXwG14L8F6ZHc8tjp hPnqZDFudrLypq0SK06isZLiMZLCl4qFAaq9WNJiR54a0JTbBbphzX6rigtddHAgsl/L zkZ1B8jK9IOeASDygEBK3pZQJQDsRYneSkd2vvmF+C9Tg0YMDJQ+hvEh3sEyK5quBY5p WDf6acAs9kJRKXYq2FG/g8c44DUJnjw/T/dyeMnGL92JSmx+fzfwDQkX+/AuPv9luqX8 81ew== MIME-Version: 1.0 X-Received: by 10.152.4.163 with SMTP id l3mr46095000lal.35.1436119339605; Sun, 05 Jul 2015 11:02:19 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Sun, 5 Jul 2015 11:02:19 -0700 (PDT) In-Reply-To: <83fv52wnb8.fsf@gnu.org> References: <83h9piwoma.fsf@gnu.org> <83fv52wnb8.fsf@gnu.org> Date: Sun, 5 Jul 2015 19:02:19 +0100 X-Google-Sender-Auth: jcnyL-T76Y54i99mzcOH9hqoSi0 Message-ID: Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts From: Artur Malabarba To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org, Kenichi Handa X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >> Should I paste the full *help* buffer here? > > There's no need, thanks. But it would be interesting, I think, to see > the output of "C-u C-x =3D" for the same pair of inserted characters, > but with your default font (assuming it is capable of displaying the > accented a). > With my default font (DejaVu Sans Mono), which does correctly display the grave a, describing the combined characters gives the following Composed with the following character(s) "=CC=80" using this font: xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso1064= 6-1 by these glyphs: [0 1 97 68 9 1 8 11 0 nil] [0 1 768 648 0 2 6 12 -9 [-9 0 0]] And describing them individually gives the following xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1 (#x44) xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1 (#x288) > Anyway, I've tried this on my system, after installing version 1.020 > of the font, and I don't see the problem you report: the 2 characters > are composed and displayed as you'd expect. > > So I think this might be some issue with the shaping engine you are > using -- do you have the latest versions of the libraries mentioned in > INSTALL, under "Complex Text Layout support libraries"? If you do, > perhaps Handa-san could comment on this. Out of the 3 mentioned there ("m17n-db", "libm17n-flt", "libotf") - I see the following 2 installed (and up-to-date) on my system (arch): m17n-db, m17n-lib, libotf. - Looking through my emacs's config.log, I see reports that the following two were detected: M17N_FLT, LIBOTF. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 06 10:59:33 2015 Received: (at 20984) by debbugs.gnu.org; 6 Jul 2015 14:59:33 +0000 Received: from localhost ([127.0.0.1]:42284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC7rp-0004la-1E for submit@debbugs.gnu.org; Mon, 06 Jul 2015 10:59:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50640) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC7rn-0004lN-5w for 20984@debbugs.gnu.org; Mon, 06 Jul 2015 10:59:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZC7rh-00047x-AY for 20984@debbugs.gnu.org; Mon, 06 Jul 2015 10:59:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZC7rc-00045l-9q; Mon, 06 Jul 2015 10:59:20 -0400 Received: from fl1-110-233-79-201.iba.mesh.ad.jp ([110.233.79.201]:47133 helo=shatin) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZC7rb-0006fe-KX; Mon, 06 Jul 2015 10:59:19 -0400 Received: from handa by shatin with local (Exim 4.82) (envelope-from ) id 1ZC7rW-00027e-QH; Mon, 06 Jul 2015 23:59:14 +0900 From: handa To: Eli Zaretskii Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts In-Reply-To: <83fv52wnb8.fsf@gnu.org> (message from Eli Zaretskii on Sun, 05 Jul 2015 20:01:47 +0300) Date: Mon, 06 Jul 2015 23:59:14 +0900 Message-ID: <87k2ud72nx.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org, bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) In article <83fv52wnb8.fsf@gnu.org>, Eli Zaretskii writes: > > Yes. Investigating the weird combination yields this on the description= buffer: > > Composed with the following character(s) "=CC=80" using this font: > > xft:-adobe-Source Code Pro-normal-normal-normal-*-13-*-*-*-m-0-iso106= 46-1 > > by these glyphs: > > [0 1 0 626 8 1 6 8 -3 nil] > > [0 1 0 734 0 1 5 11 -9 [0 0 0]] I tried that font on my Lubuntu system with Emacs 24.5 and the latest trunk version. I see no problem with 24.5, i.e. a-grave is correctly displayed, but see the same problem as yours with trunk version. So, it seems that something was broken recently. --- K. Handa handa@gnu.org From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 06 11:52:58 2015 Received: (at control) by debbugs.gnu.org; 6 Jul 2015 15:52:58 +0000 Received: from localhost ([127.0.0.1]:42303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC8hV-00061n-QC for submit@debbugs.gnu.org; Mon, 06 Jul 2015 11:52:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45734) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC8hT-00061a-IH for control@debbugs.gnu.org; Mon, 06 Jul 2015 11:52:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZC8hN-0000Yp-KY for control@debbugs.gnu.org; Mon, 06 Jul 2015 11:52:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([208.118.235.10]:34190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZC8hN-0000Yh-FD for control@debbugs.gnu.org; Mon, 06 Jul 2015 11:52:49 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZC8hN-00017J-71 for control@debbugs.gnu.org; Mon, 06 Jul 2015 11:52:49 -0400 Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 06 Jul 2015 11:52:49 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.10 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) block 19759 by 20984 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 06 12:58:24 2015 Received: (at 20984) by debbugs.gnu.org; 6 Jul 2015 16:58:24 +0000 Received: from localhost ([127.0.0.1]:42318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC9ip-0000dn-CE for submit@debbugs.gnu.org; Mon, 06 Jul 2015 12:58:23 -0400 Received: from mail-la0-f51.google.com ([209.85.215.51]:35243) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC9im-0000dZ-HY for 20984@debbugs.gnu.org; Mon, 06 Jul 2015 12:58:22 -0400 Received: by labgy5 with SMTP id gy5so10677487lab.2 for <20984@debbugs.gnu.org>; Mon, 06 Jul 2015 09:58:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=nyHsSKxiTdZGZRn9hDZ2AyEui2pm4XGCTrEaT0KKGnI=; b=wbjRAfdBsihEnMt1m4SwpR+I+rR7u/0+zm05ooi2saFAVvfsdHQmRRbcclzXLuIHtt Cykhl5hbw2gRiV+QjUcQGYeoTIRsTpgRuqNyMGhFDeX61QZAZihua4sVGMS1kuLjIfta g/HUd6zkK1P66KPafCsta9et096EiUb9zUX80+Fm59H5M/qdcsSRiz1XbeVQsCXRqB9u SV7KF5t9TzXzxmejIUFHE58/in8d3kcX7DJzhOb4x+rMYMiHVSb52EdxMtWKbSbBVyNn GD1rBakwrWTu61IOUTW20NeZNTgQfT2BB9xOLXDU0L62mGjvO6pcZ1Syu5fDEpMqTv7Q GCyg== MIME-Version: 1.0 X-Received: by 10.112.222.133 with SMTP id qm5mr49909472lbc.86.1436201894575; Mon, 06 Jul 2015 09:58:14 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Mon, 6 Jul 2015 09:58:14 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Mon, 6 Jul 2015 09:58:14 -0700 (PDT) In-Reply-To: References: <83fv52wnb8.fsf@gnu.org> <87k2ud72nx.fsf@gnu.org> Date: Mon, 6 Jul 2015 17:58:14 +0100 X-Google-Sender-Auth: -WD2sVIb7Uz5s4RoaKJBFuug7Mk Message-ID: Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts From: Artur Malabarba To: Kenichi Handa Content-Type: multipart/alternative; boundary=001a11346db0c08512051a37cfb1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11346db0c08512051a37cfb1 Content-Type: text/plain; charset=UTF-8 > I tried that font on my Lubuntu system with Emacs 24.5 and the latest > trunk version. I see no problem with 24.5, i.e. a-grave is correctly > displayed, but see the same problem as yours with trunk version. > > So, it seems that something was broken recently. That's strange, I tested on a 24.2 build I had lying around and found the same problem. Though I can't even remember how/when that was built. I'll check out 24.5 tomorrow and do a proper test. --001a11346db0c08512051a37cfb1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

> I tried that font on my Lubuntu system with Emacs 24.5 = and the latest
> trunk version.=C2=A0 I see no problem with 24.5, i.e. a-grave is corre= ctly
> displayed, but see the same problem as yours with trunk version.
>
> So, it seems that something was broken recently.

That's strange, I tested on a 24.2 build I had lying aro= und and found the same problem. Though I can't even remember how/when t= hat was built.

I'll check out 24.5 tomorrow and do a proper test.

--001a11346db0c08512051a37cfb1-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 06 13:16:47 2015 Received: (at 20984) by debbugs.gnu.org; 6 Jul 2015 17:16:47 +0000 Received: from localhost ([127.0.0.1]:42326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCA0d-00014m-0P for submit@debbugs.gnu.org; Mon, 06 Jul 2015 13:16:47 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:39390) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCA0a-00014Y-2N for 20984@debbugs.gnu.org; Mon, 06 Jul 2015 13:16:45 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NR200A00TA3CF00@mtaout26.012.net.il> for 20984@debbugs.gnu.org; Mon, 06 Jul 2015 20:19:30 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NR200A9KTGIY800@mtaout26.012.net.il>; Mon, 06 Jul 2015 20:19:30 +0300 (IDT) Date: Mon, 06 Jul 2015 20:16:27 +0300 From: Eli Zaretskii Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts In-reply-to: <87k2ud72nx.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: handa Message-id: <831tglw6j8.fsf@gnu.org> References: <87k2ud72nx.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org, bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: handa > Cc: bruce.connor.am@gmail.com, 20984@debbugs.gnu.org > Date: Mon, 06 Jul 2015 23:59:14 +0900 > > > > [0 1 0 626 8 1 6 8 -3 nil] > > > [0 1 0 734 0 1 5 11 -9 [0 0 0]] > > I tried that font on my Lubuntu system with Emacs 24.5 and the latest > trunk version. I see no problem with 24.5, i.e. a-grave is correctly > displayed, but see the same problem as yours with trunk version. > > So, it seems that something was broken recently. Could it be my latest changes related to fontsets? Though then the Windows build should have been affected as well. The composition data above looks wrong, doesn't it? Like if the 'a' part of the grapheme cluster comes from some different codepoint, not from 'a', am I right? From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 09 05:27:29 2015 Received: (at 20984) by debbugs.gnu.org; 9 Jul 2015 09:27:29 +0000 Received: from localhost ([127.0.0.1]:44734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZD877-00021w-5i for submit@debbugs.gnu.org; Thu, 09 Jul 2015 05:27:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41447) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZD875-00021j-1x for 20984@debbugs.gnu.org; Thu, 09 Jul 2015 05:27:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZD86z-0002cs-2g for 20984@debbugs.gnu.org; Thu, 09 Jul 2015 05:27:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZD86s-0002bM-DH; Thu, 09 Jul 2015 05:27:14 -0400 Received: from fl1-110-233-79-201.iba.mesh.ad.jp ([110.233.79.201]:59492 helo=shatin) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZD86r-0006dA-P0; Thu, 09 Jul 2015 05:27:14 -0400 Received: from handa by shatin with local (Exim 4.82) (envelope-from ) id 1ZD86m-0001wq-QP; Thu, 09 Jul 2015 18:27:08 +0900 From: handa To: Eli Zaretskii Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts In-Reply-To: <831tglw6j8.fsf@gnu.org> (message from Eli Zaretskii on Mon, 06 Jul 2015 20:16:27 +0300) Date: Thu, 09 Jul 2015 18:27:08 +0900 Message-ID: <87mvz565qr.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org, bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) In article <831tglw6j8.fsf@gnu.org>, Eli Zaretskii writes: > > From: handa > > Cc: bruce.connor.am@gmail.com, 20984@debbugs.gnu.org > > Date: Mon, 06 Jul 2015 23:59:14 +0900 > > > > > > [0 1 0 626 8 1 6 8 -3 nil] > > > > [0 1 0 734 0 1 5 11 -9 [0 0 0]] > > > > I tried that font on my Lubuntu system with Emacs 24.5 and the latest > > trunk version. I see no problem with 24.5, i.e. a-grave is correctly > > displayed, but see the same problem as yours with trunk version. > > > > So, it seems that something was broken recently. > Could it be my latest changes related to fontsets? Though then the > Windows build should have been affected as well. I don't think so. Your change is related to font selection, and in the current case, the font is correctly selected. > The composition data above looks wrong, doesn't it? Like if the 'a' > part of the grapheme cluster comes from some different codepoint, not > from 'a', am I right? The above data is completely broken. The 3rd element of each vector is a character code, and it should be 97 and 768 respectively. In my case too, the latest trunk Emacs returns the same vector as above, and, Emacs 24.5 returns this: [0 1 97 28 8 -1 8 7 0 nil] [0 1 768 733 8 1 6 10 -8 [-8 0 0]] --- K. Handa handa@gnu.org From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 09 13:11:09 2015 Received: (at 20984) by debbugs.gnu.org; 9 Jul 2015 17:11:09 +0000 Received: from localhost ([127.0.0.1]:45393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDFLp-0008B4-6c for submit@debbugs.gnu.org; Thu, 09 Jul 2015 13:11:09 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:64606) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDFLm-0008AW-6E for 20984@debbugs.gnu.org; Thu, 09 Jul 2015 13:11:07 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NR800I00CRBFN00@a-mtaout22.012.net.il> for 20984@debbugs.gnu.org; Thu, 09 Jul 2015 20:10:59 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NR800IT2D2B2370@a-mtaout22.012.net.il>; Thu, 09 Jul 2015 20:10:59 +0300 (IDT) Date: Thu, 09 Jul 2015 20:10:56 +0300 From: Eli Zaretskii Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts In-reply-to: <87mvz565qr.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: Kenichi Handa Message-id: <83380xuuhr.fsf@gnu.org> References: <87mvz565qr.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org, bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: handa > Cc: bruce.connor.am@gmail.com, 20984@debbugs.gnu.org > Date: Thu, 09 Jul 2015 18:27:08 +0900 > > > > > > [0 1 0 626 8 1 6 8 -3 nil] > > > > > [0 1 0 734 0 1 5 11 -9 [0 0 0]] > > > > > The composition data above looks wrong, doesn't it? Like if the 'a' > > part of the grapheme cluster comes from some different codepoint, not > > from 'a', am I right? > > The above data is completely broken. The 3rd element of each vector is > a character code, and it should be 97 and 768 respectively. > > In my case too, the latest trunk Emacs returns the same vector as above, > and, Emacs 24.5 returns this: > > [0 1 97 28 8 -1 8 7 0 nil] > [0 1 768 733 8 1 6 10 -8 [-8 0 0]] Can you point me to the code that is involved in creation of the composition data, when the font back-end is xftfont? Specifically, those portions of creating the composition data that depend on the font features, since the same composition displays correctly for the OP (and I guess for you as well) with DejaVu Sans Mono. I will then try to see what changes were done there since 24.5. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 09 17:55:17 2015 Received: (at 20984) by debbugs.gnu.org; 9 Jul 2015 21:55:17 +0000 Received: from localhost ([127.0.0.1]:45605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDJmn-0006ay-8C for submit@debbugs.gnu.org; Thu, 09 Jul 2015 17:55:17 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:35901) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDJml-0006al-HO for 20984@debbugs.gnu.org; Thu, 09 Jul 2015 17:55:16 -0400 Received: by lagc2 with SMTP id c2so251498711lag.3 for <20984@debbugs.gnu.org>; Thu, 09 Jul 2015 14:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=7zLpji87U8bKexgOEafp5vJphVOvPn+Isct+QgT1xvY=; b=v3QyT3LuJJr5AxYlbq13tXBouJLI3lYCCu80+EV3HGVddlie5aMh8yDn7GK5z9pG9z oioK40DKNSDguWiM5QqUl52jOBVrmOW/aiAsZ3K1BgKk+WPYnQBQJPJj/7VGGKtGdhAF b+iUYEAT7DcnSgcjlTOUiT8Coa/PNBX3ziT1X6KzmowErKeGgrHkC7NV/UYVE6qLtEF7 nQC6n5Jm9aSF5aEFoxuDtB3WUvfKvY/xRqCgOZ2eq3FDmlo6oUz/5myCZyoo4O+ZQk0G ujbRFDOJ+gV0mnphntCQNC4q2MORWr1Mn6f0MrhlFRNKyoW3JhwmXMic6JwZc7Iv30Fd vZpA== MIME-Version: 1.0 X-Received: by 10.152.87.231 with SMTP id bb7mr16605354lab.16.1436478909319; Thu, 09 Jul 2015 14:55:09 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Thu, 9 Jul 2015 14:55:09 -0700 (PDT) In-Reply-To: <83380xuuhr.fsf@gnu.org> References: <87mvz565qr.fsf@gnu.org> <83380xuuhr.fsf@gnu.org> Date: Thu, 9 Jul 2015 22:55:09 +0100 X-Google-Sender-Auth: YDEjaZIXkeT7pOyVRfnl4ORx6Uo Message-ID: Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts From: Artur Malabarba To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org, Kenichi Handa X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > OP (and I guess for you as well) with DejaVu Sans Mono. I will then > try to see what changes were done there since 24.5. Just to add information. I built the emacs-24.5 tag today and I still see the same issue on it. So don't be surprised if the answer isn't there. =/ From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 10 02:25:46 2015 Received: (at 20984) by debbugs.gnu.org; 10 Jul 2015 06:25:46 +0000 Received: from localhost ([127.0.0.1]:45811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDRkm-00021w-DB for submit@debbugs.gnu.org; Fri, 10 Jul 2015 02:25:45 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:34180) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDRki-00021c-Bb for 20984@debbugs.gnu.org; Fri, 10 Jul 2015 02:25:41 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NR900600DP8P500@a-mtaout20.012.net.il> for 20984@debbugs.gnu.org; Fri, 10 Jul 2015 09:25:33 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NR90060ZDULHYB0@a-mtaout20.012.net.il>; Fri, 10 Jul 2015 09:25:33 +0300 (IDT) Date: Fri, 10 Jul 2015 09:25:31 +0300 From: Eli Zaretskii Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts In-reply-to: X-012-Sender: halo1@inter.net.il To: bruce.connor.am@gmail.com Message-id: <83oajkbkbo.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <87mvz565qr.fsf@gnu.org> <83380xuuhr.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org, handa@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Thu, 9 Jul 2015 22:55:09 +0100 > From: Artur Malabarba > Cc: Kenichi Handa , 20984@debbugs.gnu.org > > > OP (and I guess for you as well) with DejaVu Sans Mono. I will then > > try to see what changes were done there since 24.5. > > Just to add information. I built the emacs-24.5 tag today and I still > see the same issue on it. So don't be surprised if the answer isn't > there. =/ Yes, I understand. But walking through the code might be a good starting point anyway, since the composition data is so completely broken. Btw, I wonder why xftfont and libotf don't do the same as Uniscribe, i.e. instruct Emacs to display the à 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 à is available both in DejaVu Sans Mono and in Source Code Pro. But I don't know enough about libotf. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 10 03:30:14 2015 Received: (at 20984) by debbugs.gnu.org; 10 Jul 2015 07:30:14 +0000 Received: from localhost ([127.0.0.1]:45896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDSlB-0003hs-AY for submit@debbugs.gnu.org; Fri, 10 Jul 2015 03:30:13 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:34897) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDSl1-0003gn-5n for 20984@debbugs.gnu.org; Fri, 10 Jul 2015 03:30:04 -0400 Received: by labgy5 with SMTP id gy5so107980766lab.2 for <20984@debbugs.gnu.org>; Fri, 10 Jul 2015 00:29:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=D/2gLPfcFYkuRMeN5okI54TbDp+7c7Hflr/WsqGMI/M=; b=UtasYyup+3MC228C90vXp5dsS8lJHXkZy6CsFNGv6d7Ub14rM/cUDQ25tbuBLRDe66 lRFhSUqAgoa3mSfzVJVPHmZixlMwunFdv9CFWkh82Hs4s1alldXSFNVWtyNTTmZBjHSM GjZ2fHKXlnJ8nTVWTgMPin2I3JJji+B7BGLUCo9MgiiLThkhNmlxwFKv03/T3olrsTWS cxiCAS0EwomJc68MQjswT8LvzdBvMpqNTjrQ5OWZyI52EnfcfiB3R1wSxoVeyTax2Oh8 5bgOTVHv6zQdVpiOghB0f559r4ITEglQ7fY4rV0uegMkMemZ/PZbxbJCeSSebonDwekl SbOw== MIME-Version: 1.0 X-Received: by 10.152.4.163 with SMTP id l3mr18881635lal.35.1436513396959; Fri, 10 Jul 2015 00:29:56 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Fri, 10 Jul 2015 00:29:56 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Fri, 10 Jul 2015 00:29:56 -0700 (PDT) In-Reply-To: <83oajkbkbo.fsf@gnu.org> References: <87mvz565qr.fsf@gnu.org> <83380xuuhr.fsf@gnu.org> <83oajkbkbo.fsf@gnu.org> Date: Fri, 10 Jul 2015 08:29:56 +0100 X-Google-Sender-Auth: FDeox1r59HPE_wieOaVqum50tC4 Message-ID: Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts From: Artur Malabarba To: Eli Zaretskii Content-Type: multipart/alternative; boundary=089e013d100cbdb3f7051a80565a X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org, Kenichi Handa X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --089e013d100cbdb3f7051a80565a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > It is strange that libotf doesn't take this shortcut, although I'm > quite sure a glyph for =C3=A0 is available both in DejaVu Sans Mono and i= n > Source Code Pro. Indeed it is. If I type out the actual letter (grave a) it displays fine. --089e013d100cbdb3f7051a80565a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

> It is strange that libotf doesn't take this shortcu= t, although I'm
> quite sure a glyph for =C3=A0 is available both in DejaVu Sans Mono an= d in
> Source Code Pro.=C2=A0

Indeed it is. If I type out the actual letter (grave a) it d= isplays fine.

--089e013d100cbdb3f7051a80565a-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 10 12:06:55 2015 Received: (at 20984) by debbugs.gnu.org; 10 Jul 2015 16:06:55 +0000 Received: from localhost ([127.0.0.1]:46365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDapD-0006I8-9W for submit@debbugs.gnu.org; Fri, 10 Jul 2015 12:06:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58647) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDapB-0006Hv-T8 for 20984@debbugs.gnu.org; Fri, 10 Jul 2015 12:06:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDap5-0007Do-KT for 20984@debbugs.gnu.org; Fri, 10 Jul 2015 12:06:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDaoy-0007BZ-F7; Fri, 10 Jul 2015 12:06:40 -0400 Received: from fl1-110-233-79-201.iba.mesh.ad.jp ([110.233.79.201]:57451 helo=shatin) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZDaox-00044d-QO; Fri, 10 Jul 2015 12:06:40 -0400 Received: from handa by shatin with local (Exim 4.82) (envelope-from ) id 1ZDaot-0006Af-98; Sat, 11 Jul 2015 01:06:35 +0900 From: handa To: Eli Zaretskii Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts In-Reply-To: <83oajkbkbo.fsf@gnu.org> (message from Eli Zaretskii on Fri, 10 Jul 2015 09:25:31 +0300) Date: Sat, 11 Jul 2015 01:06:35 +0900 Message-ID: <87h9pc575g.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org, bruce.connor.am@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable In article <83oajkbkbo.fsf@gnu.org>, Eli Zaretskii writes: > 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 --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=COMBINING.flt Content-Transfer-Encoding: base64 OzsgQ09NQklOSU5HLmZsdCAtLSBGb250IExheW91dCBUYWJsZSBmb3IgY29tYmluaW5nIGRpYWNy aXRpY2FsIG1hcmtzCjs7IENvcHlyaWdodCAoQykgMjAwNyAgQUlTVCAoSDE1UFJPMTEyKQo7OyBT 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QT1NFLiAgU2VlIHRoZSBHTlUKOzsgTGVzc2VyIEdlbmVyYWwgUHVi bGljIExpY2Vuc2UgZm9yIG1vcmUgZGV0YWlscy4KCjs7IFlvdSBzaG91bGQgaGF2ZSByZWNlaXZl ZCBhIGNvcHkgb2YgdGhlIEdOVSBMZXNzZXIgR2VuZXJhbCBQdWJsaWMKOzsgTGljZW5zZSBhbG9u ZyB3aXRoIHRoZSBtMTduIGxpYnJhcnk7IGlmIG5vdCwgd3JpdGUgdG8gdGhlIEZyZWUKOzsgU29m dHdhcmUgRm91bmRhdGlvbiwgSW5jLiwgNTEgRnJhbmtsaW4gU3RyZWV0LCBGaWZ0aCBGbG9vciwK OzsgQm9zdG9uLCBNQSAwMjExMC0xMzAxLCBVU0EuCgo7OyBMb2NhbCBWYXJpYWJsZXM6Cjs7IG1v ZGU6IGVtYWNzLWxpc3AKOzsgRW5kOgo= --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 15 15:05:28 2015 Received: (at 20984) by debbugs.gnu.org; 15 Jul 2015 19:05:28 +0000 Received: from localhost ([127.0.0.1]:50359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFRzj-0004A3-KK for submit@debbugs.gnu.org; Wed, 15 Jul 2015 15:05:28 -0400 Received: from mail-la0-f44.google.com ([209.85.215.44]:36090) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFRzi-00049q-9d for 20984@debbugs.gnu.org; Wed, 15 Jul 2015 15:05:26 -0400 Received: by lagw2 with SMTP id w2so30429771lag.3 for <20984@debbugs.gnu.org>; Wed, 15 Jul 2015 12:05:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=EuJMYF3UT4FVh6w6Vmy0DAWhOaMPdHizVwB3d76zORM=; b=w64oaqc7lpuy4NTRhecoV1VIe90am6snwc3bGmR0VEkJaE4xjhuTJdADfIpf9HEWfo ljuMkRTu0avlGO+HrQ0a/kKMiaKUtqXp5LgNpr68sIX4fbwrskgm3PXGcf7VRAGDXbhU 7gKmRRL6nLpqL6aBPZLIyaT4j/9VTplRxJ4s1bZxIleiICMsFdb6dRk3HciCJ6xzuM3a x7Hizp1p56AiIvI7LcqjHnwAJPrza78ZzT5O7yDEtaMrs/aidpwQpOHNDkNEe5aImyy4 PPfdLkut5WGCdyObB5CdVqT1gCy2p20TTiHYq+DEGGZo5wp1DJy9CG7xcL73thOzz+Fg tsFg== MIME-Version: 1.0 X-Received: by 10.112.120.134 with SMTP id lc6mr5682914lbb.86.1436987120487; Wed, 15 Jul 2015 12:05:20 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Wed, 15 Jul 2015 12:05:20 -0700 (PDT) In-Reply-To: <87h9pc575g.fsf@gnu.org> References: <83oajkbkbo.fsf@gnu.org> <87h9pc575g.fsf@gnu.org> Date: Wed, 15 Jul 2015 20:05:20 +0100 X-Google-Sender-Auth: uwx8lzgHd3fz625PbUV42RAaLVo Message-ID: Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts From: Artur Malabarba To: handa Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Indeed, this works. 2015-07-10 17:06 GMT+01:00 handa : > In article <83oajkbkbo.fsf@gnu.org>, Eli Zaretskii writes: > >> Btw, I wonder why xftfont and libotf don't do the same as Uniscribe, >> i.e. instruct Emacs to display the =C3=A0 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 =C3=A0 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 > From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 15 15:28:52 2015 Received: (at 20984) by debbugs.gnu.org; 15 Jul 2015 19:28:52 +0000 Received: from localhost ([127.0.0.1]:50363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFSMO-0004hv-6L for submit@debbugs.gnu.org; Wed, 15 Jul 2015 15:28:52 -0400 Received: from mtaout25.012.net.il ([80.179.55.181]:39593) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFSML-0004hi-Qv for 20984@debbugs.gnu.org; Wed, 15 Jul 2015 15:28:51 -0400 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NRJ00500N6XR300@mtaout25.012.net.il> for 20984@debbugs.gnu.org; Wed, 15 Jul 2015 22:24:46 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NRJ004SON99LY10@mtaout25.012.net.il>; Wed, 15 Jul 2015 22:24:46 +0300 (IDT) Date: Wed, 15 Jul 2015 22:28:49 +0300 From: Eli Zaretskii Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts In-reply-to: X-012-Sender: halo1@inter.net.il To: bruce.connor.am@gmail.com Message-id: <83h9p56wzy.fsf@gnu.org> References: <83oajkbkbo.fsf@gnu.org> <87h9pc575g.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org, handa@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Wed, 15 Jul 2015 20:05:20 +0100 > From: Artur Malabarba > Cc: Eli Zaretskii , 20984@debbugs.gnu.org > > Indeed, this works. Thanks for testing. So can we close this bug, or are there any leftovers? From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 15 18:29:30 2015 Received: (at 20984) by debbugs.gnu.org; 15 Jul 2015 22:29:30 +0000 Received: from localhost ([127.0.0.1]:50440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFVBB-0000gR-Ic for submit@debbugs.gnu.org; Wed, 15 Jul 2015 18:29:29 -0400 Received: from mail-lb0-f169.google.com ([209.85.217.169]:33299) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFVB9-0000gD-6X for 20984@debbugs.gnu.org; Wed, 15 Jul 2015 18:29:27 -0400 Received: by lbbyj8 with SMTP id yj8so33429319lbb.0 for <20984@debbugs.gnu.org>; Wed, 15 Jul 2015 15:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=+QJdv8Q+AXD+hi2213ixjEc0ebDF16zC5P8sJnnCS/4=; b=BUGvQsl3Txr79cxHgvwUPyTolGsD8rBpnRroFKpvIHnECGyFRvNUhBymNy0emo4UF8 dyqqUV+7NsWLM/F/zlwhiL6gTDRac4uklxtGsipBMFHzDkaah1icDpwyRlZy34jE6gY+ jfZZ2NXANShI+P+taCTjPJGRhsCIlfhp/3WHYx0G4wC+aU6B3w+kL62vNbA/5R0Mgico SH51vatQkMiLVIHVLQy/ZVQiai4vt2JNZ0ljlHEF7mzvC2L0W2vE+TQ0BDPfzT+Mv6RM a3D9sYMVkSQ8DqXLjmSoZNmRIH7NbT14jlH6UKKklJUEKRx97dt9VxNDO/hSkmtQoxhs ZJQA== MIME-Version: 1.0 X-Received: by 10.112.139.103 with SMTP id qx7mr6377368lbb.73.1436999361219; Wed, 15 Jul 2015 15:29:21 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Wed, 15 Jul 2015 15:29:20 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Wed, 15 Jul 2015 15:29:20 -0700 (PDT) In-Reply-To: <83h9p56wzy.fsf@gnu.org> References: <83oajkbkbo.fsf@gnu.org> <87h9pc575g.fsf@gnu.org> <83h9p56wzy.fsf@gnu.org> Date: Wed, 15 Jul 2015 23:29:20 +0100 X-Google-Sender-Auth: orxaCfDcYp4qWlO0AZiE_Q-3aso Message-ID: Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts From: Artur Malabarba To: Eli Zaretskii Content-Type: multipart/alternative; boundary=089e0112ca1a77d294051af17c9e X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org, Kenichi Handa X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --089e0112ca1a77d294051af17c9e Content-Type: text/plain; charset=UTF-8 > So can we close this bug, or are there any leftovers? Yes. It's enough for me. --089e0112ca1a77d294051af17c9e Content-Type: text/html; charset=UTF-8

> So can we close this bug, or are there any leftovers?

Yes. It's enough for me.

--089e0112ca1a77d294051af17c9e-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 15 22:40:39 2015 Received: (at 20984-done) by debbugs.gnu.org; 16 Jul 2015 02:40:39 +0000 Received: from localhost ([127.0.0.1]:50485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFZ6F-0006eK-B9 for submit@debbugs.gnu.org; Wed, 15 Jul 2015 22:40:39 -0400 Received: from mtaout29.012.net.il ([80.179.55.185]:44894) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFZ6D-0006e0-CI for 20984-done@debbugs.gnu.org; Wed, 15 Jul 2015 22:40:38 -0400 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NRK004007915B00@mtaout29.012.net.il> for 20984-done@debbugs.gnu.org; Thu, 16 Jul 2015 05:40:06 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NRK0027N7EUF520@mtaout29.012.net.il>; Thu, 16 Jul 2015 05:40:06 +0300 (IDT) Date: Thu, 16 Jul 2015 05:40:38 +0300 From: Eli Zaretskii Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts In-reply-to: X-012-Sender: halo1@inter.net.il To: bruce.connor.am@gmail.com Message-id: <83d1zs7rkp.fsf@gnu.org> References: <83oajkbkbo.fsf@gnu.org> <87h9pc575g.fsf@gnu.org> <83h9p56wzy.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20984-done Cc: 20984-done@debbugs.gnu.org, handa@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Wed, 15 Jul 2015 23:29:20 +0100 > From: Artur Malabarba > Cc: 20984@debbugs.gnu.org, Kenichi Handa > > > So can we close this bug, or are there any leftovers? > > Yes. It's enough for me. Thanks, closing. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 16 08:51:40 2015 Received: (at 20984) by debbugs.gnu.org; 16 Jul 2015 12:51:40 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,BAYES_50, RP_MATCHES_RCVD autolearn=disabled version=3.3.2 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 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 Received: from handa by shatin with local (Exim 4.82) (envelope-from ) id 1ZFidG-0003Bo-P7; Thu, 16 Jul 2015 21:51:22 +0900 From: handa To: bruce.connor.am@gmail.com Subject: Re: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts In-Reply-To: (message from Artur Malabarba on Wed, 15 Jul 2015 20:05:20 +0100) Date: Thu, 16 Jul 2015 21:51:22 +0900 Message-ID: <87egk85kqd.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.10 X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 20984 Cc: 20984@debbugs.gnu.org, eliz@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) 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 > > From unknown Fri Aug 15 12:52:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 14 Aug 2015 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator