]> git.pld-linux.org Git - packages/fontconfig.git/blame - fontconfig-git.patch
- rel 3; some nasty, old bug fixed
[packages/fontconfig.git] / fontconfig-git.patch
CommitLineData
5c9119a4
AM
1commit bf3bfa72d91e8bc37903d7e1bb7ac23c6ef4952a
2Author: Behdad Esfahbod <behdad@behdad.org>
3Date: 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
15diff --git a/src/fcmatch.c b/src/fcmatch.c
16index 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 {
This page took 0.117883 seconds and 4 git commands to generate.