< prev index next >

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

Print this page

        

@@ -234,11 +234,11 @@
     protected boolean checkUseNatives() {
         if (checkedNatives) {
             return useNatives;
         }
         if (!FontUtilities.isSolaris || useJavaRasterizer ||
-            FontUtilities.useT2K || nativeNames == null ||
+            FontUtilities.useJDKScaler || nativeNames == null ||
             getDirectoryEntry(EBLCTag) != null ||
             GraphicsEnvironment.isHeadless()) {
             checkedNatives = true;
             return false; /* useNatives is false */
         } else if (nativeNames instanceof String) {
< prev index next >