I met a problem that when I run fc-match -s, it returns a list of fonts. <br>but it is strange that the first one in the sorted list is not the one fc-match returned. <br><br>is it a problem or not?<br><br>thanks <br><pre class="bz_comment_text" id="comment_text_1">
<br>[root@linux Release]# LANG=ja fc-match "Droid Sans"<br>DroidSansJapanese.ttf: "Droid Sans" "Regular"</pre>
<pre class="bz_comment_text" id="comment_text_1">[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"
<br>it is correct for LANG=ja. <br>but for LANG=ja_JP<br><br><br>[root@linux Release]# LANG=ja_JP fc-match "Droid Sans"<br>DroidSansJapanese.ttf: "Droid Sans" "Regular"
<br>but for sorted fc-match, the returned list is strange. <br>
[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" </pre>thanks <br><br>James <br>