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:
7e44a0b
)
Copy all values from the font to the pattern if the pattern doesn't have the element
author
Akira TAGOH
<akira@tagoh.org>
Wed, 18 Sep 2013 08:31:10 +0000
(17:31 +0900)
committer
Akira TAGOH
<akira@tagoh.org>
Wed, 18 Sep 2013 08:33:45 +0000
(17:33 +0900)
src/fcmatch.c
patch
|
blob
|
history
diff --git
a/src/fcmatch.c
b/src/fcmatch.c
index
dec92b9
..
627aa1a
100644
(file)
--- a/
src/fcmatch.c
+++ b/
src/fcmatch.c
@@
-552,14
+552,16
@@
FcFontRenderPrepare (FcConfig *config,
continue;
}
+ FcPatternObjectAdd (new, fe->object, v, FcFalse);
}
else
{
if (fel)
goto copy_lang;
- v = FcValueCanonicalize(&FcPatternEltValues (fe)->value);
+ FcPatternObjectListAdd (new, fe->object,
+ FcValueListDuplicate (FcPatternEltValues (fe)),
+ FcTrue);
}
- FcPatternObjectAdd (new, fe->object, v, FcFalse);
}
for (i = 0; i < pat->num; i++)
{