but it is strange that the first one in the sorted list is not the one fc-match returned.
is it a problem or not?
thanks
[root@linux Release]# LANG=ja fc-match "Droid Sans"
DroidSansJapanese.ttf: "Droid Sans" "Regular"
[root@linux Release]# LANG=ja fc-match -s "Droid Sans" DroidSansJapanese.ttf: "Droid Sans" "Regular" DroidSans.ttf: "Droid Sans" "Regular" DroidSansHebrew.ttf: "Droid Sans" "Regular" DroidSansArabic.ttf: "Droid Sans" "Regular" DroidSansThai.ttf: "Droid Sans" "Regular" DroidSansFallback.ttf: "Droid Sans" "Regular" n019003l.pfb: "Nimbus Sans L" "Regular" uming.ttc: "AR PL UMing HK" "Light" uming.ttc: "AR PL UMing CN" "Light" msyh.ttf: "Microsoft YaHei" "Normal" LiberationMono-Regular.ttf: "Liberation Mono" "Regular" LiberationSans-Regular.ttf: "Liberation Sans" "Regular" LiberationSerif-Regular.ttf: "Liberation Serif" "Regular" ukai.ttc: "AR PL UKai CN" "Book" ukai.ttc: "AR PL UKai TW MBE" "Book" d050000l.pfb: "Dingbats" "Regular" s050000l.pfb: "Standard Symbols L" "Regular"thanks
it is correct for LANG=ja.
but for LANG=ja_JP
[root@linux Release]# LANG=ja_JP fc-match "Droid Sans"
DroidSansJapanese.ttf: "Droid Sans" "Regular"
but for sorted fc-match, the returned list is strange.
[root@linux Release]# LANG=ja_JP fc-match -s "Droid Sans" DroidSans.ttf: "Droid Sans" "Regular" DroidSansHebrew.ttf: "Droid Sans" "Regular" DroidSansArabic.ttf: "Droid Sans" "Regular" DroidSansThai.ttf: "Droid Sans" "Regular" DroidSansJapanese.ttf: "Droid Sans" "Regular" DroidSansFallback.ttf: "Droid Sans" "Regular" n019003l.pfb: "Nimbus Sans L" "Regular" uming.ttc: "AR PL UMing HK" "Light" uming.ttc: "AR PL UMing CN" "Light" msyh.ttf: "Microsoft YaHei" "Normal" LiberationMono-Regular.ttf: "Liberation Mono" "Regular" LiberationSans-Regular.ttf: "Liberation Sans" "Regular" LiberationSerif-Regular.ttf: "Liberation Serif" "Regular" ukai.ttc: "AR PL UKai CN" "Book" ukai.ttc: "AR PL UKai TW MBE" "Book" d050000l.pfb: "Dingbats" "Regular" s050000l.pfb: "Standard Symbols L" "Regular"
James
_______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig