Text run-around take 2

Some time ago I blogged about how KWord can now run around the outline of any shape you place in its text flow. One thing I have had on my TODO ever since was allowing a user to create a custom run-around outline that is separate from the outline of the actual shape we run around.

Yesterday morning I woke up and realized that actually its not that hard to do, and even while it was a feature for post-2.0 I sat down and did it anyway. Just 2 hours later I had a working prototype and this morning I dotted the I's and committed the stuff.

It works like this;
when you insert new content in KWord it is always embedded in a frame. Just like in KWord 1.x. The difference in 2.0 is that if you insert a star or some vector based shape the outline is not square it will follow the contour of the actual content. If that shape is on top of a text shape the text will then position itself a to avoid the outline giving a bit more organic view.

Now if you insert a photo, you always have a square outline. As is the nature of images. Which means that you still don't get the result you want, namely that text runs around the contour of your content. So, you have to tell KWord what your contour is, as it can't find out itself.

If you look at the following screenshot you will notice the black vector line which I drew inside of KWord to make the outline actually be around the flower instead of around the whole picture. And the text runs around that outline. This black line will not be printed, it is only for editing purposes.

This shows the flake concept very strongly, you can edit the vector outline inside your KWord using the same tool as you'd use in karbon, and as a bonus you get to see the text reposition in real time while editing. Pretty neat.


Sweet stuff you're doing there, and very useful too!

It'd be great if kword could automatically look for embedded paths in tif/psd/whatever files and use these. Like Quark/InDesign etc. do.

By John Woo at Mon, 07/30/2007 - 14:56

While I really like the new feature I'm a little bit worried about the bad font kerning in the screenshot (see e.g.: ali_q_u_am er_at).

Is this caused by the used font or do we have still have to expect bad font rendering with Qt4?



By schnebeck at Mon, 07/30/2007 - 20:43

Hello !!!

It´s very interesting all you are talking about ... I want to know if someone can help me and give me more information of this items because I want to learn and understand a little more.

Thanks a lot


Submited by : Bebes

By caballosweb at Thu, 03/13/2008 - 18:04