Hi Laura,

Laura Arjona Reina <larj...@debian.org> wrote (Tue, 17 Sep 2024 00:18:10 +0200):
> I guess that with the new version of fonts-sil-charis the fonts should 
> be named differently in the .dbk files (CharisSIL-Regular and 
> CharisSIL-BoldItalic, see e.g. 
> https://salsa.debian.org/ddp-team/debian-faq/-/commit/cdc7bc5f69311b36a0b56a10b1c54cf594eedd0a
>  
> ), I have no idea about the fix for the "nullfont" issue but it seems 
> that fixing the other ones, this also disappears.

There was a problem with the dblatex toolchain at some time, and Norbert
Preining provided us a patch as solution/workaround.
With this patch the fonts were switched to these CharisSIL fonts.
Or with other words, we used other fonts by default before.
We could go back to this situation, which would mean to revert
https://salsa.debian.org/ddp-team/release-notes/-/commit/afd581e8e551f390a59839c7cee8bb2e9c2deae2

I have tested this on my bookworm machine here, and the reason is (sadly),
that it fails with

--------snip--------------
Build stdin.pdf
xelatex failed
stdin.tex:25: Package fontspec Error: The font "URW Palladio L" cannot be found.
stdin.tex:25: leading text: \setsansfont
stdin.tex:25: Package fontspec Error: The font "URW Palladio L" cannot be found.
stdin.tex:25: leading text: \setsansfont
stdin.tex:25: Package fontspec Error: The font "URW Palladio L" cannot be found.
stdin.tex:25: leading text: \setsansfont
stdin.tex:25: Font TU/URWPalladioL(0)/m/n/10="URW Palladio L" at 10.0pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:25: leading text: \setsansfont
stdin.tex:62: Font TU/URWPalladioL(0)/m/n/7="URW Palladio L" at 7.0pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:62: leading text: \lstsetup
stdin.tex:62: Font TU/URWPalladioL(0)/m/n/5="URW Palladio L" at 5.0pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:62: leading text: \lstsetup
stdin.tex:62: Font TU/URWPalladioL(0)/m/n/9="URW Palladio L" at 9.0pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:62: leading text: \lstsetup
stdin.tex:62: Font TU/URWPalladioL(0)/m/n/6="URW Palladio L" at 6.0pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:62: leading text: \lstsetup
stdin.tex:92: Font TU/URWPalladioL(0)/m/n/17.28="URW Palladio L" at 17.28pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:92: leading text: \maketitle
stdin.tex:92: Font TU/URWPalladioL(0)/b/n/10="URW Palladio L" at 10.0pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:92: leading text: \maketitle
stdin.tex:92: Font TU/URWPalladioL(0)/m/n/12="URW Palladio L" at 12.0pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:92: leading text: \maketitle
stdin.tex:92: Font TU/URWPalladioL(0)/m/n/8="URW Palladio L" at 8.0pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:92: leading text: \maketitle
stdin.tex:92: Font TU/URWPalladioL(0)/b/n/9="URW Palladio L" at 9.0pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:92: leading text: \maketitle
stdin.tex:92: Font TU/URWPalladioL(0)/m/it/10="URW Palladio L" at 10.0pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:92: leading text: \maketitle
stdin.tex:93: Font TU/URWPalladioL(0)/m/n/24.88="URW Palladio L" at 24.88pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:93: leading text: \tableofcontents
stdin.tex:93: Font TU/URWPalladioL(0)/b/n/24.88="URW Palladio L" at 24.88pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:93: leading text: \tableofcontents
stdin.tex:100: Font TU/URWPalladioL(0)/m/n/20.74="URW Palladio L" at 20.74pt 
not loadable: Metric (TFM) file or installed font not found.
stdin.tex:100: leading text: \chapter{Einführung}
stdin.tex:100: Font TU/URWPalladioL(0)/b/n/20.74="URW Palladio L" at 20.74pt 
not loadable: Metric (TFM) file or installed font not found.
stdin.tex:100: leading text: \chapter{Einführung}
stdin.tex:116: Font TU/URWPalladioL(0)/m/sc/10="URW Palladio L" at 10.0pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:116: leading text: \begin{DBKadmonition}{caution}{Achtung}
stdin.tex:116: Font TU/URWPalladioL(0)/m/sc/12="URW Palladio L" at 12.0pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:116: leading text: \begin{DBKadmonition}{caution}{Achtung}
stdin.tex:136: Font TU/URWPalladioL(0)/m/n/14.4="URW Palladio L" at 14.4pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:136: leading text:  W
stdin.tex:136: Font TU/URWPalladioL(0)/b/n/14.4="URW Palladio L" at 14.4pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:136: leading text:  W
stdin.tex:291: Font TU/URWPalladioL(0)/b/n/12="URW Palladio L" at 12.0pt not 
loadable: Metric (TFM) file or installed font not found.
stdin.tex:291: leading text:    D
Unexpected error occured
Error: xelatex compilation failed
make: *** [Makefile:216: de/release-notes.amd64.pdf] Fehler 1
------snap-----------

So it now tries to use other fonts, but fails in the same way at the end.

Thus, there is something different badly broken here, not the fonts itself...


> I am not sure about the best path to follow, maybe just disable the 
> builds of release-notes for bullseye when we upgrade www-master to 
> bookworm? (We would still offer the already built files but I'm not sure 
> about the lifecycle of the release notes and possible changes/updates 
> during LTS).

Since I fear we won't get a fix for this from dblatex/xetex maintainers resp.
upstream for this special situation (bullseye buildchain on bookworm machine)
I think it would be the best solution, to disable PDF for all languages for
bullseye. Not perfect, but probably the best we can get.
That way we would at least get up-to-date html versions in case of late
changings, but hey - this is only for LTS period of oldstable and should 
therefore be acceptable.


Holger



-- 
Holger Wansing <hwans...@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

Reply via email to