Created attachment 77674 [details]
Source LibreOffice document.
When exporting the attached document to SVG and viewing it
in different programs, the bottom orange shape is
Screenshots (original in LibreOffice Draw and exported SVG in WebKit, Firefox, and Inkscape) can be viewed here:
The source document is attached.
Operating System: Mac OS X
Version: 184.108.40.206 release
Thank you for your bug report, I can reporduce this bug running LibreOffice 220.127.116.11 on Mac osx 10.8.3.
On pc Debian x86-64 with master sources updated today, I reproduced this problem
I noticed this type of logs on console:
warn:legacy.osl:15196:1:filter/source/svg/svgwriter.cxx:3672: SVGActionWriter::ImplWriteActions: unsupported MetaAction #
Thorsten/Radek: one for you?
Just for information, when adding trace about unsupported MetaAction, it's the "150" each time (META_TEXTLANGUAGE_ACTION, see http://opengrok.libreoffice.org/xref/core/vcl/inc/vcl/metaact.hxx#91)
Also, notice that when displayed in WebKit and Inkscape, the text "Depth" is not rotated. It is correctly rotated in Firefox and in the source in Draw.
The shape is:
<g xmlns="http://www.w3.org/2000/svg" class="com.sun.star.drawing.TextShape">
<text class="TextShape"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494px" font-weight="400"><tspan class="TextPosition" x="1574" y="5330" transform="translate(1574,5330) rotate(-90) translate(-1574,-5330)"><tspan fill="rgb(148,0,107)" stroke="none">Depth</tspan></tspan></tspan></text>
Notice that `transform` is on the <tspan> element. When I move it to text:
<g xmlns="http://www.w3.org/2000/svg" id="id13">
<text class="TextShape" transform="translate(1574,5330) rotate(-90) translate(-1574,-5330)"><tspan class="TextParagraph" font-family="Arial, sans-serif" font-size="494px" font-weight="400"><tspan class="TextPosition" x="1574" y="5330"><tspan fill="rgb(148,0,107)" stroke="none">Depth</tspan></tspan></tspan></text>
it becomes correct in WebKit: http://i.imgur.com/PuuP4jp.png
I can reproduce the bug on 18.104.22.168 and 22.214.171.124 on Ubuntu 12.10. Pattern is missing on export.
Importing (File->Open) the SVG file again does not work nicely. It imports as a black box in both versions. The import is unusable.
When inserting the SVG-file in 126.96.36.199 (Insert->Picture->From File), it looks like in the other web browsers. It actually looks better in 188.8.131.52 than in 184.108.40.206 where the background is completely missing.
If the style of the blue hatching is copied via "Format Paintbrush" the shape is exported correctly. Just changing the hatching isn't enough.
Build ID: 6e4637db213e7570d3920902288ca15b5e61b19
Looking good to my eyes with
LO Version: 220.127.116.11.alpha0+
Build ID: aa0e3701aad1a8a955773e869d9a6b59eac51e72
TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2014-08-10_06:59:50
Open test file, then File > Export > svg
Open exported svg with chromium
Looking good. Hatching orange lines are there.