Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Community Discussions > Other OS Talk > Distributions > Mandriva
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read


The Ubuntu Forums have grown tremendously over the years. While we regret that we are discontinuing our Other OS Talk category, this gives us an opportunity to help other Linux distributions grow by directing traffic to the websites of these distributions.

Here is a list of the official websites for the operating systems that used to have individual forums here. We hope you are able to find further assistance from there. And finally, if you haven't yet found what you are looking for, we suggest you look for information on the DistroWatch website or you might try the multi-distribution LinuxQuestions forum.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Mandriva
This section is for discussion relating to the Mandriva Distributions

 
 
Thread Tools Display Modes
Old May 22nd, 2008   #1
kagashe
Quad Shot of Ubuntu
 
kagashe's Avatar
 
Join Date: Jun 2005
Location: Delhi, India
Beans: 443
Ubuntu 9.04 Jaunty Jackalope
Send a message via Skype™ to kagashe
Solved: Firefox not rendering Devanagari fonts properly

Hi,

I started my tryst with Linux in 2004 after buying HP COMPAQ Presario 2500 series Laptop which came with Mandrake Linux 9.1 CDs with HP Logo. I had used it for almost one year. I tried to upgrade to version 10, faced some difficulties and joined Mandrivausers.org forum and received lot of support.

I switched to Ubuntu 5.04 and have been using latest Ubuntu versions.

Recently I bought Linux for You Magazine (published in India) which arrived with Mandriva 2008 on DVD. Although my Laptop does not have DVD drive, I converted the DVD into iso on another machine and transferred the iso on the Laptop and installed.

Since all leading Linux distributions have become heavy for low RAM machines I don't use KDE or Gnome. I have installed Mandriva 2008 Icewm desktop.

I like Mandriva 2008 and may continue to use it provided the problem stated in the Subject line gets resolved.

When I opened Firefox it was not showing any Devanagari characters at all. Then I downloaded ttf-indic fonts from Indlinux website and installed them through Mandriva Control Centre.

After installing the fonts Firefox shows them but the rendering is not correct.

I understand that the Firefox build in Mandriva is pango enabled. I have also checked it by typing about:buildconfig in the address bar.

I have also checked that although I am not using KDE or Gnome the pango support exists in Mandriva since pango version 1.20 and all the libraries are installed.

I don't understand what is missing. Please help.

kagashe

NB: Devanagari is the script for Hindi Language.
I have added Devanagari Keyboard Layout. I can type properly using this keyboard on other applications and the font rendering is ok. Rendering in firefox is the only problem.

Solved as follows:
I solved the problem. I reinstalled Mandriva 2008 and during reinstallation have chosen the required languages. These languages were added as additional languages apart from English. After reinstall I checked the font rendering. Initially it was not working. Then I opened the Regional settings dialogue and changed the default from English to the Indian Language. The font rendering was working now. It seems that the font rendering is somehow linked with default Locales settings.

Last edited by kagashe; May 26th, 2008 at 05:03 AM.. Reason: Solved.
kagashe is offline  
Old May 22nd, 2008   #2
AdamWill
Ubuntu Extra Shot
 
Join Date: Mar 2007
Beans: 353
Re: Firefox not rendering Devanagari fonts properly

Hi there! sorry for the trouble.

There's a fonts-ttf-devanagari package - is that installed?

Can you take a screenshot to illustrate exactly what's wrong with the Firefox rendering?

Thanks!
__________________
Adam Williamson | http://www.happyassassin.net
Fedora QA Community Monkey
AdamWill is offline  
Old May 22nd, 2008   #3
kagashe
Quad Shot of Ubuntu
 
kagashe's Avatar
 
Join Date: Jun 2005
Location: Delhi, India
Beans: 443
Ubuntu 9.04 Jaunty Jackalope
Send a message via Skype™ to kagashe
Re: Firefox not rendering Devanagari fonts properly

Quote:
Originally Posted by AdamWill View Post
Hi there! sorry for the trouble.

There's a fonts-ttf-devanagari package - is that installed?

Can you take a screenshot to illustrate exactly what's wrong with the Firefox rendering?

Thanks!
Yes. The fonts are installed. I have also tried the command to enable Pango. No change.

Yes, I can illustrate. We use this page on Wikipedia to check the support.

At present I am on Ubuntu Hardy and taken the screenshot of the page and attaching with this post. Compare the columns correct rendering and your computer. Notice that Ubuntu also fails for Sinhala and Tibetan but all Indian languages show correct rendering.

I will reboot into Mandriva 2008 after some time and take the screenshot and attach here. You will know the difference.

kagashe
Attached Images
File Type: jpg Ubuntu_indic.jpg (137.8 KB, 20 views)
kagashe is offline  
Old May 22nd, 2008   #4
kagashe
Quad Shot of Ubuntu
 
kagashe's Avatar
 
Join Date: Jun 2005
Location: Delhi, India
Beans: 443
Ubuntu 9.04 Jaunty Jackalope
Send a message via Skype™ to kagashe
Re: Firefox not rendering Devanagari fonts properly

