]> git.wh0rd.org Git - fontconfig.git/commit
Fonts matching lang not territory should satisfy sort pattern lang.
authorKeith Packard <keithp@neko.keithp.com>
Fri, 1 Sep 2006 22:33:27 +0000 (15:33 -0700)
committerKeith Packard <keithp@neko.keithp.com>
Fri, 1 Sep 2006 22:33:27 +0000 (15:33 -0700)
commit3bb1812f0d173b153415e2191ecdd27a95fc4b05
treeb95463085bd3decf0862b4f717c1d4050e0cb970
parentcfccd4873a44da5b041368d5fca4f05180dcf041
Fonts matching lang not territory should satisfy sort pattern lang.

A pattern specifying 'Chinese' (:lang=zh) without a territory should be
satisfied by any font supporting any Chinese lang. The code was requiring
that the lang tags match exactly, causing this sort to fail.
src/fcmatch.c