diff --git a/jzy3d-tests-java9/README_GENERATED.md b/jzy3d-tests-java9/README_GENERATED.md
index 7b28ec33..d22d3252 100644
--- a/jzy3d-tests-java9/README_GENERATED.md
+++ b/jzy3d-tests-java9/README_GENERATED.md
@@ -8,12 +8,16 @@ This is a summary of existing baseline images for tests.
EmulGL_AWT HiDPI:OFF |
Native_AWT HiDPI:ON |
Native_AWT HiDPI:OFF |
+Native_Swing HiDPI:ON |
+Native_Swing HiDPI:OFF |
|
|
|
|
+ |
+ |
@@ -24,12 +28,16 @@ This is a summary of existing baseline images for tests.
EmulGL_AWT HiDPI:OFF |
Native_AWT HiDPI:ON |
Native_AWT HiDPI:OFF |
+Native_Swing HiDPI:ON |
+Native_Swing HiDPI:OFF |
|
|
|
|
+ |
+ |
@@ -40,12 +48,16 @@ This is a summary of existing baseline images for tests.
EmulGL_AWT HiDPI:OFF |
Native_AWT HiDPI:ON |
Native_AWT HiDPI:OFF |
+Native_Swing HiDPI:ON |
+Native_Swing HiDPI:OFF |
|
|
|
|
+ |
+ |
@@ -56,12 +68,16 @@ This is a summary of existing baseline images for tests.
EmulGL_AWT HiDPI:OFF |
Native_AWT HiDPI:ON |
Native_AWT HiDPI:OFF |
+Native_Swing HiDPI:ON |
+Native_Swing HiDPI:OFF |
|
|
|
|
+ |
+ |
@@ -72,12 +88,16 @@ This is a summary of existing baseline images for tests.
EmulGL_AWT HiDPI:OFF |
Native_AWT HiDPI:ON |
Native_AWT HiDPI:OFF |
+Native_Swing HiDPI:ON |
+Native_Swing HiDPI:OFF |
|
|
|
|
+ |
+ |
@@ -88,12 +108,16 @@ This is a summary of existing baseline images for tests.
EmulGL_AWT HiDPI:OFF |
Native_AWT HiDPI:ON |
Native_AWT HiDPI:OFF |
+Native_Swing HiDPI:ON |
+Native_Swing HiDPI:OFF |
|
|
|
|
+ |
+ |
@@ -104,12 +128,16 @@ This is a summary of existing baseline images for tests.
EmulGL_AWT HiDPI:OFF |
Native_AWT HiDPI:ON |
Native_AWT HiDPI:OFF |
+Native_Swing HiDPI:ON |
+Native_Swing HiDPI:OFF |
|
|
|
|
+ |
+ |
@@ -120,12 +148,16 @@ This is a summary of existing baseline images for tests.
EmulGL_AWT HiDPI:OFF |
Native_AWT HiDPI:ON |
Native_AWT HiDPI:OFF |
+Native_Swing HiDPI:ON |
+Native_Swing HiDPI:OFF |
|
|
|
|
+ |
+ |
@@ -136,12 +168,16 @@ This is a summary of existing baseline images for tests.
EmulGL_AWT HiDPI:OFF |
Native_AWT HiDPI:ON |
Native_AWT HiDPI:OFF |
+Native_Swing HiDPI:ON |
+Native_Swing HiDPI:OFF |
|
|
|
|
+ |
+ |
diff --git a/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest.java b/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest.java
index bddee1ab..26227bc7 100644
--- a/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest.java
+++ b/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest.java
@@ -41,7 +41,7 @@ public class ITTest {
static boolean runOffscreen = false;
public enum WT{
- EmulGL_AWT, Native_AWT
+ EmulGL_AWT, Native_AWT, Native_Swing
}
protected String indexFileName = "README_GENERATED.md";
@@ -96,6 +96,8 @@ public class ITTest {
line(sb, ""+ title(WT.EmulGL_AWT, HiDPI.OFF) +" | ");
line(sb, ""+ title(WT.Native_AWT, HiDPI.ON) +" | ");
line(sb, ""+ title(WT.Native_AWT, HiDPI.OFF) +" | ");
+ line(sb, ""+ title(WT.Native_Swing, HiDPI.ON) +" | ");
+ line(sb, ""+ title(WT.Native_Swing, HiDPI.OFF) +" | ");
line(sb, "");
@@ -104,6 +106,8 @@ public class ITTest {
line(sb, "" + imgTest(name(testName, caseName, WT.EmulGL_AWT, HiDPI.OFF, info))+ " | ");
line(sb, "" + imgTest(name(testName, caseName, WT.Native_AWT, HiDPI.ON, info))+ " | ");
line(sb, "" + imgTest(name(testName, caseName, WT.Native_AWT, HiDPI.OFF, info))+ " | ");
+ line(sb, "" + imgTest(name(testName, caseName, WT.Native_Swing, HiDPI.ON, info))+ " | ");
+ line(sb, "" + imgTest(name(testName, caseName, WT.Native_Swing, HiDPI.OFF, info))+ " | ");
line(sb, "");
if(false) {
@@ -112,6 +116,8 @@ public class ITTest {
line(sb, "" + imgDiff(name(testName, caseName, WT.EmulGL_AWT, HiDPI.OFF, info))+ " | ");
line(sb, "" + imgDiff(name(testName, caseName, WT.Native_AWT, HiDPI.ON, info))+ " | ");
line(sb, "" + imgDiff(name(testName, caseName, WT.Native_AWT, HiDPI.OFF, info))+ " | ");
+ line(sb, "" + imgDiff(name(testName, caseName, WT.Native_Swing, HiDPI.ON, info))+ " | ");
+ line(sb, "" + imgDiff(name(testName, caseName, WT.Native_Swing, HiDPI.OFF, info))+ " | ");
line(sb, "");
}
@@ -158,19 +164,26 @@ public class ITTest {
System.out.println(" ITTest : " + windowingToolkit + " " + hidpi);
if(WT.EmulGL_AWT.equals(windowingToolkit)) {
- return chartEmulGL(hidpi, offscreenDimension);
+ return chart(new EmulGLChartFactory(), hidpi, offscreenDimension);
}
else if(WT.Native_AWT.equals(windowingToolkit)) {
- return chartNative(hidpi, offscreenDimension);
+ return chart(new AWTChartFactory(), hidpi, offscreenDimension);//chartNative(hidpi, offscreenDimension);
+ }
+ else if(WT.Native_Swing.equals(windowingToolkit)) {
+ return chart(new AWTChartFactory(), hidpi, offscreenDimension);//chartNative(hidpi, offscreenDimension);
}
else {
throw new IllegalArgumentException("Unsupported toolkit : " + windowingToolkit);
}
}
- public static Chart chartEmulGL(HiDPI hidpi, Rectangle offscreenDimension) {
+ /*public static Chart chartEmulGL(HiDPI hidpi, Rectangle offscreenDimension) {
ChartFactory factory = new EmulGLChartFactory();
+ return chart(factory, hidpi, offscreenDimension);
+ }*/
+
+ public static Chart chart(ChartFactory factory, HiDPI hidpi, Rectangle offscreenDimension) {
if(runOffscreen) {
factory.getPainterFactory().setOffscreen(offscreenDimension.clone());
System.err.println(" ITTest will run offscreen, which may not enable HiDPI hence produce inaccurate layout with texts");
@@ -180,6 +193,19 @@ public class ITTest {
Chart chart = factory.newChart(q);
return chart;
}
+
+ /*public static Chart chartNative(HiDPI hidpi, Rectangle offscreenDimension) {
+ AWTChartFactory factory = new AWTChartFactory();
+
+ if(runOffscreen) {
+ factory.getPainterFactory().setOffscreen(offscreenDimension.clone());
+ System.err.println(" ITTest will run offscreen, which may not enable HiDPI hence produce inaccurate layout with texts");
+ }
+
+ Quality q = quality(hidpi);
+ Chart chart = factory.newChart(q);
+ return chart;
+ }*/
public static Quality quality(HiDPI hidpi) {
Quality q = Quality.Advanced();
@@ -187,18 +213,7 @@ public class ITTest {
q.setAnimated(false);
return q;
}
-
- public static Chart chartNative(HiDPI hidpi, Rectangle offscreenDimension) {
- AWTChartFactory factory = new AWTChartFactory();
-
- if(runOffscreen)
- factory.getPainterFactory().setOffscreen(offscreenDimension.clone());
-
- Quality q = quality(hidpi);
- Chart chart = factory.newChart(q);
- return chart;
- }
-
+
// ---------------------------------------------------------------------------------------------- //
@SuppressWarnings("rawtypes")
diff --git a/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_AxisLabelRotateLayout.java b/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_AxisLabelRotateLayout.java
index e23fc95b..568aef27 100644
--- a/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_AxisLabelRotateLayout.java
+++ b/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_AxisLabelRotateLayout.java
@@ -29,6 +29,9 @@ public class ITTest_AxisLabelRotateLayout extends ITTest{
whenAxisLabelOrientationNotHorizontal(WT.Native_AWT, HiDPI.ON);
whenAxisLabelOrientationNotHorizontal(WT.Native_AWT, HiDPI.OFF);
+ whenAxisLabelOrientationNotHorizontal(WT.Native_Swing, HiDPI.ON);
+ whenAxisLabelOrientationNotHorizontal(WT.Native_Swing, HiDPI.OFF);
+
whenAxisLabelOrientationNotHorizontal(WT.EmulGL_AWT, HiDPI.OFF);
whenAxisLabelOrientationNotHorizontal(WT.EmulGL_AWT, HiDPI.ON);
}
diff --git a/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Colorbar.java b/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Colorbar.java
index ca152ea7..02ad8c57 100644
--- a/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Colorbar.java
+++ b/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Colorbar.java
@@ -43,6 +43,9 @@ public class ITTest_Colorbar extends ITTest{
whenColorbar_IsModifiedByCustomFont(WT.Native_AWT, HiDPI.OFF);
whenColorbar_IsModifiedByCustomFont(WT.Native_AWT, HiDPI.ON);
+ whenColorbar_IsModifiedByCustomFont(WT.Native_Swing, HiDPI.OFF);
+ whenColorbar_IsModifiedByCustomFont(WT.Native_Swing, HiDPI.ON);
+
whenColorbar_IsModifiedByCustomFont(WT.EmulGL_AWT, HiDPI.ON);
whenColorbar_IsModifiedByCustomFont(WT.EmulGL_AWT, HiDPI.OFF);
}
@@ -79,6 +82,9 @@ public class ITTest_Colorbar extends ITTest{
whenColorbar_HasMininumWidth(WT.Native_AWT, HiDPI.OFF);
whenColorbar_HasMininumWidth(WT.Native_AWT, HiDPI.ON);
+ whenColorbar_HasMininumWidth(WT.Native_Swing, HiDPI.OFF);
+ whenColorbar_HasMininumWidth(WT.Native_Swing, HiDPI.ON);
+
whenColorbar_HasMininumWidth(WT.EmulGL_AWT, HiDPI.ON);
@@ -121,6 +127,9 @@ public class ITTest_Colorbar extends ITTest{
whenColorbar_ShrinkBigFont(WT.Native_AWT, HiDPI.OFF);
whenColorbar_ShrinkBigFont(WT.Native_AWT, HiDPI.ON);
+ whenColorbar_ShrinkBigFont(WT.Native_Swing, HiDPI.OFF);
+ whenColorbar_ShrinkBigFont(WT.Native_Swing, HiDPI.ON);
+
whenColorbar_ShrinkBigFont(WT.EmulGL_AWT, HiDPI.ON);
whenColorbar_ShrinkBigFont(WT.EmulGL_AWT, HiDPI.OFF);
@@ -172,7 +181,10 @@ public class ITTest_Colorbar extends ITTest{
whenColorbar_Shrink(WT.Native_AWT, HiDPI.OFF);
whenColorbar_Shrink(WT.Native_AWT, HiDPI.ON);
-
+
+ whenColorbar_Shrink(WT.Native_Swing, HiDPI.OFF);
+ whenColorbar_Shrink(WT.Native_Swing, HiDPI.ON);
+
whenColorbar_Shrink(WT.EmulGL_AWT, HiDPI.OFF);
whenColorbar_Shrink(WT.EmulGL_AWT, HiDPI.ON);
}
diff --git a/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Scatter.java b/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Scatter.java
index f9af584f..4daa8d8a 100644
--- a/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Scatter.java
+++ b/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Scatter.java
@@ -17,8 +17,12 @@ public class ITTest_Scatter extends ITTest{
whenScatterChart_ThenMatchBaselineImagePixelwise(WT.Native_AWT, HiDPI.OFF);
whenScatterChart_ThenMatchBaselineImagePixelwise(WT.Native_AWT, HiDPI.ON);
+ whenScatterChart_ThenMatchBaselineImagePixelwise(WT.Native_Swing, HiDPI.OFF);
+ whenScatterChart_ThenMatchBaselineImagePixelwise(WT.Native_Swing, HiDPI.ON);
+
whenScatterChart_ThenMatchBaselineImagePixelwise(WT.EmulGL_AWT, HiDPI.ON);
whenScatterChart_ThenMatchBaselineImagePixelwise(WT.EmulGL_AWT, HiDPI.OFF);
+
}
private Chart whenScatterChart_ThenMatchBaselineImagePixelwise(WT wt, HiDPI hidpi) {
diff --git a/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Surface.java b/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Surface.java
index 10651d92..ec8f391b 100644
--- a/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Surface.java
+++ b/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Surface.java
@@ -8,7 +8,10 @@ public class ITTest_Surface extends ITTest{
@Test
public void whenSurfaceChart_ThenMatchBaselineImagePixelwise() {
System.out.println("ITTest : whenSurfaceChart_ThenMatchBaselineImagePixelwise");
-
+
+ whenSurfaceChart_ThenMatchBaselineImagePixelwise(WT.Native_Swing, HiDPI.ON);
+ whenSurfaceChart_ThenMatchBaselineImagePixelwise(WT.Native_Swing, HiDPI.OFF);
+
whenSurfaceChart_ThenMatchBaselineImagePixelwise(WT.Native_AWT, HiDPI.ON);
whenSurfaceChart_ThenMatchBaselineImagePixelwise(WT.Native_AWT, HiDPI.OFF);
diff --git a/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Text.java b/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Text.java
index 3d805314..44aa7f8f 100644
--- a/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Text.java
+++ b/jzy3d-tests-java9/src/test/java/org/jzy3d/tests/integration/ITTest_Text.java
@@ -42,6 +42,9 @@ public class ITTest_Text extends ITTest{
whenCustomFont(WT.Native_AWT, HiDPI.ON);
whenCustomFont(WT.Native_AWT, HiDPI.OFF);
+ whenCustomFont(WT.Native_Swing, HiDPI.ON);
+ whenCustomFont(WT.Native_Swing, HiDPI.OFF);
+
whenCustomFont(WT.EmulGL_AWT, HiDPI.ON);
whenCustomFont(WT.EmulGL_AWT, HiDPI.OFF);
}
@@ -76,6 +79,9 @@ public class ITTest_Text extends ITTest{
whenDrawableTextRenderer(WT.Native_AWT, HiDPI.ON);
whenDrawableTextRenderer(WT.Native_AWT, HiDPI.OFF);
+ whenDrawableTextRenderer(WT.Native_Swing, HiDPI.ON);
+ whenDrawableTextRenderer(WT.Native_Swing, HiDPI.OFF);
+
whenDrawableTextRenderer(WT.EmulGL_AWT, HiDPI.ON);
whenDrawableTextRenderer(WT.EmulGL_AWT, HiDPI.OFF);
}
diff --git a/jzy3d-tests-java9/src/test/resources/AxisLabelRotateLayout_Native_Swing_HiDPI=OFF.png b/jzy3d-tests-java9/src/test/resources/AxisLabelRotateLayout_Native_Swing_HiDPI=OFF.png
new file mode 100644
index 00000000..b3f2b466
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/AxisLabelRotateLayout_Native_Swing_HiDPI=OFF.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/AxisLabelRotateLayout_Native_Swing_HiDPI=ON.png b/jzy3d-tests-java9/src/test/resources/AxisLabelRotateLayout_Native_Swing_HiDPI=ON.png
new file mode 100644
index 00000000..71de82c5
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/AxisLabelRotateLayout_Native_Swing_HiDPI=ON.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Colorbar_HasMinimumWidth_Native_Swing_HiDPI=OFF.png b/jzy3d-tests-java9/src/test/resources/Colorbar_HasMinimumWidth_Native_Swing_HiDPI=OFF.png
new file mode 100644
index 00000000..d830d67a
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Colorbar_HasMinimumWidth_Native_Swing_HiDPI=OFF.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Colorbar_HasMinimumWidth_Native_Swing_HiDPI=ON.png b/jzy3d-tests-java9/src/test/resources/Colorbar_HasMinimumWidth_Native_Swing_HiDPI=ON.png
new file mode 100644
index 00000000..c9100666
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Colorbar_HasMinimumWidth_Native_Swing_HiDPI=ON.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Colorbar_IsModifiedByCustomFont_Native_Swing_HiDPI=OFF.png b/jzy3d-tests-java9/src/test/resources/Colorbar_IsModifiedByCustomFont_Native_Swing_HiDPI=OFF.png
new file mode 100644
index 00000000..833999e8
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Colorbar_IsModifiedByCustomFont_Native_Swing_HiDPI=OFF.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Colorbar_IsModifiedByCustomFont_Native_Swing_HiDPI=ON.png b/jzy3d-tests-java9/src/test/resources/Colorbar_IsModifiedByCustomFont_Native_Swing_HiDPI=ON.png
new file mode 100644
index 00000000..7523934c
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Colorbar_IsModifiedByCustomFont_Native_Swing_HiDPI=ON.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Colorbar_ShrinkBigFont_Native_Swing_HiDPI=OFF.png b/jzy3d-tests-java9/src/test/resources/Colorbar_ShrinkBigFont_Native_Swing_HiDPI=OFF.png
new file mode 100644
index 00000000..a562a811
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Colorbar_ShrinkBigFont_Native_Swing_HiDPI=OFF.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Colorbar_ShrinkBigFont_Native_Swing_HiDPI=ON.png b/jzy3d-tests-java9/src/test/resources/Colorbar_ShrinkBigFont_Native_Swing_HiDPI=ON.png
new file mode 100644
index 00000000..b3773b2b
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Colorbar_ShrinkBigFont_Native_Swing_HiDPI=ON.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Colorbar_Shrink_Native_Swing_HiDPI=OFF.png b/jzy3d-tests-java9/src/test/resources/Colorbar_Shrink_Native_Swing_HiDPI=OFF.png
new file mode 100644
index 00000000..0311491c
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Colorbar_Shrink_Native_Swing_HiDPI=OFF.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Colorbar_Shrink_Native_Swing_HiDPI=ON.png b/jzy3d-tests-java9/src/test/resources/Colorbar_Shrink_Native_Swing_HiDPI=ON.png
new file mode 100644
index 00000000..81d2de89
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Colorbar_Shrink_Native_Swing_HiDPI=ON.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Scatter_Native_Swing_HiDPI=OFF.png b/jzy3d-tests-java9/src/test/resources/Scatter_Native_Swing_HiDPI=OFF.png
new file mode 100644
index 00000000..57b1e51b
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Scatter_Native_Swing_HiDPI=OFF.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Scatter_Native_Swing_HiDPI=ON.png b/jzy3d-tests-java9/src/test/resources/Scatter_Native_Swing_HiDPI=ON.png
new file mode 100644
index 00000000..a76edde1
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Scatter_Native_Swing_HiDPI=ON.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Surface_Native_Swing_HiDPI=OFF.png b/jzy3d-tests-java9/src/test/resources/Surface_Native_Swing_HiDPI=OFF.png
new file mode 100644
index 00000000..b3f77316
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Surface_Native_Swing_HiDPI=OFF.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Surface_Native_Swing_HiDPI=ON.png b/jzy3d-tests-java9/src/test/resources/Surface_Native_Swing_HiDPI=ON.png
new file mode 100644
index 00000000..bb558618
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Surface_Native_Swing_HiDPI=ON.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Text_Native_Swing_HiDPI=OFF_Font=AppleChancery24.png b/jzy3d-tests-java9/src/test/resources/Text_Native_Swing_HiDPI=OFF_Font=AppleChancery24.png
new file mode 100644
index 00000000..3f821f04
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Text_Native_Swing_HiDPI=OFF_Font=AppleChancery24.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Text_Native_Swing_HiDPI=ON_Font=AppleChancery24.png b/jzy3d-tests-java9/src/test/resources/Text_Native_Swing_HiDPI=ON_Font=AppleChancery24.png
new file mode 100644
index 00000000..d655e314
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Text_Native_Swing_HiDPI=ON_Font=AppleChancery24.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Text_whenDrawableTextRenderer_Native_Swing_HiDPI=OFF.png b/jzy3d-tests-java9/src/test/resources/Text_whenDrawableTextRenderer_Native_Swing_HiDPI=OFF.png
new file mode 100644
index 00000000..fe166efb
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Text_whenDrawableTextRenderer_Native_Swing_HiDPI=OFF.png differ
diff --git a/jzy3d-tests-java9/src/test/resources/Text_whenDrawableTextRenderer_Native_Swing_HiDPI=ON.png b/jzy3d-tests-java9/src/test/resources/Text_whenDrawableTextRenderer_Native_Swing_HiDPI=ON.png
new file mode 100644
index 00000000..c9bdfcf6
Binary files /dev/null and b/jzy3d-tests-java9/src/test/resources/Text_whenDrawableTextRenderer_Native_Swing_HiDPI=ON.png differ