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