< prev index next >

modules/web/src/main/java/com/sun/javafx/webkit/prism/WCFontImpl.java

Print this page

        

@@ -213,6 +213,10 @@
     }
 
     public Object getPlatformFont() {
         return font;
     }
+
+    @Override public float getCapHeight() {
+        return getFontStrike().getMetrics().getCapHeight();
+    }
 }
< prev index next >