-
Step 01. Download "UrduOTFonts.tar.gz" from CD and save in a directory on
your machine.
-
Step 02. Go to the directory in which you have saved the tar.gz file.
-
Step 03. Uncompress the tar.gz file
$ tar -zxvf UrduOTFonts.tar.gz
On uncompress you will get a new directory "UrduOTFonts".
-
Step 04 Make "Fonts" as working directory.
$ cd ./UrduOTFonts
Step 05. Login as root.
$su
-
Step 06. Create a directory /usr/share/fonts/UrduOTFonts/ using following
command.
# mkdir /usr/share/fonts/UrduOTFonts
-
Step 07. Copy the OT font file in /usr/share/fonts/UrduOTFonts/
# cp *.ttf /usr/share/fonts/UrduOTFonts/
-
Step 08. Go to directory /usr/share/fonts/UrduOTFonts/
# cd /usr/share/fonts/UrduOTFonts
-
Step 09. Create fonts.scale
# ttmkfdir
or
# /usr/sbin/ttmkfdir
-
Step 10. Create fonts.dir
#mkfontdir
-
Step 11. Add the path to X Font serve path
# chkfontpath --add /usr/share/fonts/UrduOTFonts/
or
# /usr/sbin/chkfontpath --add /usr/share/fonts/UrduOTFonts/
-
Step 12. Update font information cache
# fc-cache
-
Step 13. Logout as root
# exit