Instale o pacote ttf-malayalam-fonts
( fonts-mlym
no 16.04+), se ainda não o fez. Em seguida, crie o arquivo ~/.config/fontconfig/conf.d/10-prefer-malayalam.conf
com o seguinte conteúdo:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Lohit Malayalam</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Lohit Malayalam</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Lohit Malayalam</family>
</prefer>
</alias>
</fontconfig>