Submitted On 02-MAY-2003
analogue
Fix this!
Submitted On 24-JUN-2003
vitekp
It's a pity this problem has not been solved after 2 years!
Font antialiasing has become very important now as many
people switch to LCD monitors.
Submitted On 15-JUL-2003
alvinhung
Please get this fixed. Chinese fonts on Linux is very ugly
because of this problem.
Submitted On 14-AUG-2003
draculvlad
Class in rt.jar:
sun.java2d.SunGraphics2D
Hard coded Variable
textAntialiasHint = 0
if could be loaded from a properties ;-)
Submitted On 02-SEP-2003
bryanck
Swing apps stand out like a sore thumb on Windows XP with
ClearType turned on. SWT, or even an AWT, applications look
much better, as they use the native OS text rendering in
most cases.
Submitted On 08-FEB-2004
alvinhung
Is this going to be fixed by 1.5 Release?
Submitted On 04-JUN-2004
capmember1
I heard this will be fixed in 1.5.1.
Submitted On 11-SEP-2004
bugmenot3
For heaven's sake fix this! Java looks butt ugly without this. As usual Java UI is at least 3 years behind Windows state of the art. How long did it take you guys to implement the mouse wheel. LOL! Sun has lousy Java UI developers.
Submitted On 30-MAR-2005
Mike_Werner
A workaround is to set the system property swing.aatex
to true.
Submitted On 30-MAR-2005
Mike_Werner
Sorry the system property was incomplete.:
swing.aatext
This boolean property dis-/enables anti-aliased text rendering.
Submitted On 18-APR-2005
verdyp
Why isn't there a system property or something in Graphics2D that allows defining the default settings of new Graphics object instances before it is sent and used in Swing components "paint" methods?
(Note that Swing uses a shared Graphics2D object that is reused across component paint methods. It is initially set with some settings according to the default look and feel and other system properties and then each component modifies a few of its properties when needed to draw themselves, and Swing Component paint methods should save and restore the previous state of this Graphics/Graphics2D object).
So why can't we define somewhere a default rendering hint, so that Swing components would immediately inherit of this setting without forcing application developers to subclass all the Swing components to set and restore the desired rendering hints?)
Do we have to create a separate hierarchy of Swing-based components, that just change their "paint...()" methods by setting the rendering hint in the Graphics2D parameter before using the supermethod to perform the actual draw, and then restore the Graphics object?
Shouldn't the rendering hints come from Look and Feel and local native platform settings?
Submitted On 18-APR-2005
verdyp
Implementing ClearType now is not the first priority.
First implement a way to properly set the default rendering hints used in Graphics2D objects instanciated by the Swing JComponent classes.
If this is done, then you can add a ClearType/subpixel antialiasing mode in AWT and Graphics2D... if possible due to platform licencing issues on this technology:
if not available, the Sub-Pixel Antialiasing mode should behave at least like standard Full-Pixel AntiAliasing mode.
To make sure that the SubPixel Antialising mode is properly set, may be it should be a separate rendering hint (ANTIALIASING_MODE_KEY) with various values (ANTIALIASING_MODE_VALUE_DEFAULT, ANTIALIASING_MODE_VALUE_FULLPIXEL, ANTIALIASING_MODE_VALUE_SUBPIXEL, ...) which will take effect only when the existing boolean-like Antialiasing hint is enabled.
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|