Skip to content

Commit 287987a

Browse files
Update DrawTextOnImageTests.cs
1 parent fb62dd1 commit 287987a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/ImageSharp.Drawing.Tests/Drawing/Text/DrawTextOnImageTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class DrawTextOnImageTests
2727
? ImageComparer.TolerantPercentage(1e-2f) // Relax comparison on .NET Framework and .NET Core 2.x
2828
: ImageComparer.TolerantPercentage(1e-5f);
2929

30-
private static readonly ImageComparer OutlinedTextDrawingComparer = ImageComparer.TolerantPercentage(5e-4f);
30+
private static readonly ImageComparer OutlinedTextDrawingComparer = ImageComparer.TolerantPercentage(6e-4f);
3131

3232
public DrawTextOnImageTests(ITestOutputHelper output)
3333
=> this.Output = output;
@@ -331,8 +331,8 @@ public void FontShapesAreRenderedCorrectly_WithLineSpacing<TPixel>(
331331

332332
Color color = Color.Black;
333333

334-
// NET472 is 0.0032 different.
335-
var comparer = ImageComparer.TolerantPercentage(0.004f);
334+
// NET472 is 0.0045 different.
335+
var comparer = ImageComparer.TolerantPercentage(0.0046F);
336336

337337
provider.VerifyOperation(
338338
comparer,

0 commit comments

Comments
 (0)