why sometimes the first one of fc-match -s is not the one returned by fc-match?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I met a problem that when I run fc-match -s, it returns a list of fonts.
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"

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"
thanks

James
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux