Das Problem steckte in der Bibliothek "poppler" und der Konfiguration des Tools "fontconfig".
Mit poppler Version 21.11.0 (die es ab Ubuntu 22.04 gibt) und einer manuellen fontconfig-Konfigurationsdatei bekommt man hübsche Kontoauszüge, auch ohne die PDFs zu bearbeiten.
Legt auf Ubuntu 22.04 die Datei "/etc/fonts/conf.d/99-monospace.conf" mit folgendem Inhalt an:
1 2 3 4 5 6 7 8 9 10 11 12 | <?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <fontconfig> <match target="pattern"> <test name="spacing"> <int>100</int> </test> <edit name="family" mode="prepend"> <string>monospace</string> </edit> </match> </fontconfig> |
Dann noch den Font-Cache leeren:
1 | $ fc-cache -f -v |
Details habe ich in meinem Blog beschrieben.