< prev index next >

src/java.desktop/share/classes/sun/font/FontUtilities.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -48,10 +48,12 @@
 
     public static boolean isLinux;
 
     public static boolean isMacOSX;
 
+    public static boolean isAIX;
+
     public static boolean useJDKScaler;
 
     public static boolean isWindows;
 
     private static boolean debugFonts = false;

@@ -70,10 +72,12 @@
 
                 isLinux = osName.startsWith("Linux");
 
                 isMacOSX = osName.contains("OS X"); // TODO: MacOSX
 
+                isAIX = osName.startsWith("AIX");
+
                 /* If set to "jdk", use the JDK's scaler rather than
                  * the platform one. This may be a no-op on platforms where
                  * JDK has been configured so that it always relies on the
                  * platform scaler. The principal case where it has an
                  * effect is that on Windows, 2D will never use GDI.
< prev index next >