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 @@ -23,7 +23,7 @@ public class DrawTextOnImageTests
2323 private const string TestText = "Sphinx of black quartz, judge my vow\n 0123456789" ;
2424
2525 private static readonly ImageComparer TextDrawingComparer = TestEnvironment . IsFramework || TestEnvironment . NetCoreVersion . StartsWith ( "2" )
26- ? ImageComparer . TolerantPercentage ( 1e-3f ) // Relax comparison on .NET Framework and .NET Core 2.x
26+ ? ImageComparer . TolerantPercentage ( 1e-2f ) // Relax comparison on .NET Framework and .NET Core 2.x
2727 : ImageComparer . TolerantPercentage ( 1e-5f ) ;
2828
2929 private static readonly ImageComparer OutlinedTextDrawingComparer = ImageComparer . TolerantPercentage ( 5e-4f ) ;
@@ -330,8 +330,8 @@ public void FontShapesAreRenderedCorrectly_WithLineSpacing<TPixel>(
330330
331331 Color color = Color . Black ;
332332
333- // NET472 is 0.0002 different.
334- var comparer = ImageComparer . TolerantPercentage ( 0.0003f ) ;
333+ // NET472 is 0.0032 different.
334+ var comparer = ImageComparer . TolerantPercentage ( 0.004f ) ;
335335
336336 provider . VerifyOperation (
337337 comparer ,
You can’t perform that action at this time.
0 commit comments