So why QPainterPath does not provide such functions.
Because they are meant for different things, this is why you have QPainter and QPainterPath.
QPainterPath is a PATH, not a PAINTER.
A path has nothing to do with text particularities.