Maybe it helps to have a look at the implementation of QwtRichTextEngine::textSize(): http://qwt.svn.sourceforge.net/viewv...60&view=markup.

Uwe