about summary refs log tree commit diff
path: root/pkgs/applications/editors/netbeans
diff options
context:
space:
mode:
authorBenjamin Asbach <asbachb@users.noreply.github.com>2021-04-19 01:10:37 +0200
committerGitHub <noreply@github.com>2021-04-18 19:10:37 -0400
commit9162925dc4e26867404a4875286cbfdbcc3d2756 (patch)
tree1511d4c37886802d28abe8a3902668ee0276b87c /pkgs/applications/editors/netbeans
parent27b95afbb880d2ae6619577f9fbf9971808452aa (diff)
downloadnixlib-9162925dc4e26867404a4875286cbfdbcc3d2756.tar
nixlib-9162925dc4e26867404a4875286cbfdbcc3d2756.tar.gz
nixlib-9162925dc4e26867404a4875286cbfdbcc3d2756.tar.bz2
nixlib-9162925dc4e26867404a4875286cbfdbcc3d2756.tar.lz
nixlib-9162925dc4e26867404a4875286cbfdbcc3d2756.tar.xz
nixlib-9162925dc4e26867404a4875286cbfdbcc3d2756.tar.zst
nixlib-9162925dc4e26867404a4875286cbfdbcc3d2756.zip
netbeans: Enable antialiasing for texts in NetBeans IDE (#119817)
Diffstat (limited to 'pkgs/applications/editors/netbeans')
-rw-r--r--pkgs/applications/editors/netbeans/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/editors/netbeans/default.nix b/pkgs/applications/editors/netbeans/default.nix
index 83c5bb6f9309..8931ddc37990 100644
--- a/pkgs/applications/editors/netbeans/default.nix
+++ b/pkgs/applications/editors/netbeans/default.nix
@@ -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.