127 "<init>", "(FFFF)V")); 128 CHECK_NULL(sunFontIDs.rectF2DX = 129 (*env)->GetFieldID(env, sunFontIDs.rect2DFloatClass, "x", "F")); 130 CHECK_NULL(sunFontIDs.rectF2DY = 131 (*env)->GetFieldID(env, sunFontIDs.rect2DFloatClass, "y", "F")); 132 CHECK_NULL(sunFontIDs.rectF2DWidth = 133 (*env)->GetFieldID(env, sunFontIDs.rect2DFloatClass, "width", "F")); 134 CHECK_NULL(sunFontIDs.rectF2DHeight = 135 (*env)->GetFieldID(env, sunFontIDs.rect2DFloatClass, "height", "F")); 136 137 CHECK_NULL(tmpClass = (*env)->FindClass(env, "java/awt/geom/GeneralPath")); 138 sunFontIDs.gpClass = (jclass)(*env)->NewGlobalRef(env, tmpClass); 139 CHECK_NULL(sunFontIDs.gpCtr = 140 (*env)->GetMethodID(env, sunFontIDs.gpClass, "<init>", "(I[BI[FI)V")); 141 CHECK_NULL(sunFontIDs.gpCtrEmpty = 142 (*env)->GetMethodID(env, sunFontIDs.gpClass, "<init>", "()V")); 143 144 CHECK_NULL(tmpClass = (*env)->FindClass(env, "sun/font/Font2D")); 145 CHECK_NULL(sunFontIDs.f2dCharToGlyphMID = 146 (*env)->GetMethodID(env, tmpClass, "charToGlyph", "(I)I")); 147 CHECK_NULL(sunFontIDs.getMapperMID = 148 (*env)->GetMethodID(env, tmpClass, "getMapper", 149 "()Lsun/font/CharToGlyphMapper;")); 150 CHECK_NULL(sunFontIDs.getTableBytesMID = 151 (*env)->GetMethodID(env, tmpClass, "getTableBytes", "(I)[B")); 152 CHECK_NULL(sunFontIDs.canDisplayMID = 153 (*env)->GetMethodID(env, tmpClass, "canDisplay", "(C)Z")); 154 155 CHECK_NULL(tmpClass = (*env)->FindClass(env, "sun/font/CharToGlyphMapper")); 156 CHECK_NULL(sunFontIDs.charToGlyphMID = 157 (*env)->GetMethodID(env, tmpClass, "charToGlyph", "(I)I")); 158 159 CHECK_NULL(tmpClass = (*env)->FindClass(env, "sun/font/PhysicalStrike")); 160 CHECK_NULL(sunFontIDs.getGlyphMetricsMID = 161 (*env)->GetMethodID(env, tmpClass, "getGlyphMetrics", 162 "(I)Ljava/awt/geom/Point2D$Float;")); 163 CHECK_NULL(sunFontIDs.getGlyphPointMID = 164 (*env)->GetMethodID(env, tmpClass, "getGlyphPoint", 165 "(II)Ljava/awt/geom/Point2D$Float;")); 166 CHECK_NULL(sunFontIDs.adjustPointMID = | 127 "<init>", "(FFFF)V")); 128 CHECK_NULL(sunFontIDs.rectF2DX = 129 (*env)->GetFieldID(env, sunFontIDs.rect2DFloatClass, "x", "F")); 130 CHECK_NULL(sunFontIDs.rectF2DY = 131 (*env)->GetFieldID(env, sunFontIDs.rect2DFloatClass, "y", "F")); 132 CHECK_NULL(sunFontIDs.rectF2DWidth = 133 (*env)->GetFieldID(env, sunFontIDs.rect2DFloatClass, "width", "F")); 134 CHECK_NULL(sunFontIDs.rectF2DHeight = 135 (*env)->GetFieldID(env, sunFontIDs.rect2DFloatClass, "height", "F")); 136 137 CHECK_NULL(tmpClass = (*env)->FindClass(env, "java/awt/geom/GeneralPath")); 138 sunFontIDs.gpClass = (jclass)(*env)->NewGlobalRef(env, tmpClass); 139 CHECK_NULL(sunFontIDs.gpCtr = 140 (*env)->GetMethodID(env, sunFontIDs.gpClass, "<init>", "(I[BI[FI)V")); 141 CHECK_NULL(sunFontIDs.gpCtrEmpty = 142 (*env)->GetMethodID(env, sunFontIDs.gpClass, "<init>", "()V")); 143 144 CHECK_NULL(tmpClass = (*env)->FindClass(env, "sun/font/Font2D")); 145 CHECK_NULL(sunFontIDs.f2dCharToGlyphMID = 146 (*env)->GetMethodID(env, tmpClass, "charToGlyph", "(I)I")); 147 CHECK_NULL(sunFontIDs.f2dCharsToGlyphsMID = 148 (*env)->GetMethodID(env, tmpClass, "charsToGlyphs", "(I[I[I)V")); 149 CHECK_NULL(sunFontIDs.getMapperMID = 150 (*env)->GetMethodID(env, tmpClass, "getMapper", 151 "()Lsun/font/CharToGlyphMapper;")); 152 CHECK_NULL(sunFontIDs.getTableBytesMID = 153 (*env)->GetMethodID(env, tmpClass, "getTableBytes", "(I)[B")); 154 CHECK_NULL(sunFontIDs.canDisplayMID = 155 (*env)->GetMethodID(env, tmpClass, "canDisplay", "(C)Z")); 156 157 CHECK_NULL(tmpClass = (*env)->FindClass(env, "sun/font/CharToGlyphMapper")); 158 CHECK_NULL(sunFontIDs.charToGlyphMID = 159 (*env)->GetMethodID(env, tmpClass, "charToGlyph", "(I)I")); 160 161 CHECK_NULL(tmpClass = (*env)->FindClass(env, "sun/font/PhysicalStrike")); 162 CHECK_NULL(sunFontIDs.getGlyphMetricsMID = 163 (*env)->GetMethodID(env, tmpClass, "getGlyphMetrics", 164 "(I)Ljava/awt/geom/Point2D$Float;")); 165 CHECK_NULL(sunFontIDs.getGlyphPointMID = 166 (*env)->GetMethodID(env, tmpClass, "getGlyphPoint", 167 "(II)Ljava/awt/geom/Point2D$Float;")); 168 CHECK_NULL(sunFontIDs.adjustPointMID = |