Skip to content

Commit fa0ed28

Browse files
committed
Fix J8 vertical text placement regression in the software renderer
1 parent fa6fa9a commit fa0ed28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/juce_graphics/native/juce_RenderingHelpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2680,7 +2680,7 @@ class StackBasedLowLevelGraphicsContext : public LowLevelGraphicsContext
26802680
if (auto fill = colourLayer->colour)
26812681
stack->setFillType (*fill);
26822682

2683-
stack->fillEdgeTable (colourLayer->clip, drawPosition.x, (int) drawPosition.y);
2683+
stack->fillEdgeTable (colourLayer->clip, drawPosition.x, roundToInt (drawPosition.y));
26842684
}
26852685
else if (auto* imageLayer = std::get_if<ImageLayer> (&layer.layer))
26862686
{

0 commit comments

Comments
 (0)