Fix matching bug when multiple elements match; don't use the sum of all

scores, but the best score.
Also more perf opts, e.g. evaluate best over all font sets rather than on a
    per-set basis (and other changes).
This commit is contained in:
Patrick Lam 2006-01-08 10:58:05 +00:00
parent 05a98eaf4b
commit a6d3757d98
1 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2006-01-08 James Su <james.su@gmail.com>
* src/fcmatch.c (FcFontSetMatch):
Fix matching bug when multiple elements match; don't use
the sum of all scores, but the best score.
Also more perf opts, e.g. evaluate best over all font sets
rather than on a per-set basis (and other changes).
2006-01-08 Patrick Lam <plam@mit.edu> 2006-01-08 Patrick Lam <plam@mit.edu>
* src/fccache.c (FcDirCacheConsume): * src/fccache.c (FcDirCacheConsume):