[Fontconfig] fc_match blunder when lang=en,ja

Keith Packard keithp at keithp.com
Tue May 9 11:48:35 PDT 2006


I append ,ja to my lang value so that Han characters are rendered with a
Japanese, rather than Chinese font. However, this causes fc_match to
return only fonts capable of displaying both en and ja languages, which
is different than the original behaviour.

Easily reproduced:

$ fc-match sans:lang=en
DejaVuSans.ttf: "DejaVu Sans" "Book"
$ fc-match sans:lang=en,ja
msgothic.ttf: "MS ゴシック" "Regular"
$ LD_LIBRARY_PATH=/usr/lib fc-match sans:lang=en,ja
DejaVu-Sans.ttf: "DejaVu Sans" "Book"


-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20060509/cede63ba/attachment.pgp


More information about the Fontconfig mailing list