mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-15 18:33:41 +00:00
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:
parent
fab3dea711
commit
8ecf308d8f
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user