Weird problem with svg files, especially if save, close and reopen is that when pasting texts from libreoffice, the texts are all aligned to left.
But after save+close+reopen when modifying the fields by pasting text to them, no matter is part of the text selected or all, the text changes to centered even if the text in libre office is not centered. Also new gui toolbar has left align as default and you cannot click it. Only can fix by first selecting some other alignment like justify, then open again and click left align (by hover to scroll the stupid button's choises up or down)
Generally if I am copy and paste from word / libreoffice writer / webpages - I go via an intermediate program which does not support formatting other than whitepace.
In windows that would be notepad ( not wordpad )
In Linux something simple like gedit
This has the effect of destroying all formatting info before pasting.
after pasting the texts from libre office they were left-aligned
but after re-opening the doc and even editing the text made it jump to center... so there might be something strange here. will post more info when have some proofs
you'll see that i have text that has been duplicated and copy-pasted within inkscape. The text is left and stays left when you type letters in between.
But as soon as you ctrl-a for all text and TYPE some letters (not paste anything!) the text gets right or center or whatever. Also next steps you'll see how annoying the left/right/justify button is, you cannot choose left even when the text is not clearly left, you have to click something else first and then again left..
now when I saved the document first in svg then in pdf and closed, no edits in between. Then I re-opened the .svg, many of the texts were jumped to the right alignment. And when opening the pdf, there they are 100% left!
Here is the style of one of the text boxes in broken svg:
This is still a problem, even if not pasting any text the GUI button of text align is not working correctly.
When selecting text and choosing other than left and then again, the left is selected and cannot change to that. But the text is not really left-aligned, it has xml style of END🤯
Weird problem with svg files, especially if save, close and reopen is that when pasting texts from libreoffice, the texts are all aligned to left.
But after save+close+reopen when modifying the fields by pasting text to them, no matter is part of the text selected or all, the text changes to centered even if the text in libre office is not centered.
Also new gui toolbar has left align as default and you cannot click it. Only can fix by first selecting some other alignment like justify, then open again and click left align (by hover to scroll the stupid button's choises up or down)
Inksacpe 1.2.1 win 10
Generally if I am copy and paste from word / libreoffice writer / webpages - I go via an intermediate program which does not support formatting other than whitepace.
In windows that would be notepad ( not wordpad )
In Linux something simple like gedit
This has the effect of destroying all formatting info before pasting.
Typically, I use an intermediary application that only supports whitepace formatting when I copy and paste from word, libreoffice writer, or websites.
That would be notepad in Windows ( not wordpad )
Something basic like gedit in Linux.
All formatting information is destroyed before pasting as a result of this.
This was actually not that simple
after pasting the texts from libre office they were left-aligned
but after re-opening the doc and even editing the text made it jump to center... so there might be something strange here. will post more info when have some proofs
It is common to use "Remove manual Kerns" when pasting from external sources.
Okay, here is a video:
pastefile.com/d5zazt
about 3 megabytes
you'll see that i have text that has been duplicated and copy-pasted within inkscape. The text is left and stays left when you type letters in between.
But as soon as you ctrl-a for all text and TYPE some letters (not paste anything!) the text gets right or center or whatever. Also next steps you'll see how annoying the left/right/justify button is, you cannot choose left even when the text is not clearly left, you have to click something else first and then again left..
can someone repeat this ?
Holy crab!
this is driving me crazy
now when I saved the document first in svg then in pdf and closed, no edits in between.
Then I re-opened the .svg, many of the texts were jumped to the right alignment. And when opening the pdf, there they are 100% left!
Here is the style of one of the text boxes in broken svg:
font-size:8.66667px;line-height:1.25;font-family:Arial;-inkscape-font-specification:Arial;text-align:end;text-decoration-color:#000000;white-space:pre;shape-inside:url(#rect1924);display:inline;fill:#000000;stroke-width:11.3386;stroke-dashoffset:0.340157;stop-color:#000000
And here is it when it's still aligned to left (looks okay, text is aligned to left even if the style says end ??? )
font-size:8.66667px;line-height:1.25;font-family:Arial;-inkscape-font-specification:Arial;text-align:end;text-decoration-color:#000000;text-anchor:end;white-space:pre;shape-inside:url(#rect1924);display:inline;fill:#000000;stroke-width:11.3386;stroke-dashoffset:0.340157;stop-color:#000000
and if i fix the first code shown with text aligh to justify and then to left, the xml code will look like this:
font-size:8.66667px;line-height:1.25;font-family:Arial;-inkscape-font-specification:Arial;text-align:end;text-decoration-color:#000000;white-space:pre;shape-inside:url(#rect1924);display:inline;fill:#000000;stroke-width:11.3386;stroke-dashoffset:0.340157;stop-color:#000000
This is still a problem, even if not pasting any text the GUI button of text align is not working correctly.
When selecting text and choosing other than left and then again, the left is selected and cannot change to that. But the text is not really left-aligned, it has xml style of END🤯