8291959: FileFontStrike#initNative does not properly initialize IG Table on Windows
Reviewed-by: prr
This commit is contained in:
parent
a28ab7b62a
commit
3d20a8b20a
@ -125,7 +125,7 @@ static unsigned char* getIGTable(int gamma) {
|
||||
JNIEXPORT jboolean JNICALL
|
||||
Java_sun_font_FileFontStrike_initNative(JNIEnv *env, jclass unused) {
|
||||
|
||||
memset(igLUTable, 0, LCDLUTCOUNT);
|
||||
memset(igLUTable, 0, sizeof igLUTable);
|
||||
|
||||
return JNI_TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user