Closed Bug 504918 Opened 15 years ago Closed 15 years ago

Kannada and Telugu text appear as boxes unless 'lang' attribute is set

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 427937

People

(Reporter: shreevatsa.public, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1

Although I have Kannada and Telugu fonts installed [ Kedage and Pothana from http://web.nickshanks.com/typography/ ], looking at a page that has Kannada or Telugu text in it displays only boxes, unless the lang attribute is set. If I manually set the lang attribute on an element, it is displayed correctly. 

I think this is new in Firefox 3.5, but I haven't been observing carefully so I'm not sure.

Bug 427937 and Bug 426957 seem related, as the latter mentions "sounds like a bug in FindCharUnicodeRange".

Reproducible: Always

Steps to Reproduce:
1. Make sure you have Kannada and Telugu fonts installed, e.g. from http://web.nickshanks.com/typography/
2. Visit http://en.wikipedia.org/wiki/Template:Unicode_chart_Kannada and http://en.wikipedia.org/wiki/Template:Unicode_chart_Telugu
3. Visit http://kn.wikipedia.org and http://te.wikipedia.org
Actual Results:  
Kannada and Telugu text on the en.wikipedia pages appear as boxes; they appear fine on the respective Wikipedias.
Confirming on Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729).  I see the same problem on IE 8, which makes me think this may be a bug on Wikipedia's part and not Firefox's.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Hardware: x86 → All
No, it's not Wikipedia's fault. See e.g. http://thatskannada.oneindia.in/ [the website is awful, but I can't recall other websites] which also appears as boxes in Firefox but displays fine in Safari. (And elements display fine in Firefox when lang="kn" is set.)
Ok, instead of looking at random websites, here's a minimal example file attached.
It is problem with Firefox. Same sites appear fine on Safari and Firefox on Linux.
Even with lang attribute, title on the tab is displayed as boxes.

The lang attribute can be added to <html> tag instead of adding to each tag.
For example, see: http://kottapalli.in/
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5

I'm seeing different behavior with different Kannada fonts.  With JanaKannada - http://tdil.mit.gov.in/download/openfonts.htm  - installed, the Kannada test cases display correctly on Safari, but they're all boxes on Firefox whether the lang attribute is set or not.  When Kedage - http://web.nickshanks.com/fonts/kannada/ - is installed, I get the behavior others have reported: works on Safari, works on Firefox only if the lang attribute is set.

With Pothana2000 - http://www.kavya-nandanam.com/dload.htm - the Telugu tests display as boxes regardless of the lang setting.  (Again, they work in Safari.)  With Pothana - http://web.nickshanks.com/typography/ - one of the test cases works.

In summary: Firefox with JanaKannada and Pothana2000 always fails; with Kedage and Pothana, it works only if lang is set.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: