Subhadip's Blog

My experience with the computing world!

Fix for incorrect rendering of Indic fonts in Firefox on Debian

Debian Stretch, the current stable release of Debian now comes with Firefox ESR 60. One strange issue I have noticed with the out of the box configuration of Firefox on Debian is that it does not correctly render the Indic fonts on the websites. Most notable issue is that it breaks the connected letters while showing. Here's how I fixed it.

  1. Install the fonts-indic package.
    sudo apt install fonts-indic

  2. Now open Firefox and go to Preferences > General > Language and Appearance > Fonts & Colors and click on Advanced. Select the language you want to set fonts for from the "Fonts for" dropdown and select fonts with your specific language support for Serif and Sans-serif fonts, click Ok.

    Here's how my settings looks like:

    indic-fonts-firefox-debian.png

Click here to load the comments. By clicking you agree to the Disqus privacy policy.