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: Tue, 04 Feb 2020 19:32:08 +0100 Message-ID: <87mu9yi4pj.fsf@gnu.org> References: <87pneu1u9e.fsf@gnu.org> <87h8061pcr.fsf@gnu.org> <87d0au1lih.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="81049"; 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 Tue Feb 04 19:32:38 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 1iz302-000Kuk-A9 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 04 Feb 2020 19:32:38 +0100 Original-Received: from localhost ([::1]:35862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz301-0007GZ-Cx for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 04 Feb 2020 13:32:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44665) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz2ze-0007GS-K9 for help-gnu-emacs@gnu.org; Tue, 04 Feb 2020 13:32:15 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iz2zc-0007NK-L6; Tue, 04 Feb 2020 13:32:12 -0500 Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:40027) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1iz2zc-0003LN-Ay; Tue, 04 Feb 2020 13:32:12 -0500 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id AD4E520A3C; Tue, 4 Feb 2020 13:32:11 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 04 Feb 2020 13:32:11 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrgeelgddutdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhi lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuffhomhgrihhnpehunhguvg hrrdhlohgtrghlpdgrrhgthhhlihhnuhigrdhorhhgnecukfhppeelfedrvdefiedrudef jedrudeifeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhorhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeek jeekgedqieefhedvleekqdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfh hm X-ME-Proxy: Original-Received: from thinkpad-t440p (p5dec89a3.dip0.t-ipconnect.de [93.236.137.163]) by mail.messagingengine.com (Postfix) with ESMTPA id 046C9328005E; Tue, 4 Feb 2020 13:32:09 -0500 (EST) In-Reply-To: (Robert Pluim's message of "Tue, 04 Feb 2020 17:26:50 +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:122346 Archived-At: Robert Pluim writes: Hi Robert, I've now tried at home with my own computer (also running Arch) and got the same issue so it is at least not machine specific. > Could you try uninstalling the system package, and installing the > 1.0.2 version using the fonts tool? Just open the font(s) from your > file manager, and there will be an 'install' button at the top right > which will copy it somewhere under ~/.local/ rather than the system > directories. I did that, and now it works just fine. Is there something different (except for the location) when installing a font by just copying the ttf files to /usr/share/fonts/TTF/ and installing them with the Fonts tool? I mean, now it works with the very same ttf files I've previously copied to /usr/share/fonts/TTF/ (replacing the files installed by the Arch package). Hm, another minor thing: when I compare the rendering of the above paragraph in gedit and emacs, there are slight differences for some glyphs. For example, the F in TTF is slightly higher than the Ts, and the y is slightly lower than, e.g., an a or o. In gedit, their height is equal. > Tassilo> Not that I know of but I'm no font config expert. > Tassilo> Usually, it just works... > > I took a look at the Arch jetbrainsmono-1.0.1 package, and it wants to > install 'xorg-bdftopcf', which is used for converting fonts from > bitmap formats, which is somewhat strange for a TTF font. I think that's an indirect dependency of xorg-font-utils but I don't know why that is needed. I think, it isn't. At least the installation recipe just says "copy the TTF files to /usr/share/fonts/TTF/ and make them readable". https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/ttf-jetbrains-mono Bye, Tassilo