Wrong XY coordinates in <tspan> in vertical texts

Bug #1034856 reported by Explorer09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

When using vertical texts, Inkscape seems to output wrong X and Y coordinates in <tspan> elements of the texts. Usually the X and Y are swapped.

I'm not sure if this is a bug or an intended behavior in SVG standard.

How to test:
1. Please download this image: http://people.ofset.org/~ckhung/m/12/job-market-lt.svg
2. Open it in Inkscape, Google Chrome, and Firefox and compare the resulting images they render.

In Inkscape (at least v0.48.2), the text 非營利組織...社會企業......電子資訊大廠 is displayed as intended by the author: top-to-bottom and right-to-left.
(Like this: http://people.ofset.org/~ckhung/m/12/job-market-lt.png )

In Google Chrome, the text is overlapped altogether. top-to-bottom and then bottom-to-top.
(Tested in Chrome 21.0.1180.60: https://www.dropbox.com/s/ppivdyhzxgrqk77/job-market-it-bug.jpg)

In Firefox 14.0.1, the text is shown horizontally, left-to-right and then bottom-to-top.
(I didn't prepare a screenshot for this, sorry.)

Tags: text
Revision history for this message
Explorer09 (explorer09) wrote :
Revision history for this message
su_v (suv-lp) wrote :

AFAICT this is a duplicate of
Bug #168037 (sf1577619) “Vertical text: rendering mismatch inkscape/batik ”
<https://bugs.launchpad.net/inkscape/+bug/168037>

(Note that the actual error acknowledged in the comments of bug #168037 was not described in more detail, but the vertical text in the sample file provided there is similarly displaced in SVG renderers which support vertical text (Firefox does not, but Chromium, Opera and Batik (Squiggle) do), like the SVG example provided in this report.)

tags: added: text
Revision history for this message
jazzynico (jazzynico) wrote :

Marking duplicate of Bug #168037 (sf1577619) “Vertical text: rendering mismatch inkscape/batik ”.
Don't hesitate to comment and revert the report's status if you think it's a different issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.