src/java.desktop/unix/native/common/awt/fontpath.c
changeset 47513 d5a1cde89944
parent 47507 5a270d2dfa5d
child 51120 dccdf51b10dd
child 56230 489867818774
equal deleted inserted replaced
47512:fc3ec7e40a12 47513:d5a1cde89944
  1252              */
  1252              */
  1253             if (fontformat != NULL
  1253             if (fontformat != NULL
  1254                 && (strcmp((char*)fontformat, "TrueType") != 0)
  1254                 && (strcmp((char*)fontformat, "TrueType") != 0)
  1255 #if defined(__linux__) || defined(_AIX)
  1255 #if defined(__linux__) || defined(_AIX)
  1256                 && (strcmp((char*)fontformat, "Type 1") != 0)
  1256                 && (strcmp((char*)fontformat, "Type 1") != 0)
       
  1257                 && (strcmp((char*)fontformat, "CFF") != 0)
  1257 #endif
  1258 #endif
  1258              ) {
  1259              ) {
  1259                 continue;
  1260                 continue;
  1260             }
  1261             }
  1261             result = (*FcPatternGetCharSet)(fontPattern,
  1262             result = (*FcPatternGetCharSet)(fontPattern,