diff -r 05ce5a34c497 -r 43ce3672648a src/ui/canvas.cpp --- a/src/ui/canvas.cpp Tue Jan 26 12:21:35 2021 +0200 +++ b/src/ui/canvas.cpp Tue Jan 26 18:02:17 2021 +0200 @@ -203,7 +203,7 @@ position += QPointF{0, static_cast(-fontMetrics.descent())}; break; case geom::RectangleSide::Right: - position += QPointF{static_cast(-fontMetrics.width(text)), 0}; + position += QPointF{static_cast(-fontMetrics.horizontalAdvance(text)), 0}; break; } painter.drawText(position, text);