Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to install ttf font for Mozilla

Status
Not open for further replies.

amarg

Programmer
Nov 19, 2002
106
IN
Hi,

I am running SuSe 9.2 With min installation.
I am using the mozilla for the web browser.
Web pages with other languages like (HINDI) is not readable.
From windows these pages works fine. What should I do
to make it readable from my Linux.

Thanks,
Amar
 
My only suggestion is to check the fonts you have installed to ensure there are some for all the languages you expect to be reading. They are typically in /usr/X11R6/lib/X11/fonts/*. If there aren't any promising looking fonts there, Suse (being a big, professional type distro), probably has some packaged up and available.

Sorry. I can only speak and read English, so multilanguages and internationalization just haven't come up in my work yet. The most I do is 'export LOCALE=C' to get mc to look 'normal' during ssh sessions :)

----
JBR
 
So, after I posted, I read the subject and realized you already know it's a font problem. Sorry! I did the google thing and found a couple interesting links.

This one is IndLinux, with some downloadable live images. Some research could be had there, maybe even find you like the distro better:
These site has some fonts available. May be just what you need:
----
JBR
 
Hi,

I think, I have to give some more details about my problem.
Here I am trying to read web pages which are not in english.
On that page ttf font a aviable for download. I thing to see
the page from Mozilla under linux I have to install this TTF
font. Now please guide me How I can install TTF font for Mozilla.

Thanks,
Amar
 
Technically you add fonts to the font server, xfs. Not too sure about SuSe, but RedHat and Fedora have a folder, /usr/share/fonts that stores additional fonts for xfs. What you may need to do is create an additional folder (maybe called hindi_fonts) under /usr/share/fonts and copy your fonts there. change into that dir and issue the command ttmkfdir, mkfontdir and chkfontpath -a /usr/share/fonts/hindi_fonts. If everything is well, restart xfs by doing /etc/init.d/xfs restart. In the event you don't have chkfontpath utility on SuSe, edit the file /etc/X11/fs/config and add your new font path to the catalogue=... parameter.


--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
Hi there,

I too have got font problems with Mozilla.

I have istalled TTF fonts (copies from my windoze partition) and the system looks much better.

The guide i used to install these fonts was for slackware but it worked on my system Ubuntu.

Here is the link


But it does mention mozilla specifically in this howto, and it says that the only way to get better fonts is to re-compile it... is there no other way?

Thanks

Jez
 
Now I am able to see the HINDI fonts. But every time when I am going the reload or go to next link i have to change the character Encoding. Is there any way to fix this.
 
Character encoding is usually specified in the webpage itself. Web designers would usually include a line like <meta http-equiv="content-type" content="text/html; charset=utf8"> to indicate to the browser how text should be rendered. If no such line is included, your browser will default to whatever character set used by your default locale.


--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top