1) Created an SVG file with a "text" tag and two "tspan" tags inside: <text xml:space="preserve" style="font-size:20px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans" x="44.781368" y="69.659859" id="text5342" sodipodi:linespacing="125%"><tspan sodipodi:role="line" id="tspan5344" x="44.781368" y="69.659859" style="font-size:32px">Data title goes here</tspan><tspan sodipodi:role="line" x="44.781368" y="97.698868" id="tspan5346">Data subtitle goes here</tspan></text> 2) The Dolphin preview screen shows the two text strings in a single line 3) Inkscape shows the texts one below the other ... not sure which is right,. Reproducible: Always
Created attachment 84900 [details] Screenshot Differences in text alignment
Created attachment 84901 [details] Bug example
Thanks for the bug report. Please note that previews are not generated by Dolphin itself, but by an external process. These processes are controlled by a PreviewJob from the KIO part of kdelibs. Some of the thumbnailers for different formats are part of kde-runtime. I'm not sure if this is also the case for the SVG thumbnailer. Considering that (In reply to comment #0) > ... not sure which is right,. and that your KDE version is pretty outdated, I suggest that you find out "which is right" and re-test with KDE SC 4.12.x. We can then re-assign this report to kio/thumbnail or another suitable product. Thanks.
Thanks. This is going to take a bit as I have to make space and time to upgrade to the latest Fedora. I will report back then.
I can still reproduce this bug with Dolphin 17.12.3 & KDE Plasma 5.12.3. I think this is probably an issue with the svg thumbnailer (ksvg2?), as both GIMP and Inkscape render it differently. We should reassign this bug to the respective product.