EditorAntialiasing

Editor Component Antialiasing

Editor allows to control individual antialiasing rendering hints by using several system properties e.g.

-J-Dorg.netbeans.editor.aa=on

Possibly see FaqStartupParameters or FaqNetbeansConf how to run NetBeans with additional parameters.

System property Rendering Hint Key Possible Values Rendering Hint Value
org.netbeans.editor.aa RenderingHints.KEY_ANTIALIASING on or true
off or false
any other value
RenderingHints.VALUE_ANTIALIAS_ON
RenderingHints.VALUE_ANTIALIAS_OFF
RenderingHints.VALUE_ANTIALIAS_DEFAULT
org.netbeans.editor.aa.text RenderingHints.KEY_TEXT_ANTIALIASING on or true
off or false
gasp
hbgr
hrgb
vbgr
hrgb
any other value
RenderingHints.VALUE_TEXT_ANTIALIAS_ON
RenderingHints.VALUE_TEXT_ANTIALIAS_OFF
RenderingHints.VALUE_TEXT_ANTIALIAS_GASP
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HBGR
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HRGB
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_VBGR
RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_VRGB
RenderingHints.VALUE_TEXT_ANTIALIAS_DEFAULT
org.netbeans.editor.aa.fractional RenderingHints.KEY_FRACTIONALMETRICS on or true
off or false
any other value
RenderingHints.VALUE_FRACTIONALMETRICS_ON
RenderingHints.VALUE_FRACTIONALMETRICS_OFF
RenderingHints.VALUE_FRACTIONALMETRICS_DEFAULT
org.netbeans.editor.aa.rendering RenderingHints.KEY_RENDERING quality
speed
any other value
RenderingHints.VALUE_RENDER_QUALITY
RenderingHints.VALUE_RENDER_SPEED
RenderingHints.VALUE_RENDER_DEFAULT
org.netbeans.editor.aa.stroke RenderingHints.KEY_STROKE_CONTROL normalize
pure
any other value
RenderingHints.VALUE_STROKE_NORMALIZE
RenderingHints.VALUE_STROKE_PURE
RenderingHints.VALUE_STROKE_DEFAULT
org.netbeans.editor.aa.contrast RenderingHints.KEY_TEXT_LCD_CONTRAST integer value Expected values


Description of individual rendering hints can be found at java.awt.RenderingHints

To see what antialiasing settings are used please run the IDE with

-J-Dorg.netbeans.editor.view.settings.level=FINE

and search for "DocumentView.updateFontColorSettings() Antialiasing Rendering Hints:" in the output. The command line parameters above influence "Extra Hints:" content of the output.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo