From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aKgYDqAX1GHwoQAAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 10:47:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eKuzCqAX1GHFAAAAauVa8A (envelope-from ) for ; Tue, 04 Jan 2022 10:47:12 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D8C1531C04 for ; Tue, 4 Jan 2022 10:47:11 +0100 (CET) Received: from localhost ([::1]:50214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4gPO-0008LT-Bx for larch@yhetil.org; Tue, 04 Jan 2022 04:47:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4gPG-0008LL-Q4 for bug-guix@gnu.org; Tue, 04 Jan 2022 04:47:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4gPG-0007mz-Gb for bug-guix@gnu.org; Tue, 04 Jan 2022 04:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4gPG-0001OD-Dd for bug-guix@gnu.org; Tue, 04 Jan 2022 04:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52979: Modular texlive has problems finding fonts Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 04 Jan 2022 09:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52979 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jelle Licht Received: via spool by 52979-submit@debbugs.gnu.org id=B52979.16412896215334 (code B ref 52979); Tue, 04 Jan 2022 09:47:02 +0000 Received: (at 52979) by debbugs.gnu.org; 4 Jan 2022 09:47:01 +0000 Received: from localhost ([127.0.0.1]:37028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4gPF-0001Ny-Ah for submit@debbugs.gnu.org; Tue, 04 Jan 2022 04:47:01 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4gPC-0001Nm-NR for 52979@debbugs.gnu.org; Tue, 04 Jan 2022 04:46:59 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1641289616; cv=none; d=zohomail.com; s=zohoarc; b=NlPFFGa1k1gxdmYpPEPO0QrnCUI2YhwAYZdyR9RfUWIQuqmUUXaersj0L446WJv4goEazg1J8sEzIZ7jhNjjGviPUQ3aYyu6RQ0KNW05IccASQIsnRuBiiYHsy0pzmci4m5UM4R46GLt5m3fRSgFjpB2/J/o4TnANfi03ri8ckA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1641289616; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=MZ317IDHkkURofvjaEAqBKSywSnl9Urt855++J9CaWo=; b=RXyWFl1gishEoUhVD3N/oxD5lmMgFyCG8D8sL5fqv+iiGMWKMja9zl6AnNpKi/KdqnRhoPTk7VS6ywXpLkT8oz3rqMn38HZkuAJGbs4saiGEt4gFP3OIrIDh1Y5FgAxEMRwGlLWCVOlACX/WxFWxx+yOWzDw4VBufC4zryA4zaw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1641289616; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=MZ317IDHkkURofvjaEAqBKSywSnl9Urt855++J9CaWo=; b=aEWWUSRbFsK3L5drA8nL9mlFBAeaUdoER892XJQ+a+HAOsib/dxmz3D+OF39ga51 FGod/Y4OpArstGI1hfETXGwp9VuS+5lUrcO1jjxUfs13NzcA+Xu6dwdvcEIPtI5yKbl tQs5pua04UQjHHzo5CGdk/Ux7GTPnq+pYRXMWULs= Received: from localhost (p54ad4c55.dip0.t-ipconnect.de [84.173.76.85]) by mx.zohomail.com with SMTPS id 1641289614583384.26690192837304; Tue, 4 Jan 2022 01:46:54 -0800 (PST) References: <86k0fg3i9y.fsf@fsfe.org> <86ee5o3g1t.fsf@fsfe.org> <87zgocdjkl.fsf@elephly.net> User-agent: mu4e 1.6.10; emacs 27.2 From: Ricardo Wurmus Date: Tue, 04 Jan 2022 10:19:29 +0100 In-reply-to: <87zgocdjkl.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87v8yzestw.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 52979@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641289632; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MZ317IDHkkURofvjaEAqBKSywSnl9Urt855++J9CaWo=; b=YD+xdBmm+ojwWqZJCG1bvp74/+Jqlz9XKs6oaUREjP5B7iBkcngL/cWi9cd2itDA8v1+hz neSmBeLWch3nChKFVQJbuDvzNfInvQmHU98BY+DBrkG6NgskexW9FAnXVR8pSWaVHITtPM ZweyF9255VBvYB1RAFyqaoydHO0t1EMId9sGbl20ShPY2fYDy8gc7TC4ypGlrpIEwzyTIa lPwsdBzkq6vAH1WSOft4vziDUYupeTBDbsqApV+fESc+It2nT9xxaiDURDP9Zb0NmXp20J A5pZWXLHKXvTU4UTacL5bWyurYbx2kxVCdNSHNRsXnE7qBfQ6e5SBlpJS9WCuA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1641289632; a=rsa-sha256; cv=fail; b=LpQf+EGNv84+INJRQ3HwgEkkyqaLXaOpqDmPuvim7UAhCT5OJki4o5J7iZoE/ivIkkz16V ezeJQKlUUA6PebSBUk2ZsI+xnKj1WlswpkOKXWIQo9hNaI/uKJrXzGK5L3Nn99K9Ido2ll NARhee+5nuUQY0F8JsnD4tNL7vqtoQbSYfBlgQR6ucFT4nhIMMafun+0r68muLzgV/ihyO lsGfOmaLke3iBDIU3TzejZkL7uxpELl3b226SYfvMdK9SdgHekZgKnsXU4Uws1rlUqF4Og e3OuztBAwjrhBqQ0+JsByNfO1QJhfEKnkBM2eUqZWV7kGKNe8LJoxCAOO+rzyw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=aEWWUSRb; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=aEWWUSRb; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D8C1531C04 X-Spam-Score: -1.09 X-Migadu-Scanner: scn1.migadu.com X-TUID: rKEIN0of9oSA Ricardo Wurmus writes: > Jelle Licht writes: > >> We can disable this optimisation by setting ST_NLINK_TRICK at compile >> time. > > That=E2=80=99s what I did, and it does let kpathsea traverse all the font= s. > Unfortunately, in my tests it does not fix pdflatex. It does, however, > fix xelatex. > > Debbugging output suggests that pdflatex encounters the font file > cmr10.tfm, but for some unknown reason doesn=E2=80=99t seem to be satisfi= ed with > it. It finds cmr10.tfm and then later proceeds to search (with =E2=80=9Cmust_exist=3D1=E2=80=9D) for bitmap fonts such as dpi656/cmr10.pk = (cmr10.656pk) or dpi659/cmr10.pk (cmr10.659pk). That=E2=80=99s how it fails: !pdfTeX error: pdflatex (file cmr10): Font cmr10 at 657 not found 657 is the resolution. The other sizes are due to KPSE_BITMAP_TOLERANCE; it will also search for alternatives whose resolution is close enough to the intended size. I wonder why it bothers with bitmap fonts at all. And why it looks for this really odd resolution. We have texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.pk. Why doesn=E2=80=99t = it look for a font with resolution 600? The resolution 657 must have been computed somewhere. --=20 Ricardo