diff options
-rw-r--r-- | src/svg/qsvggraphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/qsvggraphics.cpp b/src/svg/qsvggraphics.cpp index fda8ad1..6552b69 100644 --- a/src/svg/qsvggraphics.cpp +++ b/src/svg/qsvggraphics.cpp @@ -434,7 +434,7 @@ void QSvgText::draw(QPainter *p, QSvgExtraStates &states) text.append(QLatin1Char('\n')); text.append(paragraphs[i]); } - states.svgFont->draw(p, m_coord, text, p->font().pointSizeF() * scale, states.textAnchor); + states.svgFont->draw(p, m_coord * scale, text, p->font().pointSizeF() * scale, states.textAnchor); } else { for (int i = 0; i < paragraphs.size(); ++i) { QTextLayout tl(paragraphs[i]); |