You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2007/02/08 00:38:55 UTC

DO NOT REPLY [Bug 41561] New: - RTL text is misaligned

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41561>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41561

           Summary: RTL text is misaligned
           Product: Batik
           Version: 2.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SVG Viewer
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: ariel18@safe-mail.net


Please see
https://sourceforge.net/tracker/?func=detail&atid=604306&aid=1652188&group_id=93438
for a discussion on this bug, relating to Inkscape. Basically, text which is
made in the right-to-left format (like Hebrew or Arabic) in Inkscape appears
misaligned in Batik.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 41561] - RTL text is misaligned

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41561>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41561





------- Additional Comments From ariel18@safe-mail.net  2007-02-07 16:12 -------
I don't know. I'm not the expert, I just know that there is a problem somewhere.
I also know that Arabic and Hebrew should be right aligned (as is done , as the
text is written right-to-left. As you can see in the thread from sourceforge,
lots of programs have this same "problem". What you need to do is contact
Inkscape's designers and figure out where the problem really is.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 41561] - RTL text is misaligned

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41561>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41561


cam@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From cam@apache.org  2007-02-07 16:04 -------
[CCing the Inkscape bug]

As far as I know, the text layout is correct.  Where the text is anchored and
which direction the text is rendered in are two different things.  Section 10.9
of SVG 1.1 says:

  The 'text-anchor' property is used to align (start-, middle- or end-alignment)
  a string of text relative to a given point.

  The 'text-anchor' property is applied to each individual text chunk within a
  given 'text' element. Each text chunk has an initial current text position,
  which represents the point in the user coordinate system resulting from
  (depending on context) application of the x and y attributes on the 'text'
  element, any x or y attribute values on a 'tspan', 'tref' or 'altGlyph'
  element assigned explicitly to the first rendered character in a text chunk,
  or determination of the initial current text position for a 'textPath'
  element.

and for the "start" value (which is the initial value):

  The rendered characters are aligned such that the start of the text string is
  at the initial current text position. For Latin or Arabic, which is usually
  rendered horizontally, this is comparable to left alignment. For Asian text
  with a vertical primary text direction, this is comparable to top alignment.

So the anchoring of the text is independent of directionality.  Test
text-intro-05 in the recently released SVG 1.1 test suite uses text-anchor="end"
on the text elements to right align the Arabic text.

Do you agree with this assessment?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 41561] - RTL text is misaligned

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41561>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41561


cam@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From cam@apache.org  2007-02-11 23:24 -------
Behaviour is conformant.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org