mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user