< prev index next >

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

Print this page

        

*** 256,266 **** if (scalerInfo->fontData != NULL) { bBuffer = (*env)->NewDirectByteBuffer(env, scalerInfo->fontData, scalerInfo->fontDataLength); if (bBuffer != NULL) { ! (*env)->CallObjectMethod(env, font2D, sunFontIDs.readFileMID, bBuffer); error = FT_New_Memory_Face(scalerInfo->library, scalerInfo->fontData, scalerInfo->fontDataLength, --- 256,266 ---- if (scalerInfo->fontData != NULL) { bBuffer = (*env)->NewDirectByteBuffer(env, scalerInfo->fontData, scalerInfo->fontDataLength); if (bBuffer != NULL) { ! (*env)->CallVoidMethod(env, font2D, sunFontIDs.readFileMID, bBuffer); error = FT_New_Memory_Face(scalerInfo->library, scalerInfo->fontData, scalerInfo->fontDataLength,
< prev index next >