As I kind of rushed the fix for this here is what I am sure should be
the most correct way to fix this issue. If you want to change the
fonts system wide create /etc/fonts/local.conf for your user only
~/.config/fontconfig/fonts.conf and put the following in the file:

<?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>

The /etc/fonts/conf.d/50-prefer-dejavu.conf file can be removed as
that's not where the config should be located (best practice as far as
I know is the paths in this post). Sorry for the noise and I hope this
helps everyone affected.

Reply via email to