On Sun, Oct 15, 2017 at 11:07:55AM +0200, Niels Kobschaetzki wrote:
> > I do this because I prefer the default font in xterms for Latin
> > text, and the Japanese font is too big for my tastes.  For
> > Japanese it's the other way around.  A bigger font is necessary to
> > show the detail of kanji.  Either way, it's only a display issue
> > and I can edit documents even if the font doesn't display them
> > properly.
> 
> I hoped, I can find a way to use both at once - Terminess for ascii, a
> Japanese font for Japanese.

If specifying multiple fonts in xterm's font resource key at the same
time is not possible, you can achieve this exact behaviour in urvxt,
which supports font lookup lists. There, I have:

URxvt.font:                         xft:Fantasque Sans 
Mono:style=Regular:size=15,\
                                    xft:IPAGothic:antialias=false,\
                                    xft:DejaVu Serif
URxvt.boldFont:                     xft:Fantasque Sans Mono:style=Bold,\
                                    xft:IPAGothic:style=bold:antialias=false,\
                                    xft:DejaVu Sans Mono:style=bold,\
                                    xft:DejaVu Serif:style=bold
URxvt.letterSpace:                  -1

meaning, that if a CJK glyph can't be found in Fantasque Sans, it looks
up the glyph in the next listed font.

Reply via email to