Additional info: the following will happen only under zh_CN locale, and when I change locale to en_US, it will in a correct sequence without requiring a ``fc-cache'' .
How is the font matching/selection affected by locales? Thank you! 2007/9/4, Wang Xu <[EMAIL PROTECTED]>: > Hi list, > > I set alias of monospace in my ${HOME}/.fonts.conf like this: > | <alias> > | <family>monospace</family> > | <prefer> > | <family>Bitstream Vera Sans Mono</family> > | <family>FZXiYuan-M01S</family> > | </prefer> > | </alias> > but with fc-match, I found the latter have a higher position: > | [EMAIL PROTECTED]:~$ fc-match -s "monospace"|head > | fzyljw.ttf: "FZXiYuan-M01S" "Regular" > | VeraMono.ttf: "Bitstream Vera Sans Mono" "Roman" > | ... > > where the FZXiYuan is a Chinese font. Even if I substitute FZXiYuan > with another Chinese fonts and substitute bitstream with another > Lattin fonts, it behaviors like above. > > The same thing occured on serif and sans-serif also, however, for > bitstream fonts, it works well, for instance > | <alias> > | <family>Bitstream Vera Sans Mono</family> > | <prefer> > | <family>Bitstream Vera Sans Mono</family> > | <family>FZXiYuan-M01S</family> > | </prefer> > | </alias> > and with fc-match: > | [EMAIL PROTECTED]:~$ fc-match -s "Bitstream Vera Sans Mono"|head > | VeraMono.ttf: "Bitstream Vera Sans Mono" "Roman" > | fzyljw.ttf: "FZXiYuan-M01S" "Regular" > |..... > > What's wrong with monospace, sans-serif, and serif? > > any ideas? > > Thank you! > > -- > Wang Xu > -- Wang Xu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]