projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45221ab
)
Bug 16818 - fontformat in match pattern is not respected?
author
Akira TAGOH
<akira@tagoh.org>
Wed, 14 Aug 2013 03:51:26 +0000
(12:51 +0900)
committer
Akira TAGOH
<akira@tagoh.org>
Wed, 14 Aug 2013 03:51:26 +0000
(12:51 +0900)
src/fcmatch.c
patch
|
blob
|
history
src/fcobjs.h
patch
|
blob
|
history
diff --git
a/src/fcmatch.c
b/src/fcmatch.c
index
8b285f6
..
dec92b9
100644
(file)
--- a/
src/fcmatch.c
+++ b/
src/fcmatch.c
@@
-245,6
+245,7
@@
typedef enum _FcMatcherPriorityDummy {
typedef enum _FcMatcherPriority {
PRI1(HASH),
PRI1(FILE),
+ PRI1(FONTFORMAT),
PRI1(SCALABLE),
PRI1(FOUNDRY),
PRI1(CHARSET),
diff --git
a/src/fcobjs.h
b/src/fcobjs.h
index
c09a40e
..
87c7319
100644
(file)
--- a/
src/fcobjs.h
+++ b/
src/fcobjs.h
@@
-35,7
+35,7
@@
FC_OBJECT (CHARSET, FcTypeCharSet, FcCompareCharSet)
FC_OBJECT (LANG, FcTypeLangSet, FcCompareLang)
FC_OBJECT (FONTVERSION, FcTypeInteger, FcCompareNumber)
FC_OBJECT (CAPABILITY, FcTypeString, NULL)
-FC_OBJECT (FONTFORMAT, FcTypeString,
NULL
)
+FC_OBJECT (FONTFORMAT, FcTypeString,
FcCompareString
)
FC_OBJECT (EMBOLDEN, FcTypeBool, NULL)
FC_OBJECT (EMBEDDED_BITMAP, FcTypeBool, NULL)
FC_OBJECT (DECORATIVE, FcTypeBool, FcCompareBool)