Hi,
if i make a text and type it in direct on the sheet the tspan get x and y coordinates.
Typing the text via ctrl+shit+t and text-window the tspan created without coordinates.
Good to know they can be created without coordinates, was afraid to calculate new lines via font-size and spacing.
But why not make it more clear and discard the coordinates at all?
greetz
tspan with and without coordinates
Re: tspan with and without coordinates
iconberg wrote:Hi,
if i make a text and type it in direct on the sheet the tspan get x and y coordinates.
Typing the text via ctrl+shit+t and text-window the tspan created without coordinates.
Good to know they can be created without coordinates, was afraid to calculate new lines via font-size and spacing.
But why not make it more clear and discard the coordinates at all?
greetz
Before trying was thinking you were confusing flowed text, with "simple" text, or that you were using 0.48 version
But after some trying I see the diferences
Code: Select all
<g
inkscape:label="Capa 1"
inkscape:groupmode="layer"
id="layer1">
<text
xml:space="preserve"
style="..."
x="275.81104"
y="570.18896"
id="text3364"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3368">hola mundo</tspan><tspan
sodipodi:role="line"
id="tspan3370">adiós mundo</tspan></text>
<text
xml:space="preserve"
style="..."
x="283.74802"
y="685.27557"
id="text3372"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3374"
x="283.74802"
y="685.27557">hola mundo</tspan><tspan
sodipodi:role="line"
x="283.74802"
y="735.27557"
id="tspan3376">adios mundo</tspan></text>
</g>
There are a "1000 ways to die" with SVG format. Maybe a developer forget that subtle change. It's my biased opinion, we are humans after all.
Also, I note that the lines without coordinates appear like one single line, when opening the file with firefox.
I'm afraid you wil have to take in account the coordiantes of each line of text.
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.
Re: tspan with and without coordinates
So its a bug, not a feature?
Maybe it is a feature and only the export as normal svg is broken...
Maybe it is a feature and only the export as normal svg is broken...
Re: tspan with and without coordinates
iconberg wrote:So its a bug, not a feature?
Maybe it is a feature and only the export as normal svg is broken...
Jeje... if your question its's not retorical... I don't know... I think it's something unexpected...
That may change... or not...
To learn a little more of tspan
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.
Re: tspan with and without coordinates
hulf2012 wrote:Jeje... if your question its's not retorical... I don't know... I think it's something unexpected...
That may change... or not...
Just retorical like: To be or not to be
Well, the offset via dx, dy is interesting, so it would be possible to move a text only by changing the parent. But not used yet by inkscape if i see it right.
Well, i cant find it in the bug launchpad so i hope it is a feature