mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2025-06-29 20:49:18 +02:00
Adjusted text path placement
This commit is contained in:
@ -36,7 +36,7 @@ void TextPathItem::paint(QPainter *painter,
|
||||
|
||||
painter->translate(point);
|
||||
painter->rotate(-angle);
|
||||
painter->drawText(QPoint(0, 0), _text.at(i));
|
||||
painter->drawText(QPoint(0, fm.descent()), _text.at(i));
|
||||
painter->resetTransform();
|
||||
|
||||
int width = fm.charWidth(_text, i);
|
||||
|
Reference in New Issue
Block a user