From 2696ed05d0f6210f96f47bd8ff07efe22b278a05 Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Fri, 5 May 2017 08:24:49 +0200 Subject: [PATCH] GHI-#19 Clean up Java package config docs --- snowblocks/bash/config/pkg/java | 47 +++++++++++++++------------------ 1 file changed, 22 insertions(+), 25 deletions(-) diff --git a/snowblocks/bash/config/pkg/java b/snowblocks/bash/config/pkg/java index 300307a..b797dce 100644 --- a/snowblocks/bash/config/pkg/java +++ b/snowblocks/bash/config/pkg/java @@ -9,11 +9,13 @@ # ++++++++++++++++++++++++++++++++++++++++++++++++++++++ # # [References] -# StackOverflow -# (http://stackoverflow.com/questions/28327620/difference-between-java-options-java-tool-options-and-java-opts) +# Arch Linux +# (https://wiki.archlinux.org/index.php/Java_Runtime_Environment_fonts) # Oracle JDK 8 # (http://docs.oracle.com/javase/8/docs/technotes/guides/2d/flags.html#aaFonts) # (http://docs.oracle.com/javase/8/docs/technotes/guides/2d/flags.html#xrender) +# StackOverflow +# (http://stackoverflow.com/questions/28327620/difference-between-java-options-java-tool-options-and-java-opts) # NetBeans Wiki # (http://wiki.netbeans.org/FaqFontRendering) # java(1) @@ -21,34 +23,29 @@ # Sets the default system-wide JVM options. # -# "-Dawt.useSystemAAFontSettings" +# awt.useSystemAAFontSettings # Use system settings for font anti-aliasing. -# "-Dsun.java2d.xrender" -# Enable the XRender-based Java 2D rendering pipeline for modern X11-based desktops, offering improved graphics -# performance. -# "-Dswing.aatext" +# sun.java2d.xrender +# Enable the XRender-based Java 2D rendering pipeline for modern X11-based desktops, offering improved graphics performance. +# swing.aatext # Enable the font anti-aliasing for Swing-based applications. # # Constant names in braces are values for the "java.awt.RenderingHint" class. # # > awt.useSystemAAFontSettings -# "off" | "false" | "default" ("VALUE_TEXT_ANTIALIAS_DEFAULT") -# No anti-aliasing. -# "on" ("VALUE_TEXT_ANTIALIAS_ON") -# Full anti-aliasing without sub-pixel rendering -# "gasp" ("VALUE_TEXT_ANTIALIAS_GASP") -# Use the font's built-in hinting instructions with sub-pixel rendering, intended for use both on CRT and LCD . -# "lcd" | "lcd_hrgb" ("VALUE_TEXT_ANTIALIAS_LCD_HRGB") -# Anti-aliasing tuned for many popular LCD monitors with sub-pixel rendering, optimized for LCD. -# "lcd_hbgr" ("VALUE_TEXT_ANTIALIAS_LCD_HBGR") -# Alternative LCD monitor setting. Same as "lcd", but with different distribution of sub pixels (monitor upside -# down). -# "lcd_vrgb" ("VALUE_TEXT_ANTIALIAS_LCD_VRGB") -# Alternative LCD monitor setting. Same as "lcd", but with different distribution of sub pixels (monitor is -# vertical). -# "lcd_vbgr" ("VALUE_TEXT_ANTIALIAS_LCD_VBGR") -# Alternative LCD monitor setting. Same as "lcd", but with different distribution of sub pixels (vertical again but -# on other side). +# - off,false,default (VALUE_TEXT_ANTIALIAS_DEFAULT) +# No anti-aliasing. +# - on (VALUE_TEXT_ANTIALIAS_ON) +# Full anti-aliasing without sub-pixel rendering +# - gasp (VALUE_TEXT_ANTIALIAS_GASP) +# Use the font's built-in hinting instructions with sub-pixel rendering, intended for use both on CRT and LCD . +# - lcd, lcd_hrgb (VALUE_TEXT_ANTIALIAS_LCD_HRGB) +# Anti-aliasing tuned for many popular LCD monitors with sub-pixel rendering, optimized for LCD. +# - lcd_hbgr (VALUE_TEXT_ANTIALIAS_LCD_HBGR) +# Alternative LCD monitor setting. Same as "lcd", but with different distribution of sub pixels (monitor upsidedown). +# - lcd_vrgb (VALUE_TEXT_ANTIALIAS_LCD_VRGB) +# Alternative LCD monitor setting. Same as "lcd", but with different distribution of sub pixels (monitor is vertical). +# - lcd_vbgr (VALUE_TEXT_ANTIALIAS_LCD_VBGR) +# Alternative LCD monitor setting. Same as "lcd", but with different distribution of sub pixels (vertical again but on other side). export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=lcd -Dsun.java2d.xrender=true -Dswing.aatext=true" - export _JAVA_AWT_WM_NONREPARENTING=1