6742850: Antialiasing for GTK L&F should be turned on by default if there is no embedded bitmap

Reviewed-by: peterz
This commit is contained in:
Sergey Malenkov 2009-06-26 17:15:19 +04:00
parent d41845e0ab
commit 99370fd871

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -139,7 +139,7 @@ public class GTKLookAndFeel extends SynthLookAndFeel {
}); });
isSunDesktop = val.booleanValue(); isSunDesktop = val.booleanValue();
} }
if (isSunDesktop) { if (isSunDesktop && !sun.java2d.SunGraphicsEnvironment.isOpenSolaris) {
isSunCJK = true; isSunCJK = true;
} }
} }