I have 2 layers, each have a text. When i view the text in inkscape both seems to be right underneath each othter.
However when i use a tool to convert te svg to a png, 1 of the 2 text is of by 21px.
The top layer dispalys the text correctly and the lower doens't.
As i see, there is a 21 px difference between the 2 x values of the texts on the 2 layers.
So the convertion tool is correct in my opinion to put a 21 px difference.
But why does it show underneath each other in inkscape?
I need the text to be underneath each other.
Code: Select all
<g
inkscape:groupmode="layer"
id="layer33"
inkscape:label="Z-35-6LBE-3"
style="display:none"
sodipodi:insensitive="true"
transform="translate(0,-2.5390623e-6)">
<text
xml:space="preserve"
style="font-size:14px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;display:inline;font-family:Sans"
x="57.123074"
y="399.51675"
id="text6842-7-4-8-6-1"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan6844-83-4-1-2-1"
x="57.123074"
y="399.51675">Z-35-6</tspan><tspan
sodipodi:role="line"
x="57.123074"
y="417.01675"
id="tspan4972">LBE-3</tspan></text>
</g>
<g
inkscape:groupmode="layer"
id="layer36"
inkscape:label="Z-35-6ALBE-3"
style="display:none"
sodipodi:insensitive="true"
transform="translate(0,-2.5390623e-6)">
<text
xml:space="preserve"
style="font-size:14px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;display:inline;font-family:Sans"
x="78.161217"
y="321.5582"
id="text6842-7-4-8-6-9-59"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan6844-83-4-1-2-5-4"
x="78.161217"
y="321.5582">Z-35-6A</tspan><tspan
sodipodi:role="line"
x="78.161217"
y="339.0582"
id="tspan4966">LBE-3</tspan></text>
</g>I've read somewhere that the transform attribute could be a reason, but since they have the same values on both layers...