diff --git a/lib/jkqtmathtext/nodes/jkqtmathtexttextnode.cpp b/lib/jkqtmathtext/nodes/jkqtmathtexttextnode.cpp index c3d5f50913..22282745df 100644 --- a/lib/jkqtmathtext/nodes/jkqtmathtexttextnode.cpp +++ b/lib/jkqtmathtext/nodes/jkqtmathtexttextnode.cpp @@ -62,7 +62,7 @@ void JKQTMathTextTextBaseNode::drawString(QPainter &painter, const JKQTMathTextE void JKQTMathTextTextBaseNode::drawString(QPainter &painter, const JKQTMathTextEnvironment ¤tEv, const QFont &f, double x, double y, const QString &txt) const { const QFontMetricsF fm(f, painter.device()); - const QPen p(currentEv.color, fm.lineWidth(), Qt::SolidLine); + const QPen p(currentEv.color, fm.lineWidth()/2.0, Qt::SolidLine); painter.setPen(p); if (currentEv.font==MTEblackboard && parentMathText->isFontBlackboardSimulated()) { QPainterPath path;