Showing the changes to interface/src/ui/TextRenderer.cpp (1 of 2 files). Show all
Unified · Split
| @@ -139,7 +139,7 @@ const Glyph& TextRenderer::getGlyph(char c) { · 138 unmodified lines | ||
| 139 | 139 | painter.setFont(_font); |
| 140 | 140 | if (_effectType == SHADOW_EFFECT) { |
| 141 | 141 | for (int i = 0; i < _effectThickness; i++) { |
| 142 | − painter.drawText(-bounds.x() - i, -bounds.y() + i, ch); | |
| 142 | + painter.drawText(-bounds.x() - 1 - i, -bounds.y() + 1 + i, ch); | |
| 143 | 143 | } |
| 144 | 144 | } else if (_effectType == OUTLINE_EFFECT) { |
| 145 | 145 | QPainterPath path; |