]> git.wh0rd.org - fontconfig.git/commit
Revert to original FcFontSetMatch algorithm to avoid losing fonts.
authorKeith Packard <keithp@neko.keithp.com>
Mon, 28 Aug 2006 18:51:12 +0000 (11:51 -0700)
committerKeith Packard <keithp@neko.keithp.com>
Mon, 28 Aug 2006 18:51:12 +0000 (11:51 -0700)
commit2a9179d8895c1cc90d02917f7bb6fac30ffb6a62
tree3c879b5196facd1727f9afd21d1c1c3123da8bbb
parentad05e3135b43f82c64d74f17dfec0b44fe7efcf0
Revert to original FcFontSetMatch algorithm to avoid losing fonts.

The fancy new FcFontSetMatch algorithm would discard fonts for the
wrong reasons; fc-match sans:lang=en,ja would discard all fonts without
Japanese support. This commit reverts to the original algorithm which
ensure that FcFontSetMatch always matches the first font in the
FcFontSetSort return list.
src/fcmatch.c