Welcome
to my homepage
   
 ITALY: WORLD CHAMPIONS, FIFA WORLD CUP 2006 GERMANY.
Search on WEB BETA
       
 
 
  :: Supported By ::
 
 
 
    Installation Guides
 
    Installing Nepali TTF type fonts in Redhat 9 / Fedora Core 1,2,3.

Most Linux users have problem in viewing websites maintained in native language other than 
ENGLISH using Mozilla browser. However to view such websites, one have to install respective
fonts correctly into their system. Here are some easy and simple steps to add TRUE TYPE FONT
(TTF), so that one can browse websites maintained in native languages other than ENGLISH.
HERE, we take an example for installing one of the NEPALI TTF font. Installation Steps: Download the ttf fonts into your home directory: /home/akash
Say we download font Nepal.ttf from www.newsofnepal.com to display the site
http://www.newsofnepal.com/ Be in the location: /usr/share/fonts/ # cd /usr/share/fonts Create a directory truetype in the location: /usr/share/fonts/ ,
see if the directory already exists. # mkdir truetype # cd truetype Now copy the ttf fonts that you has just downloaded into this location.
/usr/share/fonts/truetype # cp /home/akash/Nepal.ttf . Being in the same location /usr/share/fonts/truetype, use the following
commands # mkfontscale OR # ttmkfdir > fonts.dir - This command is used to create fonts.scale file. # mkfontdir - This command is used to create fonts.dir file # fc-cache Adding the new font directory to the X11 font path. # chkfontpath --add /usr/share/fonts/truetype Restart X font Server. # service xfs restart CLOSE ALL your browsers and BROWSE the website in a NEW broswer. Here we browse
http://www.newsofnepal.com/ to see if the webpage has been correctly displayed with
the font that we have installed. Still then, if you can't see the webpage displayed correctly
with the installed font, RESTART your computer and BROWSE the website again. INSTALLING more fonts. After adding all the fonts path correctly, then adding more fonts into
the system is very easy. Just perform following Steps:
Copy, say HIMAL.TTF font to system font directory(/usr/share/fonts/truetype) # cp /home/akash/HIMAL.TTF /usr/share/fonts/truetype
Be in the location: /usr/share/fonts/truetype. # cd /usr/share/fonts/truetype] # mkfontscale OR # ttmkfdir > font.scale # mkfontdir # fc-cache Restart the Font Server. # service xfs restart CLOSE ALL your browsers and BROWSE the website in a NEW broswer. Here we browse
http://www.newsofnepal.com/ to see if the webpage has been correctly displayed with
the font that we have installed. Still then, if you can't see the webpage displayed correctly
with the installed font, RESTART your computer and BROWSE the website again.
OPTIONAL STEPS ( MAY NOT BE PERFORMED ). You can verify the successful addition of the new path by
running chkfontpath command or by listing X font server's /etc/X11/XF86Config file. # chkfontpath OR # more /etc/X11/XF86Config If you don not have root access, copy the *.ttf to ~/.fonts directory instead.
The author can be contacted at: akashrestha@hotmail.com, akashonweb@hotmail.com
Back to Top