#1119911 texlive: some fonts can no longer be found (like Dejavu)

#1119911#5
Date:
2025-11-02 10:06:48 UTC
From:
To:
With the latest texlive, debian-refcard fails to build, apparently due to somehow
changed package dependencies or files moved around within the texlive ecosystem.

With the version in Trixie 2024.20250309-1 everything was fine, now with
2025.20250927-4 I have to add "texlive-full" to the Depends in refcard, to make
it build again (see https://salsa.debian.org/holgerw/refcard/-/pipelines/967141.
BTW: The pipeline still fails with reprotest test, but that's another issue
I think).

As can be seen in https://salsa.debian.org/holgerw/refcard/-/jobs/8537781
it complains about missing fonts:
---------------------------------------------------------
refcard-es.dbk.tex:777: Font TU/DejaVuSansMono(0)/m/n/7="DejaVu Sans Mono" at 7.0pt not loadable: Metric (TFM) file or installed font not found.
6271
refcard-es.dbk.tex:777: leading text: .../www.debian.org/doc/user-manuals#refcard}
6272
refcard-es.dbk.tex:777: \textfont 0 is undefined (character h).
6273
refcard-es.dbk.tex:777: leading text: .../www.debian.org/doc/user-manuals#refcard}
6274
refcard-es.dbk.tex:777: \textfont 0 is undefined (character t).
6275
refcard-es.dbk.tex:777: leading text: .../www.debian.org/doc/user-manuals#refcard}
6276
refcard-es.dbk.tex:777: \textfont 0 is undefined (character t).
6277
[...]
refcard-es.dbk.tex:777: \textfont 0 is undefined (character d).
6365
refcard-es.dbk.tex:777: leading text: .../www.debian.org/doc/user-manuals#refcard}
6366
Unexpected error occured
6367
Error: xelatex compilation failed
---------------------------------------------------------

Have font files been moved around in other texlive packages or similar?
Adding texlive-full to the dependencies makes the fonts available again, but
this adds a huge more of packages to the build pipeline, so it seems a massive
waste of ressources doing this.

I tried to go with just adding texlive-fonts-extra, but that's not enough...
Something is still missing.

Any help how to find out, what's missing or similar would be great.


Holger

#1119911#10
Date:
2025-11-02 18:34:35 UTC
From:
To:
Hilmar

02.11.2025 11:09:45 Holger Wansing <hwansing@mailbox.org>:

#1119911#15
Date:
2025-11-02 19:35:56 UTC
From:
To:
Most probably the links in the telxive-fonts-extra package are incorrect
and dangling now.
This happens at times when the actual font files of depending packages
move around in the file system, but linked into the texmf-dist tree.

Best regards

Norbert

#1119911#20
Date:
2025-11-02 22:11:39 UTC
From:
To:
I guess you think about
i would not expect that installing texlive-full solves the issue.

02.11.2025 22:06:11 Norbert Preining <preining@logic.at>:

#1119911#25
Date:
2025-11-17 21:26:01 UTC
From:
To:
Hi,

Hilmar Preuße <hille42@web.de> wrote (Sun, 2 Nov 2025 23:11:39 +0100 (GMT+01:00)):

I have fixed that for me now by switching from Dejavu to Freefont fonts
in Debian refcard.
So only some fonts are affected, like Dejavu (and maybe others, not sure).

Holger

#1119911#32
Date:
2026-06-04 17:57:53 UTC
From:
To:
Debian release-notes also ran into a similar issue, looks it's the same
reason in the underground.
dblatex cannot find its CharisSIL fonts anymore, when running on a trixie
system (was ok on bookworm).

See
https://lists.debian.org/debian-www/2026/06/msg00001.html


I fixed/workarounded that by switching from CharisSIL to FreeFont fonts.


Holger