Sunday, October 04, 2015

How to Enable Urdu Language Support and Write Urdu in Fedora 22

فیڈورہ لِنکس میں اردو لکھنے کےلئےدو طرح کے فونٹ آسانی سے میسر ہیں۔ پہلی طرز کے فونٹ نفیس نستعلیق کہلاتے ہے اور آپ نیچے دی گئی کمانڈسے اس کو انسٹال کر سکتے ہیں۔ دوسری طرز جمیل نوری نستعلیق ہے اسکو بھی آپ نیچے دی گئی کمانڈ سے انسٹال کر سکتے ہیں۔ مکمل معلومات نیچے اِنگلش میں دی گئی ہیں۔
اگر آپ اس اردو ٹیکسٹ کو ٹھیک طرح سے نہیں پڑھ پا رہے تو نیچے دی گئی ہدایات پر عمل کریں اور پھر اپنے براوزر کو ری سٹارٹ کریں امید ہے کہ اب آپ اس ٹیکسٹ کو بآسانی پڑھ پائیں گے۔ اگر آپ کے ذہن میں کوئی سوال ہے تو آپ کمنٹس میں پوچھ سکتے ہیں۔

There are two possible font categories for Urdu language support (viewing Urdu webpages and writing Urdu in LibreOffice,  and Calligra Words) in Fedora 22.  The first one is "Nafees Nastaleeq" collection which includes
  • nafees-pakistani-web-naskh-fonts
  • nafees-riqa-fonts
  • nafees-web-naskh-fonts
  • nafees-nastaleeq-fonts
  • nafees-tehreer-naskh-fonts
  • nafees-pakistani-naskh-fonts
  • nafees-naskh-fonts.
The second one is "Jameel  Noori Nastaleeq". My personal preference is "Jameel Noori Nastaleeq" but I will discuss Nafees Nastaleeq too.

The following command can be used to install the Nafees Nastaleeq collection.
$ su -c 'dnf -y install nafees-*'
In order to install the Jameel Noori Nastaleeq, use the below command.
$ su -c 'rpm -ivh ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/Kenzy:/packages/Fedora_22/noarch/jameel-noori-nastaleeq-fonts-1.0-3.1.noarch.rpm'
After installing the new fonts, update the font cache with the following command so that the system can become aware of new fonts.
$ su -c 'fc-cache -fv'
Given below are the images showing Urdu alphabets written in Calligra Words and LibreOffice, respectively.

Fig. 1: Jameel Noori Nastaleeq in Calligra Words

Fig. 2: Jameel Noori Nastaleeq in LibreOffice

If you use Urdu in Linux, please share your experience in the comments section.

No comments: