OK, didn't try hard enough! Paint.Font.RichTextWidth(TextString) should do the trick. -- View this message in context: http://old.nabble.com/Gambas3-Printing---text-width-tp32991752p32992108.html Sent from the gambas-user mailing list archive at Nabble.com.