Closed Bug 202667 Opened 21 years ago Closed 21 years ago

Devanagari script is not rendered properly

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 204286

People

(Reporter: aravind1001, Assigned: prabhat.hegde)

Details

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313

The devanagari character 0x093F modifies the character to the left of it not the
character to its right. Mozilla 1.3-gtk2 renders it wrong. Mozilla without gtk2
port also renders it wrong. I haven't checked Mozilla 1.3 without gtk2 as I like
the anti-alias provided by gtk2. 

This is a different bug than others reported against Devanagari script rendering.

I have attached mozilla.utf8 which contains the word "Mozilla" spelled in
Devanagari. I have also the attached the rendering by mozilla and gedit. gedit
displays it correctly. 

Reproducible: Always

Steps to Reproduce:
1.Open the attached file mozilla.utf8 and view it using utf8 encoding.
2.
3.
I have confirmed this behaviour still exists in Mozilla 1.4b
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4b) Gecko/20030507.

Is this about Mozilla-gtk2 with Xft enabled? If so, this is a dupe of bug 204286. 
When bug 204286 and bug 176290 are resolved, Devanagari will be rendered well
(except 
for some issues with ZWNJ/ZWJ). 

In case of Mozilla-gtk2 with X11core, this bug is in a sense invalid because
Mozilla-gtk2 
with X11core font can render Devanagari well if CTL is enabled and X11core font
with sun-unicode-india-0
(sun_unicode_india-0) encoding is installed on the system. The default Mozilla build
is not CTL-enabled. Enabling CTL in the default build is another bug. Prabhat,
is there
any progress?  
 
Ah I see.

I added the comment re. confirming the bug on Mac OS X because I'm experiencing
the exact same issue on OS X with Camino. I understood the two browsers use the
same renderer. Based on the above comment, it would seem this may be a
platform-specific problem with OS X (of course, OS X won't be able to use the
gtk2 X11 core, I would assume).

Should I raise this as a separate bug in the Camino tree?
> Enabling CTL in the default build is another bug  

It's bug 201746 and bug 201747. 

> Based on the above comment, it would seem this may be a
> platform-specific problem with OS X.

  Yes, it's very much platform/toolkit-dependent. 

> Should I raise this as a separate bug in the Camino tree?

  Yes, you should. Just out of curiosity, does Camino take
advantage of AAT fonts and ATSUI? If not, could you tell
me what approach you're taking to enable Devanagari rendering
in Camino? Well, I should ask this question on a bug-to-be
opened for Camino. It'd be nice if you can add me to CC of 
a bug-to-be-opened for Camino.  
 
Marking this as dupe of 204286 (sorry I should have queried bugzilla before
opening up bug 204286, but there's a patch uloaded there so that 
it makes sense to make this a dupe instead of the other way around).
In case of X11core, it already supports Devanagari.


*** This bug has been marked as a duplicate of 204286 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Component: Layout: CTL → Layout: Text
QA Contact: arthit → layout.fonts-and-text
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: