Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Wired fontconfig behavior

From: Wang Xu <gnawux(at)gmail.com>
Date: Tue Sep 04 2007 - 09:17:16 EDT


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 <gnawux@gmail.com>:
> 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:
> | gnawux@stream:~$ 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:
> | gnawux@stream:~$ 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 debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Sep 4 09:17:43 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 03:46:39 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library