Closed Bug 361778 Opened 18 years ago Closed 18 years ago

Firefox not rendering Malayalam characters properly.

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: BijuMailList, Unassigned)

References

Details

Attachments

(4 files, 1 obsolete file)

Firefox not rendering Malayalam characters properly. see attachment FF_IE_malayalam.png under "America" is "New Jersey" is not displayed Steps:- 1. Run Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061124 Minefield/3.0a1 2. goto http://snipurl.com/1370t#.E0.B4.85.E0.B4.AE.E0.B5.87.E0.B4.B0.E0.B4.BF.E0.B4.95.E0.B5.8D.E0.B4.95 (ie http://varamozhi.wikia.com/wiki/Geographical_Locations_of_Malayalam_Bloggers#.E0.B4.85.E0.B4.AE.E0.B5.87.E0.B4.B0.E0.B4.BF.E0.B4.95.E0.B5.8D.E0.B4.95 ) 3. You should see "America" in Malayalam 4. under America is "New Jersey", but Firefox render it as boxes. PS: tested in WinXP default Kartika font, and AnjaliOldLipi font download from http://prdownloads.sourceforge.net/varamozhi/AnjaliOldLipi-0.730.ttf?use_mirror=kent
Attached image FF_IE_malayalam.png
Severity: normal → critical
Blocks: 361783
Attached image FF_2_malayalam.png
as displayed in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1pre) Gecko/20061124 BonEcho/2.0.0.1pre
Severity: critical → major
The problem seems to occur chiefly in lines containing a zero-width non-joiner character (U+200C), but sometimes also with a zero-width joiner (U+200D).
Component: Layout: Fonts and Text → GFX: Thebes
QA Contact: layout.fonts-and-text → thebes
Attached file minimized testcase (obsolete) —
This is a regression from bug 355917.
Blocks: 355917
This totally broke rendering of scripts using zero-width joiners and non-joiners. I'm not sure why there are still zero-width glyphs after calling Shape(), but apparently there are.
Blocks: 361786
Sorry, previous comment was in the wrong bug
No longer blocks: 361783, 361786
Blocks: 361783
ah -- i was afraid that patch would break some stuff, but couldn't find any examples.
I had an idea to fix this, and it fixes a lot of cases but not all. Expanding the minimized testcase to include a case that it didn't fix.
Attachment #246950 - Attachment is obsolete: true
This is kind of hacky, but it fixes the Malayalam regressions without regressing bug 355917.
Attachment #247092 - Flags: review?(pavlov)
Flags: blocking1.9?
Comment on attachment 247092 [details] [diff] [review] Don't reject zero-width gyphs in non-complex scripts sounds good to me for now
Attachment #247092 - Flags: review?(pavlov) → review+
Checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
*** Bug 362271 has been marked as a duplicate of this bug. ***
*** Bug 361786 has been marked as a duplicate of this bug. ***
Flags: blocking1.9?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: