From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!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: Mon, 25 Nov 2019 18:16:40 +0200 Message-ID: <83muckrkwn.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> <83wpegh3wl.fsf@gnu.org> <877e3zc5lo.fsf@gnus.org> <1ru6sxrx.321942@gmail.com> <83o8xa5w5v.fsf@gnu.org> <7e3u7pp4.fsf@invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="80535"; mail-complaints-to="usenet@blaine.gmane.org" Cc: larsi@gnus.org, 25216-done@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 Mon Nov 25 17:17:24 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iZH3D-000KoT-SE for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Nov 2019 17:17:24 +0100 Original-Received: from localhost ([::1]:46086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZH3C-0004Yz-7j for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Nov 2019 11:17:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38829) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZH2t-0004Yn-C5 for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2019 11:17:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZH2s-00032S-Ap for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2019 11:17:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZH2s-00032M-73 for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2019 11:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iZH2s-0002lo-43 for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2019 11:17:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Nov 2019 16:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 25216 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Mail-Followup-To: 25216@debbugs.gnu.org, eliz@gnu.org, 321942@gmail.com Original-Received: via spool by 25216-done@debbugs.gnu.org id=D25216.157469860410614 (code D ref 25216); Mon, 25 Nov 2019 16:17:01 +0000 Original-Received: (at 25216-done) by debbugs.gnu.org; 25 Nov 2019 16:16:44 +0000 Original-Received: from localhost ([127.0.0.1]:49597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZH2Z-0002l8-T0 for submit@debbugs.gnu.org; Mon, 25 Nov 2019 11:16:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZH2Z-0002kw-4B for 25216-done@debbugs.gnu.org; Mon, 25 Nov 2019 11:16:43 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iZH2T-0002h3-SO; Mon, 25 Nov 2019 11:16:37 -0500 Original-Received: from [176.228.60.248] (port=2468 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iZH2T-0002se-CK; Mon, 25 Nov 2019 11:16:37 -0500 In-reply-to: <7e3u7pp4.fsf@invalid> (message from Dmitry Alexandrov on Wed, 20 Nov 2019 18:01:48 +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: 209.51.188.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:172371 Archived-At: > From: Dmitry Alexandrov <321942@gmail.com> > Cc: larsi@gnus.org, 25216@debbugs.gnu.org > Date: Wed, 20 Nov 2019 18:01:48 +0300 > > Eli Zaretskii wrote: > >> > There was no response to this -- was any further progress made? > >> > >> On my side: sorry, no. I am fine with the workaround: > >> > >> Emacs.fontBackend: xft > >> > >> (in ~/.Xresources). > > > > Could you try the master branch, after making sure you have HarfBuzz installed? The xft font backend is going to be much less important starting with Emacs 27, so I'd like to know whether this problerm exists with HarfBuzz > > Yes, the problem is still here, symptoms are the same, except that Terminus is now loaded via harfbuzz: > > xfthb:-xos4-Terminus-normal-normal-normal-*-18-*-*-*-c-100-iso10646-1 > ^^ > > The same workaround works as well: > > Emacs.fontBackend: xfthb I've built the latest version 4.48 of the Terminus font on MS-Windows and tried it with Emacs 27. I couldn't reproduce the problem reported with the xft or xfthb font backends: no matter what size of the font I tried, the curly quote characters came from the same font. I do see that, since this font is bitmapped, i.e. not TrueType, Emacs on Windows uses the GDI font backend to display it, not the default HarfBuzz backend. So I think what you see is something specific to the libxft2 library. And since this discussion identified at least 2 workarounds: either customize the fontset, or force the single xft backend in .Xresources, I think this bug can be closed now. Thanks.