mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8357252: sun/awt/font/TestArabicHebrew.java fails in OEL 9 and 10 x64
Reviewed-by: serb, psadhukhan, kizune
This commit is contained in:
parent
8585b46c12
commit
245eeb41bc
@ -1038,7 +1038,7 @@ Java_sun_font_FontConfigManager_getFontConfig
|
||||
return;
|
||||
}
|
||||
fontCount = 0;
|
||||
minGlyphs = 20;
|
||||
minGlyphs = 0;
|
||||
if (debugMinGlyphsStr != NULL) {
|
||||
int val = minGlyphs;
|
||||
sscanf(debugMinGlyphsStr, "%5d", &val);
|
||||
@ -1086,14 +1086,6 @@ Java_sun_font_FontConfigManager_getFontConfig
|
||||
return;
|
||||
}
|
||||
|
||||
/* We don't want 20 or 30 fonts, so once we hit 10 fonts,
|
||||
* then require that they really be adding value. Too many
|
||||
* adversely affects load time for minimal value-add.
|
||||
* This is still likely far more than we've had in the past.
|
||||
*/
|
||||
if (j==10) {
|
||||
minGlyphs = 50;
|
||||
}
|
||||
if (unionCharset == NULL) {
|
||||
unionCharset = charset;
|
||||
} else {
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 4198081
|
||||
* @bug 4198081 8357252
|
||||
* @key headful
|
||||
* @summary Arabic characters should appear instead of boxes and be correctly shaped.
|
||||
* Hebrew characters should appear instead of boxes.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user