Hi,
It looks to me as if this applies AA rendering even when you
are drawing using G2D calls. Why ?
Also this clearly only helps Metal. Is that because only Metal has such
problems ?
I would doubt that.
FWIW Motif L&F probably should not get this treatment.
Also if the desktop is "remote" we should avoid AA. I believe we do that
for text with Metal so there should be example of how to detect that
somewhere.
-phil.
On 03/16/2017 09:03 AM, Alexandr Scherbatiy wrote:
Hello,
Could you review the fix:
bug: https://bugs.openjdk.java.net/browse/JDK-8176883
webrev: http://cr.openjdk.java.net/~alexsch/8176883/webrev.00
Metal RadioButton and RadioButtonMenuItem icons are not drawn
smoothly on HiDPI displays especially with floating point scales like
1.25 and 1.5.
The fix enables the antialiasing rendering hint for the radio button
and radio button menu item if the passed graphics is scaled.
The [1] folder contains screenshots how icons are drawn before the
fix (on the left side) and after the fix (on the right side).
[1] http://cr.openjdk.java.net/~alexsch/8176883/screenshots/00
Thanks,
Alexandr.