To have preference for Telugu fonts and Kannada fonts, the format is like this:
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <alias> <family>sans-serif</family> <prefer> <family>Kedage</family> <family>Pothana2000</family> </prefer> </alias> <alias> <family>serif</family> <prefer> <family>Kedage</family> <family>Pothana2000</family> </prefer> </alias> <alias> <family>monospace</family> <prefer> <family>Kedage</family> <family>Pothana2000</family> </prefer> </alias> </fontconfig>
You can have the default font set for all the language like this. Note that I have changed from <accept> to <prefer>. Somehow both work tags for Telugu and only <prefer> works for Kannada.
To have preference for Telugu fonts and Kannada fonts, the format is like this:
<?xml version="1.0"?> sans-serif< /family> Kedage< /family> Pothana2000< /family> serif</ family> Kedage< /family> Pothana2000< /family> monospace< /family> Kedage< /family> Pothana2000< /family>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>
<prefer>
<family>
<family>
</prefer>
</alias>
<alias>
<family>
<prefer>
<family>
<family>
</prefer>
</alias>
<alias>
<family>
<prefer>
<family>
<family>
</prefer>
</alias>
</fontconfig>
You can have the default font set for all the language like this. Note that I have changed from <accept> to <prefer>. Somehow both work tags for Telugu and only <prefer> works for Kannada.