K... I will correct them all here this afternoon. Sorry about that, it was the fastest way to achieve the bolding not knowing about being able to do child tspans (which I should have just asked about, and will make sure to in the future).
Would you prefer that I do the child tspans on the existing tutorials, or should I just spend a little more time and flowtext it all (and do the bold in that)?
Actually I suppose the better question is... If it is done with the tspans in the tutorials current form, will the text still be editable via the Text UI? If so it makes sense to me to do that instead of flowtext (at this point), so people can edit the text w/o the XML editor... I assume if it does work w/ text UI, they would lose the "extra" formatting when applying changes though, correct?
Let me know your thoughts so I can get cranking...
-Josh
-----Original Message----- From: bulia byak [mailto:buliabyak@...400...] Sent: Tuesday, November 23, 2004 1:03 PM To: Joshua A. Andler Cc: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] Tutorials for .40
Joshua, I'm working on the calligraphy one and I noticed that you did the bold key names as separate text oobjects. This is a really bad way to do it, please revert this change if you can. Sorry I did not discuss this before, I just did not expect that you will do this. The correct way to do this is of course by creating child <tspan>s in the main text object and assigning style to them. That's what I meant when I told you we don't yet have UI for this. In a future version it will be as easy as selecting a fragment with mouse drag or shift+arrows and pressing a button for bold or italic. The entire text will be editable as a whole. This is possible to do now via XML editor or by manual editing of SVG, and when you mentioned you're still doing it I assumed this was what you were doing. The way you did it (in Calligraphy tutorial at least) is bad because the text is not editable and the alignment is easy to break. Please change that. Here's how you do it properly:
<text><tspan sodipodi:role="line">This is some text with <tspan style="font-weight:bold">bold</tspan> fragment in it.</tspan></text>