Created attachment 184030 [details] SVG image for testing If SVG use tab (numeric symbol code is 9) to separate words in sentence, all words collapse into one in LibreOffice. This does not happen in other programs (Inkscape, Firefox) – here I see spaces between words. I believe this bug present in newer LO versions too, though not tested. Tested in Version: 7.3.6.2 / LibreOffice Community Build ID: c28ca90fd6e1a19e189fc16c05f8f8924961e12e CPU threads: 4; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb) Locale: lt-LT (lt_LT.UTF-8); UI: lt-LT Calc: threaded But I can reproduce in much older versions too (no longer remember exactly).
Created attachment 184031 [details] How some SVG looks in Inkscape and LO
Confirmed, but better evaluation can be done by filter import to Draw canvas--i.e. open it is Draw. General layout fidelity to original SVG is high, just the multi-word text runs are not being spaced--as if the import filter just lays them down character-by-character sequence, with no sense of word bound. Performing 'break' of the image all sends the SVG elements all over and is badly broken. @Xisco, one for you? =-testing-= Version: 7.4.2.3 (x64) / LibreOffice Community Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded
Actually the spacing by word looks to be corrected in current masters against 7.5 Break of the image is still bad. Characters of the text runs suffer from clipping depending on zoom level of the LO canvas. Same as see also bug 114941. =-testing-= Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: c50cf1883af26daebdfc9d796ced3c20c222f43b CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded
Created attachment 184042 [details] attachment 184030 [details] opened in master against 7.5.0, spacing between words visible between words spacing for imported SVG now visible in master against 7.5.0
The spacing was already part at the beginning of SVG support in 4.0.0.3 (checked with linux-64-releases bibisect repo). As Stuart said, fixed in 7.5 branch. Fix bibisected with linux-64-7.5 repo to Xisco's core commit: commit ddf695db44bcb23dc2f1459fd439f93c0b6d5f2a author Xisco Fauli <xiscofauli@libreoffice.org> Thu Sep 22 10:59:29 2022 +0200 committer Xisco Fauli <xiscofauli@libreoffice.org> Thu Sep 22 13:43:59 2022 +0200 tdf#151118: svg: fix handling of xml:space="preserve" Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140404 Marking as duplicate. Thanks everyone! *** This bug has been marked as a duplicate of bug 151118 ***