From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#20984: 25.0.50; Combining accents don't display properly in certain fonts Date: Sun, 5 Jul 2015 17:42:45 +0100 Message-ID: References: <83h9piwoma.fsf@gnu.org> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1436114599 4919 80.91.229.3 (5 Jul 2015 16:43:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jul 2015 16:43:19 +0000 (UTC) Cc: 20984@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 05 18:43:12 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 1ZBn0Z-0001Id-Jx for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jul 2015 18:43:11 +0200 Original-Received: from localhost ([::1]:47165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBn0Y-0004c2-Tz for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jul 2015 12:43:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBn0U-0004bv-O1 for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2015 12:43:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBn0R-0006JO-IE for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2015 12:43:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBn0R-0006JD-E9 for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2015 12:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZBn0Q-00051H-Hh for bug-gnu-emacs@gnu.org; Sun, 05 Jul 2015 12:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jul 2015 16:43: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.143611457419279 (code B ref 20984); Sun, 05 Jul 2015 16:43:02 +0000 Original-Received: (at 20984) by debbugs.gnu.org; 5 Jul 2015 16:42:54 +0000 Original-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 Original-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 Original-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== X-Received: by 10.112.210.137 with SMTP id mu9mr40501616lbc.95.1436114565469; Sun, 05 Jul 2015 09:42:45 -0700 (PDT) Original-Received: by 10.25.214.133 with HTTP; Sun, 5 Jul 2015 09:42:45 -0700 (PDT) In-Reply-To: <83h9piwoma.fsf@gnu.org> X-Google-Sender-Auth: N-ISx_PxTIbBruqgy7aouIzY2Ug 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:104738 Archived-At: 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?