提交 bc70a87e 编写于 作者: M malenkov

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

Reviewed-by: peterz
上级 3ab5d845
/* /*
* 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 { ...@@ -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;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册