From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mGn6F0sk1GGt8gAAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 11:41:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EMylFEsk1GHnEwEAauVa8A (envelope-from ) for ; Tue, 04 Jan 2022 11:41:15 +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 CF7F421B51 for ; Tue, 4 Jan 2022 11:41:14 +0100 (CET) Received: from localhost ([::1]:48428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4hFh-00041h-W9 for larch@yhetil.org; Tue, 04 Jan 2022 05:41:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4hFX-00041K-3q for bug-guix@gnu.org; Tue, 04 Jan 2022 05:41:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53752) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4hFW-000753-OX for bug-guix@gnu.org; Tue, 04 Jan 2022 05:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4hFW-0002jR-Ea for bug-guix@gnu.org; Tue, 04 Jan 2022 05:41: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 10:41: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.164129281110427 (code B ref 52979); Tue, 04 Jan 2022 10:41:02 +0000 Received: (at 52979) by debbugs.gnu.org; 4 Jan 2022 10:40:11 +0000 Received: from localhost ([127.0.0.1]:37065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4hEg-0002i7-Td for submit@debbugs.gnu.org; Tue, 04 Jan 2022 05:40:11 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21195) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4hEc-0002hs-4j for 52979@debbugs.gnu.org; Tue, 04 Jan 2022 05:40:10 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1641292801; cv=none; d=zohomail.com; s=zohoarc; b=bndSZap3uc/2wrzqZeyEh8Ho/HJeO1iA6gW519jY9VGVeBg/4dDrw39vtn85Jhles7+zUMHG1LQGrM5tp+28LqVVRIavFyTFbsRzkQ+/ZdCy+aGio9Nd99py5E7ibgVoO9KJmD9f78Ricze7bDksq0MWxDQACWc9prpl9IQCivw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1641292801; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=26UjmA9qLacLKPeBmABb4YTDxkCcVj9JIN4tN358w/w=; b=FDjFnR8vUwcGZI8rdBdxLOxdZR3kpPEu3A6uVxmR39zgEcWto/sSiXMOXok0z+loUSE7p5/KRxWbV5AgDzic5vVIW8MU3M2/+yRCXZtaLGaoqq5v+GVBIiWI9xnvmJBsL8uCIY01MfT/iZjiqCCBoXNDAwzn42amFDALLkuq5N8= 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=1641292801; 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=26UjmA9qLacLKPeBmABb4YTDxkCcVj9JIN4tN358w/w=; b=Q7V+u07N30MDZ42b3qJYNKszxzLCwaG/WH/GY3VidcJyca9PAaFdsEC5v1QxTfne 5GbPjlVGIY0w3eziTwalVvnHJxPK5wRWtaFNWhD++6rvh4pN6kwgG78scPlu/c1Gwmo nK2//cwzl+jeHCLjRgusgI+mAS42qk54VjX9+iy4= Received: from localhost (p54ad4c55.dip0.t-ipconnect.de [84.173.76.85]) by mx.zohomail.com with SMTPS id 164129279848392.83691208288099; Tue, 4 Jan 2022 02:39:58 -0800 (PST) References: <86k0fg3i9y.fsf@fsfe.org> <86ee5o3g1t.fsf@fsfe.org> <87zgocdjkl.fsf@elephly.net> <87v8yzestw.fsf@elephly.net> User-agent: mu4e 1.6.10; emacs 27.2 From: Ricardo Wurmus Date: Tue, 04 Jan 2022 10:58:43 +0100 In-reply-to: <87v8yzestw.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: <87r19neqdh.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=1641292875; 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=26UjmA9qLacLKPeBmABb4YTDxkCcVj9JIN4tN358w/w=; b=GF+hKtuNQy7TTor9WGri8WBHEztYLqlOrqNsmmr7k/FV+hAh/HaTaADBy332gI14ZBYVcx nV5fDU2gm6ei0zldJBnX+Xf/XAzSbVT9ITFds9NH+NJuqZXl3RsGg8Vfd3Oxj11mbjCOC8 LI8uFNnt9L2GCyacRiu0Dj04ekkHvcD82mndaUSs+qFQl+Dqq9WJ7dc1MUpVXu4ru6QsW/ 0JwQmSDPn7qcEqmNeVpp4spi+B3qiQB6ADUiEus7bxUf/o8DYuWciBdm2sSGzNi0jKIU53 Fa/JzqyOWMr4k9pk2Ir6XV2mtgriNfAaKQT+ANWN9XjZrPdsRN8UQ7ZnbWxf8Q== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1641292875; a=rsa-sha256; cv=fail; b=QuyutszVAom0dTOMXyUozqBR/iYbnpx+7ZKvNUxrcptT/IVUlbtLIzN2Q/3MzZTps0OOXk fx9OitZWQl6HLF/lxTDX03N4eThaspCMsQiR+pvRLGPbHTqWO4j0SpKL3qsLD0+flAYjzb agCuaXFPOej0YL6nOUfhPo3KWsyEQ8cx7+lHMbuZn9jyqq1SCHcg2vnsYFGMI33vZbneIm fiLuWJDbqADVGnzwd/N3mVGLkNy867oqqx9olSimufMpzacz6SiThgTXiCYXlgLIzeVFad fNbtvPMoVu0wWPp3ZxiVaBB8tLBMcCR7huJkt75p6+A7txmdHXIWKP4K7S7Ulg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=Q7V+u07N; 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=Q7V+u07N; 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: CF7F421B51 X-Spam-Score: -1.09 X-Migadu-Scanner: scn1.migadu.com X-TUID: sfb35ENuVcvF Ricardo Wurmus writes: > 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 fon= ts. >> 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 satisf= ied 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.p= k (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. Still wondering, but=E2=80=A6. > 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=99= t it > look for a font with resolution 600? The resolution 657 must have been > computed somewhere. =E2=80=A6this mystery is solved. This document works: --8<---------------cut here---------------start------------->8--- \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \begin{document} Hello frienderino's \end{document} --8<---------------cut here---------------end--------------->8--- But this one doesn=E2=80=99t: --8<---------------cut here---------------start------------->8--- \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \begin{document} Hello frienderino's \end{document} --8<---------------cut here---------------end--------------->8--- A font size of 10pt is also fine. When a font size of 11pt is requested, however, it probably computes a different DPI value and tries to find matching bitmap fonts of that size. It should just generate new fonts then, but I guess mktexpk and all those tools need to patch their invocations of sed and awk. So, two things to do here: 1) patch mktexpk, mktexnam, mktexnam.opt, share/texmf-dist/web2c/mktexupd, et al to find =E2=80=9Csed=E2=80=9D and = =E2=80=9Cawk=E2=80=9D. 2) figure out why pdflatex tries to use bitmap fonts at all when other files exist. --=20 Ricardo