Bug 16818 - fontformat in match pattern is not respected?

This commit is contained in:
Akira TAGOH 2013-08-14 12:51:26 +09:00
parent 45221ab12f
commit 084cf7c44e
2 changed files with 2 additions and 1 deletions

View File

@ -245,6 +245,7 @@ typedef enum _FcMatcherPriorityDummy {
typedef enum _FcMatcherPriority { typedef enum _FcMatcherPriority {
PRI1(HASH), PRI1(HASH),
PRI1(FILE), PRI1(FILE),
PRI1(FONTFORMAT),
PRI1(SCALABLE), PRI1(SCALABLE),
PRI1(FOUNDRY), PRI1(FOUNDRY),
PRI1(CHARSET), PRI1(CHARSET),

View File

@ -35,7 +35,7 @@ FC_OBJECT (CHARSET, FcTypeCharSet, FcCompareCharSet)
FC_OBJECT (LANG, FcTypeLangSet, FcCompareLang) FC_OBJECT (LANG, FcTypeLangSet, FcCompareLang)
FC_OBJECT (FONTVERSION, FcTypeInteger, FcCompareNumber) FC_OBJECT (FONTVERSION, FcTypeInteger, FcCompareNumber)
FC_OBJECT (CAPABILITY, FcTypeString, NULL) FC_OBJECT (CAPABILITY, FcTypeString, NULL)
FC_OBJECT (FONTFORMAT, FcTypeString, NULL) FC_OBJECT (FONTFORMAT, FcTypeString, FcCompareString)
FC_OBJECT (EMBOLDEN, FcTypeBool, NULL) FC_OBJECT (EMBOLDEN, FcTypeBool, NULL)
FC_OBJECT (EMBEDDED_BITMAP, FcTypeBool, NULL) FC_OBJECT (EMBEDDED_BITMAP, FcTypeBool, NULL)
FC_OBJECT (DECORATIVE, FcTypeBool, FcCompareBool) FC_OBJECT (DECORATIVE, FcTypeBool, FcCompareBool)