mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 14:00:55 +03:00
The fix for text anti-aliasing in 50d36fe9 should only apply on macOS
This commit is contained in:
@@ -546,7 +546,7 @@ public abstract class FlatLaf
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void putAATextInfo( UIDefaults defaults ) {
|
private void putAATextInfo( UIDefaults defaults ) {
|
||||||
if ( SystemInfo.isJetBrainsJVM ) {
|
if ( SystemInfo.isMacOS && SystemInfo.isJetBrainsJVM ) {
|
||||||
// The awt.font.desktophints property suggests sub-pixel anti-aliasing
|
// The awt.font.desktophints property suggests sub-pixel anti-aliasing
|
||||||
// which renders text with too much weight on macOS in the JetBrains JRE.
|
// which renders text with too much weight on macOS in the JetBrains JRE.
|
||||||
// Use greyscale anti-aliasing instead.
|
// Use greyscale anti-aliasing instead.
|
||||||
|
|||||||
Reference in New Issue
Block a user