8188030: AWT java apps fail to start when some minimal fonts are present

Allow using CFF fonts as valid fonts when they are returned by fontconfig during font initialisation.

Reviewed-by: prr, serb
This commit is contained in:
Mario Torre 2017-10-30 13:15:08 +01:00
parent fab3dea711
commit 8ecf308d8f

View File

@ -1254,6 +1254,7 @@ Java_sun_font_FontConfigManager_getFontConfig
&& (strcmp((char*)fontformat, "TrueType") != 0)
#if defined(__linux__) || defined(_AIX)
&& (strcmp((char*)fontformat, "Type 1") != 0)
&& (strcmp((char*)fontformat, "CFF") != 0)
#endif
) {
continue;