26

Chrome in Ubuntu is not rendering Urdu fonts properly. It is showing gibberish characters I'm not able to read. The problem is especially bad on Facebook.

I copied some Urdu fonts under ~/.fonts and under /usr/share/fonts/ and updated the cache and then restarted Chrome but even that didn't work.

This is how it is appearing on my system

text

I have installed MSCore fonts and many other fonts but it's still not working.

17

Download and install nafees-urdu fonts.

Update the package index:

sudo apt-get update

Install the fonts-nafees package:

sudo apt-get install fonts-nafees

and refresh your browser. This works fine for me.

or try this: http://www.urdujahan.com/linux.html

| improve this answer | |
  • You mean restart your browser? – Mr.Shan0 Aug 21 '19 at 9:43
  • No need just refresh the page, that should work – Ali786 Aug 21 '19 at 12:28
  • 1
    Didn't work. I had to restart my browser. Using Ubuntu 18.04. – Mr.Shan0 Aug 21 '19 at 12:51
  • 1
    Negative. Didnt work in 20.04. imgur.com/a/drvdTV4 – Tahir Akram May 3 at 19:51
6

I installed fonts-noto

$ sudo apt-get -y install fonts-noto

Restarted Chrome, and then changed the Standard Font in Chrome to Noto Naskh Arabic UI. Urdu fonts appear much better and clear now. You can find the 'Font Settings' at: chrome://settings/fonts Font Preview Chrome Settings Preview

You can use this Chrome extension as well: https://chrome.google.com/webstore/detail/nastaleeq/oddbjmjgpaofommagnbfednbdifaakfb?hl=en

| improve this answer | |
  • 1
    This is the best solution. – dmSherazi Jun 23 '19 at 6:01
  • This solution is Chrome specific. Can you suggest something for Firefox? Yes, on Chrome, it solved the problem. – Tahir Akram May 16 at 19:00
  • @TahirAkram Have you tried changing the Preferences -> Language and Appearance -> Fonts and Colors -> Default Color to Noto Sans Arabic UI? – Junaid May 18 at 11:20
2

What worked for me was was to go to

Menu → language settings

and install "full support for urdu language".

Then, in the Firefox browser, go to

Preferences → General → Language → Choose your preferred language for displaying pages

and change Latin to nafees.

| improve this answer | |
  • This changed the default language of the browser but it will not change the font style. – MOHSIN SHAHZAD Oct 25 at 19:14
1

Install tahoma fonts or install from your windows fonts directory /windows/Fonts

Install following chrome extension.

Font Changer With Google Fonts

Go to twitter or facebook or any other site and left click the extension. Use custom settings and select tahoma. Click ok and then refresh the page.

| improve this answer | |
  • 2
    Some other fonts also works like segoe UI, you can add them in extension custom fonts settings. you can also add urdu fonts like jameel noori nastaleeq in custom fonts. – wedu Jan 30 '14 at 10:47
1

I think the problem is that Ubuntu does not have unicode Arial fonts. I just found a solution that is working well on Facebook .

First you need to install 'nafees fonts' for Ubuntu.

  1. Get the Chrome extension "change font family style" from Chrome store.
  2. Go to its settings, in tools > extensions
  3. Go to the extension's option.
  4. Paste this 'lucida grande',tahoma,verdana,nafees,sans-serif
  5. Click save, then close the window, and refresh the facebook page. it should work.
| improve this answer | |
  • 4. Where should I paste it I didn't understand? – MOHSIN SHAHZAD Oct 25 at 19:09
1

Guys I also had this issue and fixed with chrome extension Nastaleeq.

Kubuntu 19.04 x64 Chrome Version: 77.0.3865.90 (Official Build) (64-bit)

| improve this answer | |
0

Just go to chrome settings and search for customize fonts and change standard font to Nafees. No need to install anything.

| improve this answer | |
  • Younus, it didn't work in Chrome. This is the screenshot. imgur.com/a/2KgSWTf I selected Nafees as standard font. Can you suggest the same for Firefox? – Tahir Akram May 16 at 19:18
  • Not any experience with firefox about that. – Muhammad Younus May 17 at 7:12
0

Another Chrome extension that gave me better results is: Wudooh. After installation, you can select Noto Nastaliq Urdu from the drop-down menu. You also have the options for adjusting the font size as well as line height.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.