From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Emacs 28: Specific TTF font gets loaded with font-backend x instead of ftcrhb Date: Wed, 05 Feb 2020 17:51:34 +0100 Message-ID: <874kw50yg9.fsf@gnu.org> References: <87pneu1u9e.fsf@gnu.org> <87h8061pcr.fsf@gnu.org> <87d0au1lih.fsf@gnu.org> <87mu9yi4pj.fsf@gnu.org> 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="58590"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Robert Pluim Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 05 17:52:00 2020 Return-path: Envelope-to: geh-help-gnu-emacs@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 1izNuB-000F4u-Bq for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 Feb 2020 17:51:59 +0100 Original-Received: from localhost ([::1]:52730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izNuA-0008MW-Cl for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 Feb 2020 11:51:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51163) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izNtp-0008ME-Kt for help-gnu-emacs@gnu.org; Wed, 05 Feb 2020 11:51:38 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1izNtp-0001bB-Gc; Wed, 05 Feb 2020 11:51:37 -0500 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:35797) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1izNtp-00089a-2o; Wed, 05 Feb 2020 11:51:37 -0500 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id A5D7D22085; Wed, 5 Feb 2020 11:51:36 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 05 Feb 2020 11:51:36 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrhedugdeludcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufhffjgfkfgggtgfgsehtqhertddtreejnecuhfhrohhmpefvrghsshhi lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuffhomhgrihhnpehkihhloh gsihhtshhpvghrshgvtghonhgurdgtohhmnecukfhppedufeegrdduudelrddvgedrudel heenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthh horhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedq ieefhedvleekqdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: from jiffyarch (j289989.servers.jiffybox.net [134.119.24.195]) by mail.messagingengine.com (Postfix) with ESMTPA id 020B73060701; Wed, 5 Feb 2020 11:51:35 -0500 (EST) Mail-Followup-To: Robert Pluim , help-gnu-emacs@gnu.org In-Reply-To: (Robert Pluim's message of "Tue, 04 Feb 2020 21:11:57 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122356 Archived-At: Robert Pluim writes: Hi Robert, > Not that I know of, as far as I know it just does the moral equivalent > of 'fc-cache' somewhere. Seems so. On my work computer I removed the system package and then just copied the JetBrainsMono ttf files to /usr/share/fonts/TTF/, and then it worked just fine... > Tassilo> Hm, another minor thing: when I compare the rendering of > Tassilo> the above paragraph in gedit and emacs, there are slight > Tassilo> differences for some glyphs. For example, the F in TTF > Tassilo> is slightly higher than the Ts, and the y is slightly > Tassilo> lower than, e.g., an a or o. In gedit, their height is > Tassilo> equal. > > That sounds like there are hinting differences. Cairo doesn=CA=BCt always > obey the Gnome Tweaks hinting settings. The following might help: > Hm, I've tried creating the ~/.config/fontconfig/fonts.conf below which looks like the equivalent of the GNOME settings (I tested with and without the lcdfilter because that's not visible there) but the issue persists. --8<---------------cut here---------------start------------->8--- true true hintfull rgb lcddefault --8<---------------cut here---------------end--------------->8--- Bye, Tassilo