Hi,

I've been using the font "NSimSun" as secondary font for displaying CJK
characters in urxvt.  Recently I started to use a configuration in
~/.fonts.conf to prepend "Droid Sans" to "NSimSun":

  <match target="pattern">
    <test name="family">
      <string>NSimSun</string>
    </test>
    <edit binding="strong" mode="prepend" name="family">
      <string>Droid Sans</string>
    </edit>
  </match>

With this fontconfig rule, on web pages where "NSimSun" is being used,
ANSI characters are displayed using "Droid Sans", while CJK characters are
displayed using "NSimSun", which has ugly ANSI glyphs.

But with this fontconfig rule, urxvt is not working as well as Firefox.
In fact, now "NSimSun" is never used.  For example, if I launch urxvt with:

  urxvt -fn xft:NSimSun

urxvt uses "Droid Sans" to display ANSI characters, which is expected, but
it does not use the real "NSimSun" font to display CJK characters, instead
the hardcoded fallback "Sazanami Mincho" is used.

So apparently urxvt does not support fontconfig font fallback, which is sad.
Is there a solution?  Or may I ask for it as a feature request?

Thanks.

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to