diff options
author | Michael Hanson <mihanson@linhes.org> | 2011-11-04 19:21:13 (GMT) |
---|---|---|
committer | Michael Hanson <mihanson@linhes.org> | 2011-11-04 19:21:13 (GMT) |
commit | 94f21428c8ed60129ee5e14b1914a8cfe1bcdb2a (patch) | |
tree | 27c63c2fa679256dbc46bbff241c41db98e9d244 /abs/extra/openjdk6/aatext_by_default.diff | |
parent | e3a0f9ba95aa059d76a57c7821a5ccc6a80a5f84 (diff) | |
parent | 67989fe1be117ac23fa3a98acbc2794a17d7d0ed (diff) | |
download | linhes_pkgbuild-94f21428c8ed60129ee5e14b1914a8cfe1bcdb2a.zip linhes_pkgbuild-94f21428c8ed60129ee5e14b1914a8cfe1bcdb2a.tar.gz linhes_pkgbuild-94f21428c8ed60129ee5e14b1914a8cfe1bcdb2a.tar.bz2 |
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/openjdk6/aatext_by_default.diff')
-rw-r--r-- | abs/extra/openjdk6/aatext_by_default.diff | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/abs/extra/openjdk6/aatext_by_default.diff b/abs/extra/openjdk6/aatext_by_default.diff deleted file mode 100644 index 268ea99..0000000 --- a/abs/extra/openjdk6/aatext_by_default.diff +++ /dev/null @@ -1,35 +0,0 @@ ---- openjdk/jdk/src/share/classes/sun/awt/SunToolkit.java.old 2008-01-08 20:23:56.000000000 +0200 -+++ openjdk/jdk/src/share/classes/sun/awt/SunToolkit.java 2008-02-24 12:39:19.000000000 +0200 -@@ -1875,7 +1875,6 @@ - */ - private static boolean useSystemAAFontSettings() { - if (!checkedSystemAAFontSettings) { -- useSystemAAFontSettings = true; /* initially set this true */ - String systemAAFonts = null; - Toolkit tk = Toolkit.getDefaultToolkit(); - if (tk instanceof SunToolkit) { -@@ -1883,20 +1882,10 @@ - (String)AccessController.doPrivileged( - new GetPropertyAction("awt.useSystemAAFontSettings")); - } -- if (systemAAFonts != null) { -- useSystemAAFontSettings = -- Boolean.valueOf(systemAAFonts).booleanValue(); -- /* If it is anything other than "true", then it may be -- * a hint name , or it may be "off, "default", etc. -- */ -- if (!useSystemAAFontSettings) { -- desktopFontHints = getDesktopAAHintsByName(systemAAFonts); -- } -- } -- /* If its still true, apply the extra condition */ -- if (useSystemAAFontSettings) { -- useSystemAAFontSettings = lastExtraCondition; -- } -+ if (systemAAFonts == null || Boolean.parseBoolean(systemAAFonts)) -+ systemAAFonts = "on"; -+ desktopFontHints = getDesktopAAHintsByName(systemAAFonts); -+ useSystemAAFontSettings = desktopFontHints != null; - checkedSystemAAFontSettings = true; - } - return useSystemAAFontSettings; |