I think there is a difference between openjdk and oracle jdk on font
metrics. You may consider using explicit bold fonts (rather than trust font
metric calculations).
--
Jody Garnett
On 9 June 2016 at 14:52, Ben Caradoc-Davies <b...@transient.nz> wrote:
> Alessandro,
>
> you might have noticed some gt-render failures in
> GeoTools-Master-OpenJDK8 (and the downstream failures of
> GeoServer-Master-OpenJDK8 that might be caused by this).
>
> http://build.geo-solutions.it/jenkins/view/GeoTools/job/GeoTools-Master-OpenJDK8/
>
> junit.framework.AssertionFailedError: More labels in image2 than image1
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.assertTrue(Assert.java:22)
> at junit.framework.TestCase.assertTrue(TestCase.java:192)
> at
>
> org.geotools.renderer.lite.LetterConflictTest.testLetterConflictEnabledCurvedLine(LetterConflictTest.java:196)
>
> The build passes for me with Maven 3.3.9 and openjdk-8-jdk 8u91-b14-2
> amd64 on debian/sid:
>
> $ mvn -version
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> 2015-11-11T05:41:47+13:00)
> Maven home: /home/ben/java/maven
> Java version: 1.8.0_91, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "linux", version: "4.6.0-1-amd64", arch: "amd64", family: "unix"
>
> One of the differences between Oracle JDK and OpenJDK is that OpenJDK
> ships with no fonts and makes use of system fonts. This has in the past
> broken some gt-render unit tests on systems with unusual font
> configuration. Have you tried running LetterConflictTest in interactive
> mode on build.geo-solutions.it?
>
> Kind regards,
>
> --
> Ben Caradoc-Davies <b...@transient.nz>
> Director
> Transient Software Limited <http://transient.nz/>
> New Zealand
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel