Merge pull request #241 from ingokegel/macos_text_aa

The fix for text anti-aliasing in 50d36fe9 should only apply on macOS
This commit is contained in:
Karl T
2021-01-15 14:39:00 +01:00
committed by GitHub

View File

@@ -546,7 +546,7 @@ public abstract class FlatLaf
}
private void putAATextInfo( UIDefaults defaults ) {
if ( SystemInfo.isJetBrainsJVM ) {
if ( SystemInfo.isMacOS && SystemInfo.isJetBrainsJVM ) {
// The awt.font.desktophints property suggests sub-pixel anti-aliasing
// which renders text with too much weight on macOS in the JetBrains JRE.
// Use greyscale anti-aliasing instead.