From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#24560: 25.1; With `--font 7x13', wrong font is used for Unicode characters Date: Sun, 17 Nov 2019 19:33:46 +0100 Message-ID: <87pnhq4ak5.fsf@gnus.org> References: <87zims7zlk.fsf@home.thecybershadow.net> <87o8xbc6j2.fsf@gnus.org> <83h8325vql.fsf@gnu.org> <875zji79lh.fsf@gnus.org> <83eey65t4v.fsf@gnu.org> <8736em5qrh.fsf@gnus.org> <831ru65pik.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="43232"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 24560@debbugs.gnu.org, thecybershadow@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 17 19:35:18 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 1iWPOG-000B1d-3s for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Nov 2019 19:35:16 +0100 Original-Received: from localhost ([::1]:55520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWPOE-0004KT-Sw for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Nov 2019 13:35:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46952) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWPO6-0004K7-Pv for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 13:35:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWPO5-0007V6-HM for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 13:35:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33773) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iWPO2-0007TW-Ot for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 13:35:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iWPO2-0004bh-I6 for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 13:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Nov 2019 18:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24560 X-GNU-PR-Package: emacs Original-Received: via spool by 24560-submit@debbugs.gnu.org id=B24560.157401564517642 (code B ref 24560); Sun, 17 Nov 2019 18:35:02 +0000 Original-Received: (at 24560) by debbugs.gnu.org; 17 Nov 2019 18:34:05 +0000 Original-Received: from localhost ([127.0.0.1]:42594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWPN6-0004aU-N5 for submit@debbugs.gnu.org; Sun, 17 Nov 2019 13:34:05 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:52040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWPN1-0004Zw-Lg for 24560@debbugs.gnu.org; Sun, 17 Nov 2019 13:34:03 -0500 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iWPMp-0000of-DS; Sun, 17 Nov 2019 19:33:51 +0100 In-Reply-To: <831ru65pik.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 17 Nov 2019 20:25:23 +0200") 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:171837 Archived-At: Eli Zaretskii writes: >> From: Lars Ingebrigtsen >> Cc: thecybershadow@gmail.com, 24560@debbugs.gnu.org >> Date: Sun, 17 Nov 2019 18:58:26 +0100 >>=20 >> So if somebody says explicitly --without-xft, then HAVE_XFT won't be >> "yes", and we set HAVE_FREETYPE to "no" without checking. And harfbuzz >> depends on HAVE_FREETYPE being "yes", so harfbuzz depends on xft being >> available, too. >>=20 >> Is this correct behaviour? > > Maybe I'm simply misremembering, and HarfBuzz does need xft. I hacked the configure script to just say diff --git a/configure.ac b/configure.ac index 0976b665e6..d42f530407 100644 --- a/configure.ac +++ b/configure.ac @@ -3399,6 +3399,9 @@ AC_DEFUN fi fi # $HAVE_CAIRO !=3D yes =20 + EMACS_CHECK_MODULES([FREETYPE], [freetype2]) + test "$HAVE_FREETYPE" =3D "no" && AC_MSG_ERROR(libxft requires libfreety= pe) + HAVE_LIBOTF=3Dno if test "${HAVE_FREETYPE}" =3D "yes"; then AC_DEFINE(HAVE_FREETYPE, 1, to force Does Emacs use HarfBuzz? yes Does Emacs use -lm17n-flt? yes Does Emacs use -lotf? yes Does Emacs use -lxft? no and compilation does indeed fail: In file included from ftfont.c:46: ftfont.h:77:3: error: unknown type name =E2=80=98XftFont=E2=80=99 XftFont *xftfont; ^~~~~~~ >> In addition, I think the configure script should fail if you say >> --with-harfbuzz and harfbuzz isn't available. > > Probably. I've now added that, at least. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no