Failure to append spaces and insert newlines in <text> without <tspan>
Bug #167647 reported by
Tovrstra
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Medium
|
Richard Hughes |
Bug Description
Hi,
When opening svg files created with matplotlib, I had
two problems with editing text strings that were
created by matplotlib:
1) It is not possible to append a space at the end of a
text string.
2) When pressing enter in the middle of a string, the
new line is put at the same height of the original line.
I have attached an example svg file created with
matplotlib. I think the problems are related to the
fact that matplotlib does not place the text fragments
inside a <tspan></tspan>:
<text style="font-size: 7.000000; font-family:
Bitstream Vera Serif; font-style: Roman; fill:
#000000;" x="67.000000" y="397.
Is this a matplotlib or a inkscape problem?
1) I don't know why this should be useful?
2) Confirmed. Inkscape Ignores Newlines in text.
I tested it with the appended file. It has nothing to do
with <tspan>.