Closed Bug 464235 Opened 17 years ago Closed 17 years ago

Bidi text renders in reverse order in SVG

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 311545

People

(Reporter: ferdnor, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 Using text phrases that contain bidi text in an SVG diagram results in the right-to-left parts of the text being presented in reverse order. It would appear the text has been drawn in logical order (the order of the characters in the UTF-8 string), and not the natural presentation order. This only fails on Firefox 3 (and newer). Tested with 3.0.3, 3.0.5pre and 3.1b2pre. It is a regression from Firefox 2.0.0.x (checked with 2.0.0.16) where the text is presented correctly. Reproducible: Always Steps to Reproduce: 1. Create an SVG drawing surface 2. Add a text node containing bidi text 3. Bidi text on the SVG surface will be rendered incorrectly example text: العملية_الأولى.txt شركة ١ ٣ ٥ ٧.xml Actual Results: See testcase (cant cut and paste from SVG surface) Expected Results: Text should be as per example text Testcase will be attached.
Status: UNCONFIRMED → RESOLVED
Closed: 17 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: