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=44355>.
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=44355

           Summary: tspans sometimes incorrectly aligned when text-
                    anchor="middle" is used
           Product: Batik
           Version: 1.7
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SVG Rasterizer
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


When text-anchor="middle" is used, the last tspan in a group of tspan siblings
under a text node is incorrectly aligned. It doesn't matter if the tspans are
using absolute positions, or relative positions, or if the parent has a
transformation applied. This bug is NOT seen for text-anchor="start" or
text-anchor="end"

Also tspans with no text content will cause the preceding sibling tspan with
text-anchor="middle" to render in the incorrect position as well.

Workaround:
Never append a empty tspan, and append a final tspan containing a space to
ensure the final sibling tspan will render correctly.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to