If you want to re-enable stroke, what has to be done is create a QPAinterPath add the text to it, then draw it using the QPainter, instead of directly drawing the text with the QPainter. You will need to be careful with the auto resizing code, making sure the metrics its uses are the same metrics that will be sued for the final text painting.
|