Blame SOURCES/8188030-pr3459-rh1484079.patch

045ef6
# HG changeset patch
045ef6
# User neugens
045ef6
# Date 1507735508 -3600
045ef6
#      Wed Oct 11 16:25:08 2017 +0100
045ef6
# Node ID 5b91bf11d0f41a6124ffb0fcd8870507b50bd734
045ef6
# Parent  7b1a2f967cd8e950fe7dc47d716af13d36239a38
045ef6
8188030, PR3459, RH1484079: AWT java apps fail to start when some minimal fonts are present
045ef6
Summary: Handle CFF fonts
045ef6
Reviewed-by: andrew, prr
045ef6
045ef6
diff --git a/src/solaris/native/sun/awt/fontpath.c b/src/solaris/native/sun/awt/fontpath.c
045ef6
--- openjdk/jdk/src/solaris/native/sun/awt/fontpath.c
045ef6
+++ openjdk/jdk/src/solaris/native/sun/awt/fontpath.c
045ef6
@@ -1233,6 +1233,7 @@
045ef6
                 && (strcmp((char*)fontformat, "TrueType") != 0)
045ef6
 #if defined(__linux__) || defined(_AIX)
045ef6
                 && (strcmp((char*)fontformat, "Type 1") != 0)
045ef6
+                && (strcmp((char*)fontformat, "CFF") != 0)
045ef6
 #endif
045ef6
              ) {
045ef6
                 continue;