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

Print this page

        

*** 459,472 **** /* 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) { return null; } /* for layout code */ protected long getUnitsPerEm() { return 2048; } --- 459,479 ---- /* 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 */ ! 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; }