< prev index next >

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

Print this page

        

@@ -94,11 +94,11 @@
         boolean.class, int.class};
 
         try {
             @SuppressWarnings("unchecked")
             Class<? extends FontScaler> tmp = (Class<? extends FontScaler>)
-                (FontUtilities.isOpenJDK ?
+                (!FontUtilities.useT2K ?
                  Class.forName("sun.font.FreetypeFontScaler") :
                  Class.forName("sun.font.T2KFontScaler"));
             scalerClass = tmp;
         } catch (ClassNotFoundException e) {
                 scalerClass = NullFontScaler.class;
< prev index next >