My labels appear jagged or blurred when zoomed out

Article ID: 2322
Last updated: 29 May, 2018
Article ID: 2322
Last updated: 29 May, 2018
Revision: 3
Views: 487
Posted: 01 Mar, 2011
by Dean J.
Updated: 29 May, 2018
by Gargani A.

Question

Why do my labels appear jagged or blurred?

Answer

JViews relies on low-level Java routines to draw the fundamental shapes that make up a given application.

In certain instances, such as with small fonts that are zoomed between 100% and 200%, the default low-level drawing routines may give results that are somewhat jagged or blurred.

If this is undesirable, consider turning on antialiasing. Antialiasing allows the low-level routines to use intermediate values to give a more "natural" appearance. While in rare situations this may slow down performance, it generally provides a smooth and more desirable visual output.

You can enable antialiasing by invoking the setAntialiasing method on your label object. Antialiasing is available nearly for all of the label classes (including IlvLabel, IlvZoomableLabel, IlvText, IlvShadowLabel, and so on). You can also enable antialiasing for an entire view, via IlvManagerView.setAntialiasing, or on servlet/thinclient images via IlvManagerServlet.setAntialiasing.

For more details, please consult the appropriate API reference in the JViews documentation.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2322
Last updated: 29 May, 2018
Revision: 3
Views: 487
Posted: 01 Mar, 2011 by Dean J.
Updated: 29 May, 2018 by Gargani A.
Also listed in


Others in this category