netbeans: Enable antialiasing for texts in NetBeans IDE (#119817)

This commit is contained in:
Benjamin Asbach 2021-04-19 01:10:37 +02:00 committed by GitHub
parent 27b95afbb8
commit 9162925dc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,8 @@ stdenv.mkDerivation {
makeWrapper $out/netbeans/bin/netbeans $out/bin/netbeans \
--prefix PATH : ${lib.makeBinPath [ jdk which ]} \
--prefix JAVA_HOME : ${jdk.home} \
--add-flags "--jdkhome ${jdk.home}"
--add-flags "--jdkhome ${jdk.home} \
-J-Dawt.useSystemAAFontSettings=on -J-Dswing.aatext=true"
# Extract pngs from the Apple icon image and create
# the missing ones from the 1024x1024 image.