summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2023-06-24 12:39:26 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2023-06-24 12:39:26 -0400
commite72769fa5f4197499aa387f71be03fc7b0b5d1f6 (patch)
tree69d075ab13fc8c1f2db07840aee1ad7f89f0a342
parent72ac72397f26564323217e0b353f4af328a11467 (diff)
Added export for font rendering on java swing
-rw-r--r--.config/linuxProfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/linuxProfile b/.config/linuxProfile
index 9b60c82..a17ae75 100644
--- a/.config/linuxProfile
+++ b/.config/linuxProfile
@@ -38,7 +38,8 @@ export ANDROID_EMULATOR_HOME="$XDG_DATA_HOME"/android/
export ADB_VENDOR_KEY="$XDG_CONFIG_HOME"/android/
export WMAKER_USER_ROOT="$XDG_DATA_HOME"/GNUstep
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
-export _JAVA_AWT_WM_NONREPARENTING=1 # This is needed to run java gui programs
+export _JAVA_AWT_WM_NONREPARENTING=1 # This is needed to run java gui programs.
+export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel' # This fixes font rendering on Java Swing applications.
[ "$(tty | sed 's/[0-9]*//g')" = "/dev/tty" ] && jdm && exit