From b493d3be9bf27f1085cfc0c106e9530aad019f75 Mon Sep 17 00:00:00 2001 From: Ben Caradoc-Davies Date: Thu, 21 Sep 2017 10:48:17 +1200 Subject: [PATCH] [GEOT-5829] Font antialiasing differences cause gt-mbstyle VisualTransformerTest failures on OpenJDK --- .../org/geotools/mbstyle/transform/VisualTransformerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/unsupported/mbstyle/src/test/java/org/geotools/mbstyle/transform/VisualTransformerTest.java b/modules/unsupported/mbstyle/src/test/java/org/geotools/mbstyle/transform/VisualTransformerTest.java index d21c16d468b..612efa4967b 100644 --- a/modules/unsupported/mbstyle/src/test/java/org/geotools/mbstyle/transform/VisualTransformerTest.java +++ b/modules/unsupported/mbstyle/src/test/java/org/geotools/mbstyle/transform/VisualTransformerTest.java @@ -684,7 +684,7 @@ public void testVisualizeStyleWithPointFeatures(JSONObject jsonStyle, String ren renderer.setJava2DHints(new RenderingHints(KEY_ANTIALIASING, VALUE_ANTIALIAS_ON)); BufferedImage image = MapboxTestUtils.showRender(renderTitle, renderer, DISPLAY_TIME, new ReferencedEnvelope[] { bounds }, null, width, height); - ImageAssert.assertEquals(file(renderComparisonFileName), image, 50); + ImageAssert.assertEquals(file(renderComparisonFileName), image, 900); mc.dispose(); } @@ -710,7 +710,7 @@ public void testVisualizeStyleWithLineFeatures(JSONObject jsonStyle, String rend renderer.setJava2DHints(new RenderingHints(KEY_ANTIALIASING, VALUE_ANTIALIAS_ON)); BufferedImage image = MapboxTestUtils.showRender(renderTitle, renderer, DISPLAY_TIME, new ReferencedEnvelope[] { bounds }, null); - ImageAssert.assertEquals(file(renderComparisonFileName), image, 50); + ImageAssert.assertEquals(file(renderComparisonFileName), image, 900); mc.dispose(); }