I upgraded one of my systems from Debian Bullseye to Bookworm and it broke the font rendering. So far the best fix I have found is to create a font config to prefer the DejaVu family of fonts, as pointed out by Konomi here:
/etc/fonts/local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd" >
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>DejaVu Serif</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>DejaVu Sans</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>DejaVu Sans Mono</family>
</prefer>
</alias>
</fontconfig>
…and then run fc-cache -r and reboot.
Posted in
note to self
2023-10-02 12:04 UTC