How to position bounding box of rotated text?

Hello,

I am mailing to the list because I struggle to position a rotated text element in the desired manner. I want to achieve the following:

 - A text element shall be rotated by `a` degree.
 - The resulting (imaginary) bounding box of the rotated text shall be translated, so that its upper left is at position `x,y`.
 - I don't know the content, i.e., the width, of the text element beforehand.

How can I achieve that without any post-processing like JavaScript in the browser? Is it possible to wrap the text element with some other element which makes up a bounding box and can be absolutely positioned?

Hoping some of you experts can lead me on the right track here. Thanks in advance!

Cheers,
Jan

Received on Thursday, 9 September 2010 10:11:45 UTC