To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108346
                 Issue #|108346
                 Summary|SVG Export of text is erroneous 
               Component|Drawing
                 Version|OOo 3.2 RC2
                Platform|Unknown
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|save-export
             Assigned to|graphicsneedsconfirm
             Reported by|uwp





------- Additional comments from [email protected] Fri Jan 15 11:52:55 +0000 
2010 -------
The exported SVG is still not correct. Text-Tags are not exported correctly and
are not displayed by Firefox or InkScape. You can easily reproduce the described
behavior by creating a Draw with the text "Hello World" and export it to SVG.  

The following snipped is taken from OO exported SVG:
<g style="font-family:Liberation Sans embedded;font-size:635;font-weight:400">
  <g style="stroke:none;fill:none">
    <text>
      <tspan x="3500 3957 4309 4448 4588 4939 5117 5706 6057 6269 6408 "
             y="4201">Hello World</tspan>
    </text>
  </g>
</g>
The text Hello World is not displayed in an SVG-Viewer.

According to the Specification of SVG: http://www.w3.org/TR/SVG/text.html the
correct output should be:

<g font-family="Liberation Sans embedded" font-size="635" font-weight="400">
  <g stroke="none" fill="black">
    <text>
      <tspan x="3500 3957 4309 4448 4588 4939 5117 5706 6057 6269 6408 "
             y="4201">Hello World</tspan>
    </text>
  </g>
</g>

Here the text is displayed in an SVG viewer.

So I found the following issues:
The style-attribute needs to changed to the contents of its strings. The
fill-color (fill-attribute) must be set to the color of the text in OOdraw.

The behavior described above has been tested with OO 3.2rc2 under CentOS Linux.

Regards, Uwe

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to