diff --git a/src/fcmatch.c b/src/fcmatch.c index 6778967..3d15605 100644 --- 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); } }