I am attaching the screenshot taken on Mandriva 2008. Compare the two columns here. Notice the difference particularly for Devanagari.

kagashe
Attached Images
File Type: jpg Mandriva_indic.jpg (136.4 KB, 17 views)
kagashe is offline  
Old May 23rd, 2008   #5
kagashe
Quad Shot of Ubuntu
 
kagashe's Avatar
 
Join Date: Jun 2005
Location: Delhi, India
Beans: 443
Ubuntu 9.04 Jaunty Jackalope
Send a message via Skype™ to kagashe
Re: Firefox not rendering Devanagari fonts properly

I am happy to report that Firefox 3 beta renders the fonts correctly on Mandriva 2008.

kagashe
kagashe is offline  
Old May 23rd, 2008   #6
AdamWill
Ubuntu Extra Shot
 
Join Date: Mar 2007
Beans: 353
Re: Firefox not rendering Devanagari fonts properly

Well, I presume you're using the upstream tarball for Firefox 3, right? If so, then it's *either* a bug in Firefox 2 that's fixed in Firefox 3, *or* it's a difference in how we build Firefox versus how Mozilla builds Firefox.

Could you possibly get the tarball for Firefox 2 from mozilla.org and run that, and compare it to how it looks in Mandriva's Firefox 2 package? Thanks.

For what it's worth, by the way, I see the same bug on my machine (Cooker, with Firefox 2). Webkit-based browsers render it correctly.
__________________
Adam Williamson | http://www.happyassassin.net
Fedora QA Community Monkey
AdamWill is offline  
Old May 24th, 2008   #7
kagashe
Quad Shot of Ubuntu
 
kagashe's Avatar
 
Join Date: Jun 2005
Location: Delhi, India
Beans: 443
Ubuntu 9.04 Jaunty Jackalope
Send a message via Skype™ to kagashe
Re: Firefox not rendering Devanagari fonts properly

Quote:
Originally Posted by AdamWill View Post
Well, I presume you're using the upstream tarball for Firefox 3, right? If so, then it's *either* a bug in Firefox 2 that's fixed in Firefox 3, *or* it's a difference in how we build Firefox versus how Mozilla builds Firefox.

Could you possibly get the tarball for Firefox 2 from mozilla.org and run that, and compare it to how it looks in Mandriva's Firefox 2 package? Thanks.

For what it's worth, by the way, I see the same bug on my machine (Cooker, with Firefox 2). Webkit-based browsers render it correctly.
1) There is no bug in Firefox 2 (or if it is a bug, it is taken care by the distributions). Ubuntu builds Firefox 2 with --enable pango option and it works in rendering the fonts. Mandriva also builds Firefox 2 with --enable pango option but I found it not working on Mandriva 2008, therefore, reported here and provided the screenshots. Question remains: if it works on Ubuntu why not on Mandriva?

2) I know that if I use the tarballs for Firefox 2 from Mozilla it is neither going to work on Ubuntu, Mandriva or any other Linux distribution because the default build is not pango enabled.

3) Firefox 3 does not need to be built with --enable pango option by Ubuntu, Mandriva or any other Linux distribution for correct rendering of fonts, therefore, it is working. Perhaps a bug in Firefox 2 has been removed.

kagashe
kagashe is offline  
Old May 26th, 2008   #8
kagashe
Quad Shot of Ubuntu
 
kagashe's Avatar
 
Join Date: Jun 2005
Location: Delhi, India
Beans: 443
Ubuntu 9.04 Jaunty Jackalope
Send a message via Skype™ to kagashe
Solved: Firefox not rendering Devanagari fonts properly

Problem of rendering in Firefox 2 solved. I have edited the original post and added the solution at the end.

kagashe
kagashe is offline  
Old May 26th, 2008   #9
AdamWill
Ubuntu Extra Shot
 
Join Date: Mar 2007
Beans: 353
Re: Solved: Firefox not rendering Devanagari fonts properly

well, in a sense that's not 'solved', as the fonts should be rendered properly in all locales...

so when it works in Ubuntu you also have the locale set to Indian, and if you set it to English, the rendering breaks?
__________________
Adam Williamson | http://www.happyassassin.net
Fedora QA Community Monkey
AdamWill is offline  
Old May 27th, 2008   #10
kagashe
Quad Shot of Ubuntu
 
kagashe's Avatar
 
Join Date: Jun 2005
Location: Delhi, India
Beans: 443
Ubuntu 9.04 Jaunty Jackalope
Send a message via Skype™ to kagashe
Re: Solved: Firefox not rendering Devanagari fonts properly

Quote:
Originally Posted by AdamWill View Post
well, in a sense that's not 'solved', as the fonts should be rendered properly in all locales...

so when it works in Ubuntu you also have the locale set to Indian, and if you set it to English, the rendering breaks?
No. In Ubuntu the rendering works even when the locales are set to English.

In fact majority from India who access internet expect knowledge of English as mandatory and do not like their locales set to English but if they surf web sites with Indian Language fonts they expect it to work.

kagashe
kagashe is offline  
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:06 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry