Closed Bug 558433 Opened 14 years ago Closed 14 years ago

SVG text: setting the direction attribute to "rtl" and unicode-bidi to "embed" does not yield expected result

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 311545

People

(Reporter: vincent_hardy, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

Setting the direction attribute to "rtl" and unicode-bidi to "embed" on a text with arabic characters doesn't yield to the same result as other browsers (See comparison.jpg. Flash rendering seen at the center of the snaphot). In addition,
regardless of the combination used on direction attribute (either "ltr" or "rtl") and unicode-bidi attribute (either "embed" or "bidi-override"), the same rendering is produced.

Reproducible: Always

Steps to Reproduce:
1. Open the attached SVG document.
2. Compare to the reference image. The text is not rendered as expected. The expected result is the one shown by Batik squiggle (top right), Chrome (top left), Safari (bottom left) or Flash (center).
Actual Results:  
The glyphs are rendered left to right instead of right to left.

Expected Results:  
The glyphs are rendered right to left instead of left to right.
Test case
Attached image Reference image
Reference rendering with other rendering engines: Chrome, Safari, Apache Batik, Flash.

The Flash rendering is a test rendering the same Arabic text using the Flash APIs, since Flash does not render SVG. Was created for reference purposes.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: