Uploaded image for project: 'GeoTools'
  1. GEOT-5829

Font antialiasing differences cause gt-mbstyle VisualTransformerTest failures on OpenJDK

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 18-RC1
    • Fix Version/s: 18-RC1
    • Component/s: mbstyle
    • Labels:
      None
    • Environment:

      Description

      Font antialiasing differences cause gt-mbstyle VisualTransformerTest failures on OpenJDK 1.8.0_144:

      Failed tests: 
        VisualTransformerTest.mbSymbolLayerIconAndTextLinePlacementVisualTest:435->testVisualizeStyleWithLineFeatures:713 Images are visibly different, found 63 different pixels, against a threshold of 50
      You can add -Dorg.geotools.image.test.interactive=true to show a dialog comparing them (requires GUI support)
        VisualTransformerTest.mbSymbolLayerTextVisualTest:375->testVisualizeStyleWithPointFeatures:687 Images are visibly different, found 318 different pixels, against a threshold of 50
      You can add -Dorg.geotools.image.test.interactive=true to show a dialog comparing them (requires GUI support)
        VisualTransformerTest.mbSymbolLayerTextTransformVisualTest:414->testVisualizeStyleWithLineFeatures:713 Images are visibly different, found 93 different pixels, against a threshold of 50
      You can add -Dorg.geotools.image.test.interactive=true to show a dialog comparing them (requires GUI support)
        VisualTransformerTest.mbSymbolLayerTextLinePlacementVisualTest:404->testVisualizeStyleWithLineFeatures:713 Images are visibly different, found 370 different pixels, against a threshold of 50
      You can add -Dorg.geotools.image.test.interactive=true to show a dialog comparing them (requires GUI support)
        VisualTransformerTest.mbSymbolLayerIconAndTextPointPlacementVisualTest:445->testVisualizeStyleWithPointFeatures:687 Images are visibly different, found 228 different pixels, against a threshold of 50
      You can add -Dorg.geotools.image.test.interactive=true to show a dialog comparing them (requires GUI support)
      

      Solution is to increase comparison tolerance as for text-based gt-render tests.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                bencaradocdavies Ben Caradoc-Davies
                Reporter:
                bencaradocdavies Ben Caradoc-Davies
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: