Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello,
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: @QPainterPath myPath; 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 ?