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 = 167 (*env)->GetMethodID(env, tmpClass, "adjustPoint", 168 "(Ljava/awt/geom/Point2D$Float;)V")); 169 CHECK_NULL(sunFontIDs.pScalerContextFID = 170 (*env)->GetFieldID(env, tmpClass, "pScalerContext", "J")); 171 172 CHECK_NULL(tmpClass = (*env)->FindClass(env, "sun/font/GlyphList")); 173 CHECK_NULL(sunFontIDs.glyphListX = 174 (*env)->GetFieldID(env, tmpClass, "x", "F")); 175 CHECK_NULL(sunFontIDs.glyphListY = 176 (*env)->GetFieldID(env, tmpClass, "y", "F")); 177 CHECK_NULL(sunFontIDs.glyphListLen = | 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 CHECK_NULL(sunFontIDs.charsToGlyphsMID = 161 (*env)->GetMethodID(env, tmpClass, "charsToGlyphs", "(I[I[I)V")); 162 163 CHECK_NULL(tmpClass = (*env)->FindClass(env, "sun/font/PhysicalStrike")); 164 CHECK_NULL(sunFontIDs.getGlyphMetricsMID = 165 (*env)->GetMethodID(env, tmpClass, "getGlyphMetrics", 166 "(I)Ljava/awt/geom/Point2D$Float;")); 167 CHECK_NULL(sunFontIDs.getGlyphPointMID = 168 (*env)->GetMethodID(env, tmpClass, "getGlyphPoint", 169 "(II)Ljava/awt/geom/Point2D$Float;")); 170 CHECK_NULL(sunFontIDs.adjustPointMID = 171 (*env)->GetMethodID(env, tmpClass, "adjustPoint", 172 "(Ljava/awt/geom/Point2D$Float;)V")); 173 CHECK_NULL(sunFontIDs.pScalerContextFID = 174 (*env)->GetFieldID(env, tmpClass, "pScalerContext", "J")); 175 176 CHECK_NULL(tmpClass = (*env)->FindClass(env, "sun/font/GlyphList")); 177 CHECK_NULL(sunFontIDs.glyphListX = 178 (*env)->GetFieldID(env, tmpClass, "x", "F")); 179 CHECK_NULL(sunFontIDs.glyphListY = 180 (*env)->GetFieldID(env, tmpClass, "y", "F")); 181 CHECK_NULL(sunFontIDs.glyphListLen = |