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:
0831c17
)
Copy all values from pattern to font if the font doesn't have the element
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 14 Jan 2013 20:36:38 +0000
(14:36 -0600)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 14 Jan 2013 20:36:38 +0000
(14:36 -0600)
Bug 59376 - FcFontRenderPrepare enhancement
src/fcmatch.c
patch
|
blob
|
history
diff --git
a/src/fcmatch.c
b/src/fcmatch.c
index
6778967
..
3d15605
100644
(file)
--- a/
src/fcmatch.c
+++ b/
src/fcmatch.c
@@
-549,8
+549,9
@@
FcFontRenderPrepare (FcConfig *config,
fe = FcPatternObjectFindElt (font, pe->object);
if (!fe)
{
- v = FcValueCanonicalize(&FcPatternEltValues(pe)->value);
- FcPatternObjectAdd (new, pe->object, v, FcTrue);
+ FcPatternObjectListAdd (new, pe->object,
+ FcValueListDuplicate (FcPatternEltValues(pe)),
+ 1);
}
}