Hi. I've tried but it didn't worktimkb4cq wrote: Sat Nov 02, 2019 6:32 pm Java FXPorts reported that installing libfreetype6-dev fixes the font smoothing. Have you tried that?
Zulu JDK
-
hunghung
Re: Zulu JDK
-
hunghung
Re: Zulu JDK
Unfortunately I don't think so. I advised you to download Pixelitor and go to Help/About/System Info you will noticed that with Java 8 build 222 and previous builds, Java vendor is not locked, with Zulu 8 it's Azul Systems or something like that, but with Java 8 build 232 it's all changed to Oracle. As soon as you upgrade to Java 8 build 232 on any platforms the font smoothing is brokenbaldyeti wrote: Sat Nov 02, 2019 9:39 am Thanks hunghung, hopefully this is a temporary glitch, not some restriction Oracle introduced to features OpenbJDK can bundle.
PS: I installed build 232 from AdoptOpenJDK and fonts look alright to me (on MX18/stretch)
PS2: MX-forum again awfully slow I am sorry to report
Re: Zulu JDK
Found a workaround! I think you'll want to export this FREETYPE_PROPERTIES=truetype:interpreter-version=35 setting in /etc/environment once you see the results here
FREETYPE_PROPERTIES=truetype:interpreter-version=35 java -jar <path-to>/Pixelitor-4.2.2.jar
FREETYPE_PROPERTIES=truetype:interpreter-version=35 java -jar <path-to>/Pixelitor-4.2.2.jar
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
-
hunghung
Re: Zulu JDK
Could you show me a screenshot? I've tried but it didn't worktimkb4cq wrote: Mon Nov 04, 2019 11:55 am Found a workaround! I think you'll want to export this FREETYPE_PROPERTIES=truetype:interpreter-version=35 setting in /etc/environment once you see the results here
FREETYPE_PROPERTIES=truetype:interpreter-version=35 java -jar <path-to>/Pixelitor-4.2.2.jar
Re: Zulu JDK
@hunghung: I am using the build 1.8.0_232-b09 from AdoptOpenJDK and the fonts look normal to me, including with your test app (see attachment)
Note i am on MX18/stretch, are you using MX19/buster ? It might have different FreeType libraries that make the work-around suggested by tim necessary.
Note i am on MX18/stretch, are you using MX19/buster ? It might have different FreeType libraries that make the work-around suggested by tim necessary.
You do not have the required permissions to view the files attached to this post.
Last edited by baldyeti on Mon Nov 04, 2019 2:16 pm, edited 2 times in total.
-
hunghung
Re: Zulu JDK
I'm using MX-18.3 like you. AdoptOpenJDK was said to be not affected since it links with an older FreeType version.baldyeti wrote: Mon Nov 04, 2019 12:55 pm @hunghung: I am using the build 1.8.0_232-b09 from AdoptOpenJDK and the fonts look normal to me, including with your test app (see attachment)
Note i am on MX18/stretch, are you using MX19/buster ? It might have different FreeType libraries that make the work-around suggested by tim is necessary.
p/s: Oh, almost forgot. When I report to timkb4cq I use MX's stock Java. I've so many Java installed on my system now so it's really confusing.
Re: Zulu JDK
The workaround works on MX-19 using either the installed openjdk-11 or openjdk-8 from the standard repositories. No need to go to outside Java builds
Without workaround: With Workaround:
Without workaround: With Workaround:
You do not have the required permissions to view the files attached to this post.
Last edited by timkb4cq on Mon Nov 04, 2019 1:49 pm, edited 1 time in total.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Re: Zulu JDK
Must be my aging eyes - i can barely see any difference ?!? Would you say my screenshot has a font smoothing issue, too ? I have seen much worse with java and swing !
Anyway i only use an external JDK because i multi-boot and don't want every distro installed to regularly update big packages like java/firefox/libreoffice.
For regular users i do not think it is reasonable to ask MX to package every JDK under the sun as requested by hunghung in another thread. That can only lead to confusion. OpenJDK is what debian and most distros endorse, and a perfectly sane default IMO. If a given release behaves better with a temporary work-around, this here forum is the place to share the hint.
Anyway i only use an external JDK because i multi-boot and don't want every distro installed to regularly update big packages like java/firefox/libreoffice.
For regular users i do not think it is reasonable to ask MX to package every JDK under the sun as requested by hunghung in another thread. That can only lead to confusion. OpenJDK is what debian and most distros endorse, and a perfectly sane default IMO. If a given release behaves better with a temporary work-around, this here forum is the place to share the hint.
Re: Zulu JDK
Your snapshot looks fine.
Open the the first snapshot I posted in a new tab & zoom in with <ctrl>+ or <ctrl>mousewheel
You will see letters with cyan & purple color fringing not seen while using the workaround, or with the version of Java you have installed.
Open the the first snapshot I posted in a new tab & zoom in with <ctrl>+ or <ctrl>mousewheel
You will see letters with cyan & purple color fringing not seen while using the workaround, or with the version of Java you have installed.
You do not have the required permissions to view the files attached to this post.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
-
hunghung
Re: Zulu JDK
Sorry everyone, I forgot to turn off my image blocker extension so I didn't see your screenshot.
Here are my screenshots using Zulu JDK.
You could clearly see the different with yours.
Notice: Screenshot3: Do you even recognize it's a Java Swing App?
That's the reason why I recommend this Zulu JDK over MX's stock JDK. Sadly, the latest Zulu JDK version also broke font smoothing.
Grab the .deb here and install it, you will know how awesome it is: https://cdn.azul.com/zulu/bin/zulu8.40. ... _amd64.deb
p/s: the openjdk8 build 222 on FreeBSD also has the same quality of font smoothing.
Here are my screenshots using Zulu JDK.
You could clearly see the different with yours.
Notice: Screenshot3: Do you even recognize it's a Java Swing App?
That's the reason why I recommend this Zulu JDK over MX's stock JDK. Sadly, the latest Zulu JDK version also broke font smoothing.
Grab the .deb here and install it, you will know how awesome it is: https://cdn.azul.com/zulu/bin/zulu8.40. ... _amd64.deb
p/s: the openjdk8 build 222 on FreeBSD also has the same quality of font smoothing.
You do not have the required permissions to view the files attached to this post.