That does seem to be the issue - the text is a lot bolder when using java 11.
[image: expected.png] [image: actual.png] I'm happy to let it go if it only occurs on my machine and not travis or jenkins. Ian PS for future reference you also need -Djava.awt.headless=false to make the interactive tests work through maven. On Tue, 18 Aug 2020 at 13:19, Andrea Aime <andrea.a...@geo-solutions.it> wrote: > Hi Ian, > I've seen something similar in the PR checks, with the latest Java 11... > think they have changed something > in font handling, but haven't had time to verify. > > The variable you mentioned works from the IDE, from Maven I see this > variable in the pom: > <interactive.image>false</interactive.image> > > and then in surefire: > <argLine>-Xmx${test.maxHeapSize} ${jvm.opts} -Dfile.encoding=UTF-8 > -Dorg.geotools.test.extensive=${extensive.tests} > -Dorg.geotools.test.interactive=${interactive.tests} > -Dorg.geotools.image.test.skip=${skip.image.tests} > *-Dorg.geotools.image.test.interactive=${interactive.image}* > -Djava.awt.headless=${java.awt.headless} -Dsun.java2d.d3d=${sun.java2d.d3d} > -Djava.io.tmpdir="${java.io.tmpdir}" > -Djava.library.path="${java.library.path}" ${test.args} > -XX:+TieredCompilation -XX:TieredStopAtLevel=1 > -XX:+IgnoreUnrecognizedVMOptions > -Djava.util.logging.config.file="${geotoolsBaseDir}"/${logging-profile}.properties > --illegal-access=debug</argLine> > > That's what seems to trigger it. > > Cheers > Andrea > > On Tue, Aug 18, 2020 at 1:04 PM Ian Turton <ijtur...@gmail.com> wrote: > >> I'm seeing a local >> failure at LabelDisplacementModeTest.testMultiLineLabelDisplacementY - with >> a difference of 2083 against a threshold of 2000. - just >> adding -Dorg.geotools.image.test.interactive=true doesn't seem to be enough >> to enable a visual test any longer, so I'm a bit stuck. Is anyone expecting >> a font change or anything? >> >> Ian >> >> On Tue, 18 Aug 2020 at 10:16, Ian Turton <ijtur...@gmail.com> wrote: >> >>> >>> https://build.geoserver.org/view/release/job/geotools-release/15/artifact/ >>> >>> Ian >>> >>> -- >>> Ian Turton >>> >> >> >> -- >> Ian Turton >> _______________________________________________ >> GeoTools-GT2-Users mailing list >> GeoTools-GT2-Users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >> > > > -- > > Regards, Andrea Aime > > == GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf > Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa > (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 > http://www.geo-solutions.it http://twitter.com/geosolutions_it > ------------------------------------------------------- *Con riferimento > alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - > Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni > circostanza inerente alla presente email (il suo contenuto, gli eventuali > allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i > destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per > errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le > sarei comunque grato se potesse darmene notizia. This email is intended > only for the person or entity to which it is addressed and may contain > information that is privileged, confidential or otherwise protected from > disclosure. We remind that - as provided by European Regulation 2016/679 > “GDPR” - copying, dissemination or use of this e-mail or the information > herein by anyone other than the intended recipient is prohibited. If you > have received this email by mistake, please notify us immediately by > telephone or e-mail.* > -- Ian Turton
_______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users