Fix Nepali (Devnagari) texts display problem on Ubuntu

Everytime, I viewed contents with Nepali texts in Unicode in Ubuntu, mostly in browsers, may it be Firefox or Chrome/Chromium and even inside Libre Office applications, the texts failed to display properly.

I didn’t mind it as much. Until today, which caused problems when I had to type some serious stuffs in Nepali and it was very important to have correct display on the screen.

First, I guessed it was the encoding error and tried to change to different view for each page with Nepali (Devnagari) scripts, none of them solved the issue. Some google search also didn’t help much.

I eventually thought there is font rendering issue and decided to download and install fonts/packages manually.

I searched Nepali unicode fonts packages with

sudo apt-cache search nepali

(Make sure to do apt-get update before)

And there all these fonts packages displayed. I installed only these with:
sudo apt-get install language-pack-ne language-pack-ne-base mythes-ne ttf-devanagari-fonts libreoffice-l10n-ne

After reload browser (or you can  reboot), the problem was solved. Check this display before and after.

Before Broken Display
Before Nepali display broken
After Display fixed
After Display Fixed Nepali fonts

PS: This works  even without Nepali Language support installed.

If you want to install Nepali language support  (All Settings>>Language Support>>Install/Remove Langauges>>Nepali (tick)>>Apply Changes

Running locale -a shows these both at the bottom.

ne_NP
ne_NP.utf8

I tested this on Ubuntu 14.04 but should work on other Ubuntu versions and any Linux distros with display problem.

 

4 Replies to “Fix Nepali (Devnagari) texts display problem on Ubuntu”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.