From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.devel Subject: Re: cairo now default? Date: Tue, 28 Jan 2020 11:21:37 +0000 Message-ID: <87blqnx1vi.fsf@yandex.com> References: <87ftfzx509.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="94430"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: , emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 28 12:22:29 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iwOwt-000OUi-U1 for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Jan 2020 12:22:27 +0100 Original-Received: from localhost ([::1]:57438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwOwt-0000zB-10 for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Jan 2020 06:22:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59594) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwOwE-0008Bc-7Q for emacs-devel@gnu.org; Tue, 28 Jan 2020 06:21:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwOwA-0001vl-8T for emacs-devel@gnu.org; Tue, 28 Jan 2020 06:21:43 -0500 Original-Received: from forward106p.mail.yandex.net ([77.88.28.109]:37490) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iwOw9-0001v5-G3 for emacs-devel@gnu.org; Tue, 28 Jan 2020 06:21:42 -0500 Original-Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward106p.mail.yandex.net (Yandex) with ESMTP id 8F0EC1C80F9F; Tue, 28 Jan 2020 14:21:39 +0300 (MSK) Original-Received: from iva3-dd2bb2ff2b5f.qloud-c.yandex.net (iva3-dd2bb2ff2b5f.qloud-c.yandex.net [2a02:6b8:c0c:7611:0:640:dd2b:b2ff]) by mxback2o.mail.yandex.net (mxback/Yandex) with ESMTP id 9hqQcLDGQA-Ld6qQFAX; Tue, 28 Jan 2020 14:21:39 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1580210499; bh=E4CYHltOBTjUrgpTgQMRfuDds3MJ7CNkjDUup+0yVsI=; h=In-Reply-To:Subject:To:From:Cc:Cc:Date:References:Message-ID; b=cpDf7I2JWMZgldbpsnZyxFi/AWywmhWstYkVSFaoUhicqV9EKTucdiEXMeizppSjo maJkK4+zysRv/jIdBF7CA+YDp343AvV+/YhDPf5EtpZPzd7dSu1A/JUtWGLXjK5rkS hLdR+o7feL4XCYvqBtamVJRyS1RUAhLvJjpS18a8= Authentication-Results: mxback2o.mail.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by iva3-dd2bb2ff2b5f.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id YGZSGZAl7A-LcXKmCcO; Tue, 28 Jan 2020 14:21:38 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Face: -P+89ASh_wrs;AUGm`!l[}/o-lyK}5W.gq\fkJ{#d6Gu,hWrZNz::iMm5PJb} __A96]-LUrl)X=uF=V|\3-\9/sXvBs/H In-Reply-To: (Robert Pluim's message of "Tue, 28 Jan 2020 11:22:36 +0100") Face: iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABmJLR0QA/wD/AP+gvaeTAAAA aklEQVQokaXSMQoCQRAEwFoDH6Om3od8myDqgeCn/MIFZ5uJhjs7MMEEBU0zLSzY6p9bK+I3DsIS 0rkXqOA17Kr4+g3fidewr+L5t7VNZ8vnEXz6uwqFTSP4OYITjiP4AdXfDqYWXgUM9w9BRfavym8k WAAAAABJRU5ErkJggg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 77.88.28.109 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244694 Archived-At: >>>>> Robert Pluim writes: >>>>> On Tue, 28 Jan 2020 10:13:58 +0000, Colin Baxter = said: Colin> I notice that ./configure configures the build to use Colin> cairo and not to use HarfBuzz. Perhaps I'm mistaken, I don't Colin> remember cairo as default. Users now have presumably to Colin> specify --without-cairo. Also I seem to recall someone here Colin> saying that HarfBuzz should be used when cairo is used. > Did configure not say that at the end? I guess you don=CA=BCt have > HarfBuzz headers installed, they're used if they're found. > configure.ac: > if test "${HAVE_CAIRO}" =3D "yes" && test "${HAVE_HARFBUZZ}" =3D > no; then AC_MSG_WARN([This configuration uses the Cairo graphics > library, but not the HarfBuzz font shaping library. We recommend > the use of HarfBuzz when using Cairo, please install HarfBuzz > development packages.]) fi > etc/NEWS: > * Installation Changes in Emacs 28.1 > ** Cairo graphics library is now used by default if found. > '--with-cairo' is now the default, if the appropriate development > files are found by 'configure'. Note that building with Cairo > means using Pango instead of libXFT for font support. Since Pango > 1.44 has removed support for bitmapped fonts, this may require you > to adjust your font settings. > Note also that 'FontBackend' settings in ".Xdefaults" or > ".Xresources", or 'font-backend' frame parameter settings in your > init files, may need to be adjusted, as 'xft' is no longer a valid > backend when using Cairo. Use 'ftcrhb' if your Emacs was built > with HarfBuzz text shaping support, and 'ftcr' otherwise. You can > determine this by checking 'system-configuration-features'. The > 'ftcr' backend will still be available when HarfBuzz is supported, > but will not be used by default. We strongly recommend building > with HarBuzz support. 'x' is still a valid backend. The configure warning: "This configuration uses the Cairo graphics library, but not the HarfBuzz font shaping library. We recommend the use of HarfBuzz when using Cairo, please install HarfBuzz development packages." occurs at the end of the list of configured options and then scrolls up disappearing from the screen before the configure command ends. It's easily missed and the user who doesn't have HarfBuzz ends up puzzled, with a working emacs but one that looks unfamiliar and ugly. If cairo has to be the default - and I don't understand why - is this going to be emphasised in the INSTALL file of the subsequent distribution? Best wishes,