[Libreoffice-bugs] [Bug 116967] Textshape with "Rotated" transform from a Draw export to .svg -- valid SVG 1.2 transform syntax or not ?

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 19 17:50:38 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=116967

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |vstuart.foote at utsa.edu,
                   |                            |xiscofauli at libreoffice.org
          Component|Draw                        |graphics stack
             Blocks|                            |99825
            Summary|Export .svg file from DRAW  |Textshape with "Rotated"
                   |and Import it to WRITER     |transform  from a Draw
                   |                            |export to .svg -- valid SVG
                   |                            |1.2 transform syntax or
                   |                            |not?
     Ever confirmed|0                           |1

--- Comment #3 from V Stuart Foote <vstuart.foote at utsa.edu> ---
Interesting, ImageMagick's IMDisplay handles the SVG correctly. But Inkscape,
Edge, Chrome, even our LO Draw insert filter, all drop the text rotation.

On first glance the transform SVG XML looks correct:

     <g class="com.sun.star.drawing.TextShape">
      <g id="id225">
       <text class="TextShape"><tspan class="TextParagraph"
font-family="Liberation Sans, sans-serif" font-size="282px"
font-weight="400"><tspan class="TextPosition" x="5329" y="18552"
transform="translate(5329,18552) rotate(-89.8) translate(-5329,-18552)"><tspan
fill="rgb(0,0,0)" stroke="none">2 x 8 Pins</tspan></tspan></tspan></text>
      </g>
     </g>
     <g class="com.sun.star.drawing.TextShape">
      <g id="id226">
       <text class="TextShape"><tspan class="TextParagraph"
font-family="Liberation Sans, sans-serif" font-size="282px"
font-weight="400"><tspan class="TextPosition" x="5855" y="18223"
transform="translate(5855,18223) rotate(-90.1) translate(-5855,-18223)"><tspan
fill="rgb(0,0,0)" stroke="none">GALEP</tspan></tspan></tspan></text>
      </g>
     </g>

@Xisco, what do you think? Are we generating bad SVG?

The round trip use of SVG within LibreOffice is another issue--I don't think is
the question of OP.  For internal use the OLE embedding of the ODG, or an SVM
handles the rotated text annotation correctly.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=99825
[Bug 99825] [META] SVG bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180419/04a70556/attachment.html>


More information about the Libreoffice-bugs mailing list