<br><br><div><span class="gmail_quote">2007/6/20, Ian Wadham &lt;<a href="mailto:ianw2@optusnet.com.au">ianw2@optusnet.com.au</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I appreciate that fonts and languages affect the required width, so<br>perhaps there is also somewhere some simple function that tells<br>us what size is required to display a piece of text in a given font,<br>translated into the current language.
<br><br>Has anybody any ideas or pointers to example code?</blockquote><div><br>Hi Ian!<br><br>QFontMetrics can give you a text&#39;s width and height.<br></div></div><br>Guid