mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-24 03:35:54 +01:00
Adjusted text path placement
This commit is contained in:
parent
447aa9bb22
commit
df40c06afc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user