Unsolved How to change thickness of letters?
-
Hi,
I would like to have a filled letters and I have it:
But I would like to change thickness ( black border ). I don't want use setStyleSheet ( maybe it is impossible ). How can I change that?
QPainter painter(this); QPainterPath painterPath; painter.setRenderHint(QPainter::Antialiasing); painterPath.addText(100,600,font(),"some text"); painter.fillPath(painterPath, Qt::red); painter.drawPath(painterPath);
I tried with
QFont f = font(); f.setWeight(50);
But with no good result.
-
@qwe3 said in How to change thickness of letters?:
But I would like to change thickness ( black border )