]>
Commit | Line | Data |
---|---|---|
5c9119a4 AM |
1 | commit bf3bfa72d91e8bc37903d7e1bb7ac23c6ef4952a |
2 | Author: Behdad Esfahbod <behdad@behdad.org> | |
3 | Date: Wed Jun 22 13:06:19 2011 -0400 | |
4 | ||
5 | Fix stupid bug in FcFontSort() | |
6 | ||
7 | I broke FcFontSort() language handling at the end of 2008 with this | |
8 | commit: c7641f28 | |
9 | ||
10 | G-d knows how many of the lang-matching bugs in bugzilla will be | |
11 | fixed by this changed... | |
12 | ||
13 | I'm really sorry, everyone! | |
14 | ||
15 | diff --git a/src/fcmatch.c b/src/fcmatch.c | |
16 | index f111be5..1b9162b 100644 | |
17 | --- a/src/fcmatch.c | |
18 | +++ b/src/fcmatch.c | |
19 | @@ -749,7 +749,7 @@ FcFontSetSort (FcConfig *config, | |
20 | * If this node matches any language, go check | |
21 | * which ones and satisfy those entries | |
22 | */ | |
23 | - if (nodeps[f]->score[MATCH_LANG_INDEX] < 200) | |
24 | + if (nodeps[f]->score[MATCH_LANG_INDEX] < 2000) | |
25 | { | |
26 | for (i = 0; i < nPatternLang; i++) | |
27 | { |