< 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.f2dCharsToGlyphsMID =
+         (*env)->GetMethodID(env, tmpClass, "charsToGlyphs", "(I[I[I)V"));
      CHECK_NULL(sunFontIDs.getMapperMID =
          (*env)->GetMethodID(env, tmpClass, "getMapper",
                              "()Lsun/font/CharToGlyphMapper;"));
      CHECK_NULL(sunFontIDs.getTableBytesMID =
          (*env)->GetMethodID(env, tmpClass, "getTableBytes", "(I)[B"));

@@ -153,10 +155,12 @@
          (*env)->GetMethodID(env, tmpClass, "canDisplay", "(C)Z"));
 
      CHECK_NULL(tmpClass = (*env)->FindClass(env, "sun/font/CharToGlyphMapper"));
      CHECK_NULL(sunFontIDs.charToGlyphMID =
         (*env)->GetMethodID(env, tmpClass, "charToGlyph", "(I)I"));
+     CHECK_NULL(sunFontIDs.charsToGlyphsMID =
+         (*env)->GetMethodID(env, tmpClass, "charsToGlyphs", "(I[I[I)V"));
 
      CHECK_NULL(tmpClass = (*env)->FindClass(env, "sun/font/PhysicalStrike"));
      CHECK_NULL(sunFontIDs.getGlyphMetricsMID =
          (*env)->GetMethodID(env, tmpClass, "getGlyphMetrics",
                              "(I)Ljava/awt/geom/Point2D$Float;"));
< prev index next >