< prev index next >

src/java.desktop/share/native/libfontmanager/sunFont.c

Print this page

        

@@ -142,10 +142,12 @@
          (*env)->GetMethodID(env, sunFontIDs.gpClass, "<init>", "()V"));
 
      CHECK_NULL(tmpClass = (*env)->FindClass(env, "sun/font/Font2D"));
      CHECK_NULL(sunFontIDs.f2dCharToGlyphMID =
          (*env)->GetMethodID(env, tmpClass, "charToGlyph", "(I)I"));
+     CHECK_NULL(sunFontIDs.f2dCharToVariationGlyphMID =
+         (*env)->GetMethodID(env, tmpClass, "charToVariationGlyph", "(II)I"));
      CHECK_NULL(sunFontIDs.getMapperMID =
          (*env)->GetMethodID(env, tmpClass, "getMapper",
                              "()Lsun/font/CharToGlyphMapper;"));
      CHECK_NULL(sunFontIDs.getTableBytesMID =
          (*env)->GetMethodID(env, tmpClass, "getTableBytes", "(I)[B"));
< prev index next >