< prev index next >

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

Print this page

        

@@ -77,10 +77,16 @@
     Point2D.Float getGlyphPoint(long pScalerContext,
                              int glyphCode, int ptNumber) {
         return new Point2D.Float();
     }
 
+    @Override
+    protected boolean isAAT() {
+        return getTableBytes(TrueTypeFont.morxTag) != null ||
+                getTableBytes(TrueTypeFont.mortTag) != null;
+    }
+
     /* These 3 metrics methods should be implemented to return
      * values in user space.
      */
     abstract StrikeMetrics getFontMetrics(long pScalerContext);
 
< prev index next >