File tree Expand file tree Collapse file tree
tests/ImageSharp.Drawing.Tests/Drawing/Text Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments