I created this vector using Inkscape, which looks like this:
But whenever I import it into LibreOffice Writer, the text gets displaced:
I tried this on the latest LibreOffice 25.8.1
.
I uploaded the file here which everywhere else looks fine:
I created this vector using Inkscape, which looks like this:
But whenever I import it into LibreOffice Writer, the text gets displaced:
I tried this on the latest LibreOffice 25.8.1
.
I uploaded the file here which everywhere else looks fine:
Inkscape grants different SVG export options. Which was it? Have you tried different SVG options and checked them in LibreOffice?
Be aware that Inkscape and other SVG generating programmes could have other proceedings for creating SVGs. So Inkscape can handle gradients and LO lacks this, AFAIK.
In Inkscape it seems that export/save text as a SVG is not that easy. You better export/save to PDF. (I have only little experience in using Inkscape. Maybe, it is a wrong advice.)
Which version of Inkscape is used? OS?
HelloInCircle_InkscapePortable_1.4.2.odg (41.3 KB)
Sorry guys @ajlittoz, I now reuploaded the file properly.
@Grantler, I tried Inkscape SVG
as well as Plain SVG
neither worked.
I have resorted to PDF, but once I close and reopen LibreOffice, the pdf-image is gone/blurred-out. Even though I didn’t change the pdf’s directory, nor did I use the Link* option (I chose embed file instead). In other words PDF is the worse option.
I used Inkscape 1.4.2
(latest), and the issue doesn’t seem to be platform specific.
Have you distorted the image? It displays as an ellipse with major axis 10:00-16:00 orientation.
Please, attach the original inkscape document. To fool AskLO engine, add extension .pdf at end of filename.
@ajlittoz are you sure you tried this link? https://drive.proton.me/urls/KF4QF61T6C#NmietVdjkQL7. It is the original inscape document.
Unfortunately changing extension to .pdf does not fool the AskLO engine. It still wouldn’t allow it.
I tried a solution suggested by someone else: select the faulty SVG, Shape
>Break
it to separate its components, reposition “Hello” and Shape
>Connect
. Unfortunately this really connects the text to the ellipse resulting in a weird noodle drawing. I had to save, close and reopen to be able to group the two components.
Since your drawing is very simple, I resorted to a pur Draw solution:
Format
>Area
to suppress the background colourFormat
>Line
to set border width and colourThis is much simpler and result in a smaller file than your HelloInCircle… SVG-based odg.
In Hello-ajl.odg (17.5 KB), upper diagram is the “break’ed”-and-group’ed object; bottom diagram is the simple labelled shape.
@ajlittoz Thanks for all the effort. The hello I provided just as sample to showcase the problem. I have a couple more of more complicated shapes, and can’t simply manage them by redrawing from scratch. I don’t want to resort to PNG. And PDF also has problems.
However I just filed a bug report. Do you mind taking a look the bug report? And tell me if anything’s missing?
I don’t know how long your sample SVG will be retained by Proton. You should try to upload the sample directly in Bugzilla to be sure because I don’t know when a developer looks at the report. You’ll perhaps have to resort to dirty tricks with the extension to fool the filters.
Thanks. I just uploaded it as html/text.
Inkscape: Difference between text and curves (path)
@xashyar
I can confirm that the word “Hello” changes its relative position when opened on LibreOffice. If it is displayed on Firefox the text is centered.
Seems to be a bug.
Workaround
Before exporting from Inkscape to SVG transform the text into curves (path). You cannot edit this transformed text as a text again. When saved as a SVG file the transformed text will be centered if opened on LibreOffice Draw.