Closed Bug 381967 Opened 17 years ago Closed 16 years ago

Indic languages are not rendering when set sans-serif as defualt font starts rendering only some languages

Categories

(Core :: Graphics, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: panemade, Unassigned)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a4) Gecko/20070522 Minefield/3.0a4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a4) Gecko/20070522 Minefield/3.0a4

Successfully reproduced when firefox installed
from granparadiso-alpha4-source.tar.bz2 and
from nightly builds.

When tried to open http://mr.wikipedia.org or http://www.esakal.com got only Glyphs boxes(no actual characters). Then I set Edit->pref default font to sans-serif. There was no previous default font entry there. 
What I saw that when I refresh same http://mr.wikipedia.org it failed to show but then I tried to open other Indic page http://hi.wikipedia.org, I saw its displaying correctly. Then I opened again http://mr.wikipedia.org and its also showed me all characters.

But still some Indic languages are rendering only and some not
Languages I found working fine after font set to sans-serif
Assamese
Bengali
Gujarati
Punjabi
Hindi
Marathi
Tamil
Malayalam

Languages I NOT found working even after font set to sans-serif
Kannada
Oriya
Telugu

I have all Lohit family fonts for all Indic Langs installed on my RHEL5 as well as Fedora core 6 system



Reproducible: Always

Steps to Reproduce:
1. Start Fedora Core 6 or RHEL5 linux OS
2.  Download either nightly build and install it or build firefox from latest stable alpha4 source code and start firefox from its dist/bin directory without installing built binary.
3. open any Indic webpage say http://mr.wikipedia.org or http://www.esakal.com 
4. See how it renders Glyphs
Actual Results:  
No Indic languages are displayed in browser even after having localized fonts installed on system.


Expected Results:  
Set font to sans-serif and see that some Indic langs starts rendering in wikipedia but some not.


Check also before setting default font as sans-serif 
http://www.google.co.in/
Then set font to sans-serif and see that actual Glyphs starts appearing there.
Version: unspecified → Trunk
For more information on this bug, I created one test case
1) go to /home/parag/.mozilla/firefox/u4b1zh38.default and empty font field I set to sans-serif.
user_pref("font.name.serif.x-western", "sans-serif");
to
user_pref("font.name.serif.x-western", "");
2) Start ./firefox
3) go to Edit->pref to crosscheck whether font is still sans-seirf or empty. Found Empty.
4) open http://mr.wikipedia.org. Dunno but it worked fine.
5) open http://www.esakal.com, Failed to display characters.
6) Go to Edit->pref, set font to sans-serif and hey page automatically refreshed and started showing Indic Marathi Characters.
7) Quit firefox.

 I am attaching now debugging messages I got from console.
Status: UNCONFIRMED → NEW
Component: Preferences → GFX: Thebes
Depends on: 367884
Ever confirmed: true
Product: Firefox → Core
QA Contact: preferences → thebes
Depends on: 354892
Is this still a problem?
I don't think this is now a problem. Looks to me this got fixed already as part of bug 362682 and patch https://bugzilla.mozilla.org/attachment.cgi?id=284221
Status: NEW → RESOLVED
Closed: 16 years ago
Depends on: 362682
Resolution: --- → FIXED
Depends on: 378105
Okay. so It looks to me that actually patch submitted and ckecked in from bug 378105 fixed this bug.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: