align=justify causes rtl text to be jumbled

RESOLVED FIXED in mozilla1.2alpha



17 years ago
11 years ago


(Reporter: xslf, Assigned: ftang)




Firefox Tracking Flags

(Not tracked)




(4 attachments)



17 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.0+)
BuildID:    2002052008

when a block is set to align=justify, hebrew text becomes jumbled and unreadble.
this is espcially common with files comming from word (like the urls above)

Reproducible: Always
Steps to Reproduce:
1.have two text paragrphs: one align right, the other justify

Actual Results:  justififed Hebrew text is jumbled and unreadble

Expected Results:  should be fine

Comment 1

17 years ago
Created attachment 84609 [details]
Test Case

Comment 2

17 years ago
Created attachment 84610 [details]
screen shot of the test case

Comment 3

17 years ago
WFM Win95 RC2 (2002 05 20 08)
Mea culpa: I should have given ftang a testcase with justified text to check on Mac.
Assignee: mkaply → ftang

Comment 6

17 years ago
accept. I am not sure when will I work on this. 
I knew this problem and don't think need to fix that right away. I could be
wrong. how many top sites in Hebrew/Arabic use align=justify ?
Or any other reason I should fix this asap ?
Otherwise, I will keep this is one item "to-be-hack" :)

Comment 7

17 years ago
>how many top sites in Hebrew/Arabic use align=justify ?

Speaking of this- do we have an "offical" list of ME top sites?

In general, I am seeing this problem more and more lately- this is esp. bad 
whith pages genarated from word

Comment 8

17 years ago
just went back to (mozilla Hebrew l10n page), and found that the
evanglism letter there ( ) uses that
attribute, thus making it almost unreadble with my mozilla (build ID 2002061603
on Mac OSX)

Comment 9

17 years ago
Yet another site with the same problem:
It seems like align=justify is the latest fashion- which makes reading the web
really hard.
any idea when this will be fixed?

Comment 10

17 years ago
and another example:
this is getting more and more annoying...

Comment 11

17 years ago
set to m1.2alpha
Target Milestone: --- → mozilla1.2alpha

Comment 12

17 years ago
Created attachment 98303 [details]
Arabic Windows XP Screenshot

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020905

I'm seeing this on Arabic pages using Windows XP as well. It seems that not all
fonts or font sizes are effected by this bug. I'm uploading a testcase and a
screenshot showing some distorted text using "Arabic Transparent." Mozilla's
default Arabic font on windows.

Comment 13

17 years ago
Created attachment 98304 [details]
Arabic testcase used in screenshot
*** Bug 177274 has been marked as a duplicate of this bug. ***
Summary: align=justify cases rtl text to be jumbled → align=justify causes rtl text to be jumbled

Comment 15

16 years ago
looks fixed here for some time now
Last Resolved: 16 years ago
Resolution: --- → FIXED

Comment 16

16 years ago
ok,  right column is also test case, inspite it is english.
we at BeOS had same problem and reason is word-by-word aligned rendering in
GFX::DrawString(*, aSpacing !=0,*)

Comment 17

11 years ago
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl


11 years ago
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.