LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-03-2010, 01:29 AM   #1
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 193
Blog Entries: 1

Rep: Reputation: 21
how to install my (regional language ) font?


hi all,
i am trying to read some newspapers online through firefox and opera in my rhel 5 machine. My language is tamil. By default it will not support that. But i have downloaded the fonts. i put that *.ttf fonts in /usr/share/X11/fonts directory. But its not working? I tried by putting in /etc/fonts directory too. But still problem persists. How to resolve this?
 
Old 02-03-2010, 01:59 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,564

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
Welcome to LQ.

1) su
2) yum search tamil
3) yum install fonts-tamil

.. provides /usr/share/fonts/tamil/lohit_ta.ttf

TTF fonts : If you have other fonts to install,
/usr/share/fonts/ or /usr/share/fonts/tamil/
is the place.

.. Good luck .. .. ..
.....

P.S. :
RHEL 5 install-disk-2: m17n-db-tamil-1.3.3-48.el5.noarch.rpm
RHEL 5 install-disk-3: fonts-tamil-2.3.1-1.el5.noarch.rpm
.....

Last edited by knudfl; 02-03-2010 at 02:04 AM.
 
Old 02-03-2010, 03:17 AM   #3
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 193
Blog Entries: 1

Original Poster
Rep: Reputation: 21
as you told i have installed the rpms. Then i have done the following steps also.
1.mkdir /usr/share/fonts/tamil
2.cd /usr/share/fonts/tamil
3.mkfontdir .
Now it create a file named fonts.dir
4.ttmkfdir -0 /usr/share/fonts/tamil
Then it creates the file fonts.scale
5.chkfontpath --add /usr/share/fonts/tamil
the path will be added into the font path. We can check it out with the following command
6.chkfontpath
7.service xfs restart

i am using gnome desktop. So i logged out and logged in one time. Now it works fine. I could read the tamil newspapers.
Thanks
 
Old 02-03-2010, 04:08 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,564

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
In fact you don't usually have to do anything.

As long as the TTF fonts are present in /usr/share/fonts/

Restarting Firefox is all it takes.
 
Old 02-03-2010, 05:10 AM   #5
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 193
Blog Entries: 1

Original Poster
Rep: Reputation: 21
oh...anyway i got something from the google search. i learned something new and it works fine. Thanks again to you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine Regional Settings amk229 Linux - Software 4 04-29-2011 03:56 AM
Question Regarding Regional settings AQG Suse/Novell 2 06-02-2008 01:00 PM
how to create a regional LiveCD? mus1402 Linux - General 0 02-23-2006 06:03 AM
How to install Font Server in FedoraCore2--my font server failed covaigold Fedora 0 02-21-2005 12:42 AM
How to change regional settings... am/pm browny_amiga Linux - General 2 08-27-2003 04:53 AM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration