Page 1 of 1

Typeface/Font Difference Using JRE 1.8.0_211

PostPosted: Wed May 22, 2019 10:49 pm
by kwpsd
Servoy Version: 8.3.2.3207
JRE Version: 1.8.0_171
JRE Version: 1.8.0_211
Smart Client Only Running in Developer

We updated our JRE from 1.8.0_171 to 1.8.0_211 and noticed a change in the typeface/font (see attached graphics).

JRE 171 screen shot
image_1_8_171.png
image_1_8_171.png (47.07 KiB) Viewed 6477 times


JRE 211 screen shot
image_1_8_211.png
image_1_8_211.png (216.37 KiB) Viewed 6477 times


When we change back to 1.8.0_171, the typeface/fonts look normal. Has anyone else seen this? How do we fix the typeface/font issue in 211? Nothing was changed in Servoy for these tests...just the JRE version.

Thanks!

Re: Typeface/Font Difference Using JRE 1.8.0_211

PostPosted: Thu May 23, 2019 9:22 am
by jcompagner
this is a known problem for many years already (that it turn bold)
i already reported years back these problems at oracle, this happens in very specific situations i think
We here in the netherlands where more affected because i think it was bit related because we are many times in a mixed environment (english windows but in a dutch locale)

Can't do much about this, its the core font matching that goes wrong

Re: Typeface/Font Difference Using JRE 1.8.0_211

PostPosted: Thu May 23, 2019 8:37 pm
by kwpsd
Thank you, Johan, for the quick response. We have never come across this situation in the past, and thought it was something new. We will warn our customers about 1.8.0_211 should they attempt to update to it.

Re: Typeface/Font Difference Using JRE 1.8.0_211

PostPosted: Fri Jul 29, 2022 4:21 pm
by ngervasi
Any news about this?
I'm having the same issue when starting a smart client using the bootstrap jar in Windows. I tried Java 8, 11, 12 and 16 and the problem is always there.
Is there any workaround? I'd like to distribute Java with the Servoy Client but I can't fins 1.8.0_171 anywhere.

Re: Typeface/Font Difference Using JRE 1.8.0_211

PostPosted: Fri Jul 29, 2022 5:26 pm
by ngervasi
BTW: I managed to retrieve an old Oracle JRE 1.8.0_171 installer and I still have the problem with it as well.
Anyone can help please?

This is my startup script:

jre1.8.0_171\bin\java.exe -jar bootstrap.jar --add-opens=java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED --add-opens=java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED --add-opens java.desktop/sun.java2d=ALL-UNNAMED