src/java.desktop/share/classes/sun/font/Font2D.java
Print this page
@@ -459,14 +459,21 @@
/* Currently the layout code calls this. May be better for layout code
* to check the font class before attempting to run, rather than needing
* to promote this method up from TrueTypeFont
*/
- byte[] getTableBytes(int tag) {
+ protected byte[] getTableBytes(int tag) {
return null;
}
+ /* implemented for fonts backed by an sfnt that has
+ * OpenType or AAT layout tables.
+ */
+ protected long getLayoutTableCache() {
+ return 0L;
+ }
+
/* for layout code */
protected long getUnitsPerEm() {
return 2048;
}