QPainterPath from QGraphicsTextItem
Is there any possibility to get a QPainterPath from a QGraphicsTextItem with rich text ?
When rendering QGraphicsScene(including QGraphicsTextItem) to a PDF Document all the Text in the Document are vectors.
So it should be possible.
Do you have any idea how i can archive this ?
There is something more general for fonts:
myPath.addText(baseline, myFont, tr("Qt"));@
I know this.
But with Rich text there can be many different fonts even in one line.
Is there any possibility to get this information and then use the code above ?