Closed Bug 146135 Opened 20 years ago Closed 19 years ago

align=justify causes rtl text to be jumbled

Categories

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

PowerPC
macOS
defect
Not set
major

Tracking

()

RESOLVED FIXED
mozilla1.2alpha

People

(Reporter: xslf, Assigned: ftang)

References

()

Details

(Keywords: rtl)

Attachments

(4 files)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.0+)
Gecko/20020520
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
2.compare


Actual Results:  justififed Hebrew text is jumbled and unreadble

Expected Results:  should be fine
Attached file Test Case
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
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" :)
Status: NEW → ASSIGNED
>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
just went back to mozilla.org.il (mozilla Hebrew l10n page), and found that the
evanglism letter there ( http://www.mozilla.org.il/evangel.shtml ) uses that
attribute, thus making it almost unreadble with my mozilla (build ID 2002061603
on Mac OSX)
Yet another site with the same problem:
http://www.blabla4u.com/sites/blabla4u/ShowMessage.asp?ID=992320
It seems like align=justify is the latest fashion- which makes reading the web
really hard.
any idea when this will be fixed?
and another example:
http://www.sportenter.co.il/main.asp
this is getting more and more annoying...
set to m1.2alpha
Target Milestone: --- → mozilla1.2alpha
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.
*** 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
looks fixed here for some time now
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
ok, 
http://www.unisys.com  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,*)
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
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.