Closed Bug 180112 Opened 22 years ago Closed 17 years ago

Arabic combining diacritical marks are rendered separately, not above or below the characters

Categories

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

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: unger, Assigned: mkaply)

References

Details

Attachments

(8 files, 1 obsolete file)

User-Agent:       Mozilla/4.78 [en] (Win98; U)
Build Identifier: 2002101612

As a part of the Arabic Unicode plane, some combining diacritical marks (for 
instance Fatha, Kasra and so on) are defined. Mozilla does not render a 
combination, but two separate characters.

Reproducible: Always

Steps to Reproduce:
1.See attached test file.
2.
3.
UTF-8 coded test file containing an English title and three Arabic words
(shukran, kurrasa, mu'allim) with their diacritical marks.
This is because of Mozilla's severe limitations rendering Unicode. See bug
157967 for details.
This is a critical bug for proper Arabic - any further status and/or movement to
eradicate this problem (its been awhile since it was looked into) ?
This works fine in Windows.
The problem still in exists in Linux though.
I'll try to attach a screenshot using Linux and the latest nightly build.
As you can see in the shot, I'm using a nightly build (20030924) and Windows
XP.
The first line has broken words on diacritics, but not the second line (where
there isn't a font specified!).
This is how it look on my RH9 machine. BTW, I have fonts-arabic RPM package
installed as well as ae_fonts.
Additional comment #5 says :

>Screenshot in Windows showing display of Arabic diacritics fine

This is *not* true on Windows 98 (either using Mozilla 1.4, 1.5RC2 or NS 7.02).
UTF-8 coded test file containing an English title and three Arabic words
(shukran, kurrasa, mu'allim) with their diacritical marks. The text is
written twice; the second time with the font Traditional Arabic to test
OpenFont properties
Attachment #106212 - Attachment is obsolete: true
In case of Windows 98, Arabic combining diacritical marks are rendered
separately.
Arabic Support installed. Correct working with IE 6 and MS Word
In case of Windows 2000 and Mozilla 1.5 RC2 it works correctly.
*** Bug 181669 has been marked as a duplicate of this bug. ***
*** Bug 257101 has been marked as a duplicate of this bug. ***
Attached screenshot shows combining diacriticals not displaying correctly in a
utf-8-encoded Vietnamese file. Same file displays correctly in Safari.

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; rv:1.7.3) Gecko/20040913
Firefox/0.10
*** Bug 306068 has been marked as a duplicate of this bug. ***
Please note that two of the recent dupes were for non en-US (French and Czech)
installations on Windows 2000/XP.
Changing OS to "All".
OS: Windows 98 → All
(In reply to comment #17)
> Please note that two of the recent dupes were for non en-US (French and Czech)
> installations on Windows 2000/XP.

On Windows 2k/XP, that should work fine. It doesn't work there (in cases of two
dupes) because they didn't turn on 'complex script' support in Control Panel |
Regional&Lang. setting. MS IE just works even without it (because MS IE directly
uses Uniscribe APIs), but Firefox does need that to be turned on. (see bug 218887)

> Changing OS to "All".

Well, this bug on its own is all but useless. It's just a dupe of several
complex script rendering bugs on different platforms. 

Mozilla 1.7.8, in fact 
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20061113 Debian/1.7.8-1sarge8 displays the diacritical marks seperate, see https://bugzilla.mozilla.org/attachment.cgi?id=132874, while firefox 1.5.0.7 (Mozilla/5.0, X11; U; Linux i686; en-US; rv:1.8.0.7, Gecko/20060830) does it correctly.
The text is rendered correctly in both firefox-2.0.0.6 with pango enabled under linux, and firefox-3.0a8pre.en-US with default settings under linux too.
WORKSFORME on all platforms (except for the incorrect placement of the combining diacritical marks on Mac, which is bug 386573)
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
i use firefox 2.0.0.7 under winxp & under win9x, the diacritical marks is still separated. but when i use windows arabic enabled, it render fine. i wait since firefox 1 until the 2.0.0.7 version, it still like that. then i try to find other ways to rendering arabic text. you can visit url: http://www.matamaya.com/encoder.htm i try to manipulate the render using javascript encoder. it works!!! but only the first line! the next lines all diacritical marks are gone! see my other bug: Bug 397325
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: zach → 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: