From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25216: 26.0.50 [regression]; Curly quotes are not found in some sizes of =?UTF-8?Q?=E2=80=98Terminus=E2=80=99?= font Date: Sat, 31 Dec 2016 10:57:30 +0200 Message-ID: <83wpegh3wl.fsf@gnu.org> References: <87bmwbv038.fsf@gmail.com> <83lgvf6kar.fsf@gnu.org> <871sx6vr1u.fsf@gmail.com> <83inqi7r8t.fsf@gnu.org> <87wpewtxne.fsf@gmail.com> <83bmw860rw.fsf@gnu.org> <8760mgigx7.fsf@gmail.com> <834m1z6gkp.fsf@gnu.org> <87inqfz52f.fsf@gmail.com> <838trb46jg.fsf@gnu.org> <87k2agfxq2.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1483174695 22010 195.159.176.226 (31 Dec 2016 08:58:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 31 Dec 2016 08:58:15 +0000 (UTC) Cc: 25216@debbugs.gnu.org To: Dmitry Alexandrov <321942@gmail.com> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 31 09:58:10 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cNFUO-0004nl-SY for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Dec 2016 09:58:08 +0100 Original-Received: from localhost ([::1]:43010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNFUT-000503-RP for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Dec 2016 03:58:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNFUN-0004zh-EH for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 03:58:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNFUI-0002jx-F9 for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 03:58:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45443) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cNFUI-0002jr-BK for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 03:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cNFUI-0003k1-5E for bug-gnu-emacs@gnu.org; Sat, 31 Dec 2016 03:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Dec 2016 08:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25216 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25216-submit@debbugs.gnu.org id=B25216.148317466314350 (code B ref 25216); Sat, 31 Dec 2016 08:58:02 +0000 Original-Received: (at 25216) by debbugs.gnu.org; 31 Dec 2016 08:57:43 +0000 Original-Received: from localhost ([127.0.0.1]:60842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cNFTz-0003jO-Al for submit@debbugs.gnu.org; Sat, 31 Dec 2016 03:57:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cNFTx-0003j9-5g for 25216@debbugs.gnu.org; Sat, 31 Dec 2016 03:57:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNFTm-0002ds-TW for 25216@debbugs.gnu.org; Sat, 31 Dec 2016 03:57:35 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNFTm-0002do-Pw; Sat, 31 Dec 2016 03:57:30 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3912 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cNFTl-0001r2-UL; Sat, 31 Dec 2016 03:57:30 -0500 In-reply-to: <87k2agfxq2.fsf@gmail.com> (message from Dmitry Alexandrov on Sat, 31 Dec 2016 08:56:21 +0300) 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.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:127617 Archived-At: > From: Dmitry Alexandrov <321942@gmail.com> > Cc: 25216@debbugs.gnu.org > Date: Sat, 31 Dec 2016 08:56:21 +0300 > > >> > And I still don't understand why you need that. AFAICS, Emacs > >> > explicitly tries to use the default font for punctuation and symbol > >> > characters before falling back on looking up other fonts. > >> > >> Do you mean that you could not reproduce this? > > > > It means I don't understand how it could happen. The function > > face_for_char (defined in fontset.c) explicitly tries the current > > default font for any punctuation and symbol character, before it > > starts looking in other fonts. I don't understand why this fails for > > you, and only in certain font sizes on top of that. Perhaps you could > > step through that code with a debugger and see what happens there? > > Well. font_has_char of font.c:2989 returns 0 ← xftfont_has_char of xftfont.c:532 returns 0 ← XftCharExists of libXft.so.2 returns 0. > > So the problem goes into libxft2. Thanks for digging into this. So in this case libxft2 says that character is not available, whereas in fact it is? Or did I misunderstand?