
Hey guys, just wondering, if there's a way to change the font size within a <text> element. Basically I guess I need a <tspan> but they create new lines, which I don't want.
Thanx in advance!
David

On Mo, 2005-01-10 at 21:53 +0100, David Christian Berg wrote:
Hey guys, just wondering, if there's a way to change the font size within a <text> element. Basically I guess I need a <tspan> but they create new lines, which I don't want.
Hmm, this doesn't seem to comply with the svg standard either, if I understand correctly.
http://www.w3.org/TR/SVG/text.html#SettingInlineProgressionDirection ("Example textdecoration01" is what you're looking for)
David

On Mon, 10 Jan 2005 21:53:37 +0100, David Christian Berg <david@...407...> wrote:
Hey guys, just wondering, if there's a way to change the font size within a <text> element. Basically I guess I need a <tspan> but they create new lines, which I don't want.
Only tspans with sodipodi:role=line create new lines. So for now you can: separate a fragment of text into a line; in XML editor, assign that tspan any style you want; remove sodipodi:role from it so it stops being a line. Clumsy, I know, but it works.

Only tspans with sodipodi:role=line create new lines. So for now you can: separate a fragment of text into a line; in XML editor, assign that tspan any style you want; remove sodipodi:role from it so it stops being a line. Clumsy, I know, but it works.
Hmm, gotta try that again, I hadn't managed... I had seen that sodipoi:role and had removed it, i though.... let me try again

On Di, 2005-01-11 at 00:08 +0100, David Christian Berg wrote:
Only tspans with sodipodi:role=line create new lines. So for now you can: separate a fragment of text into a line; in XML editor, assign that tspan any style you want; remove sodipodi:role from it so it stops being a line. Clumsy, I know, but it works.
Hmm, gotta try that again, I hadn't managed... I had seen that sodipoi:role and had removed it, i though.... let me try again
Seriously, doesn't work for me.. I have a text with Line, Line, and a Line where I want to change the Style.
Text text text <empty line> Clausthal, January 11th 2005
now I want to have the th to be superscript, that means decreasing the font size and moving it up, so I need it to be a seperate tspan.
But it won't work... what am I doing wrong... I'm removing the sodipodi:roles...
Still I get:
Clausthal, January 11 th 2005
David

On Tue, 11 Jan 2005 00:18:48 +0100, David Christian Berg <david@...407...> wrote:
Seriously, doesn't work for me.. I have a text with Line, Line, and a Line where I want to change the Style.
Sorry, forgot to mention, you also need to delete x/y attrs from that tspan. Then it will jump back to the previous line.

On Mo, 2005-01-10 at 19:26 -0400, bulia byak wrote:
On Tue, 11 Jan 2005 00:18:48 +0100, David Christian Berg <david@...407...> wrote:
Seriously, doesn't work for me.. I have a text with Line, Line, and a Line where I want to change the Style.
Sorry, forgot to mention, you also need to delete x/y attrs from that tspan. Then it will jump back to the previous line.
That did the job. Thanks!

On Tue, 11 Jan 2005, David Christian Berg wrote:
But it won't work... what am I doing wrong... I'm removing the sodipodi:roles...
I think you'll still need to remove the x, y, dx, and dy attributes. None of the sodipodi: or inkscape: attributes [are supposed to] affect rendering (just editing).
-mental

On Mon, 10 Jan 2005, David Christian Berg wrote:
Hey guys, just wondering, if there's a way to change the font size within a <text> element. Basically I guess I need a <tspan> but they create new lines, which I don't want.
As far as I know <tspans> shouldn't create new lines, except when sodipodi:role="line"
-mental
participants (3)
-
bulia byak
-
David Christian Berg
-
MenTaLguY