Commit f11a1841 authored by Patrick Lam's avatar Patrick Lam
Browse files

Don't kill fonts because they don't declare an element that's being matched

    on.
reviewed by: plam
parent 879af706
2006-02-10 Takashi Iwai <tiwai@suse.de>
reviewed by: plam
* src/fcmatch.c (FcFontSetMatch):
Don't kill fonts because they don't declare an element that's
being matched on.
2006-02-09 Patrick Lam <plam@mit.edu>
* src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
......
......@@ -673,6 +673,10 @@ FcFontSetMatch (FcConfig *config,
}
}
/* We had no matching, just try the next one */
if (score == 1e99)
continue;
/* If there's a previous champion, and current score
* beats previous best score, on this element, then
* knock out the previous champion and anything
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment