On Sun, Oct 08, 2006 at 09:32:56PM +0100, Ken Moffat wrote:
> On Sun, Oct 08, 2006 at 11:56:21AM -0700, Dan Nicholson wrote:
> > 
> > >  One of my test documents is 'quickbrown.txt' from the ucs-fonts
> > > package (which _doesn't_ provide TTFs).  With DejaVu I can see the
> > > Latin and Cyrillic, with FreeMono I can see the hebrew, but none of
> > > my fonts seem to work correctly on the Japanese or Thai examples.
> > 
> > >From the above, it appears that I'm not using xterm's fonts correctly.
> > But even when I force FreeMono, it doesn't do the right thing. You need
> > a smarter terminal, unfortunately, which knows how to better interact
> > with Fontconfig. Gnome-terminal is handling it nicely, and I'm sure this
> > comes from Pango. But I also have the baekmuk, firefly and kochi fonts
> > installed. The thai looks like it could be sketchy. See screenshot here:
> > 
> > http://anduin.linuxfromscratch.org/~dnicholson/terminal_chars.png
> > 
> 
 I'm reluctant to try gnome-terminal, even though it looks as if it
will "do the right thing" here - one reason is that I'm interested
in accented characters.  With xterm I can input e.g. circumflex
accents on w and y like in Welsh : ŵŷ  using the 'dead_circumflex'
(AltGr + ' used as a modifier, then the character), or e.g. a double
acute accent on o (like in hungarian) using
Compose [ Multi_key ] = o (need to define Multi_key, and need to
hold it down while pressing the others).

 My impression is that those specific examples don't work in any
gtk2 app (although most other AltGr or Compose options do).

 Fortunately, it looks as if rxvt-unicode-7.9 does everything I
want, specifically it will use a list of fonts.  At the moment I've
got

! settings for urxvt
URxvt.background: Black
URxvt.foreground: White
URxvt.geometry: 100x40
URxvt.faceSize: 12
URxvt.font:     xft:DejaVu Sans Mono:autohint=true, \
                xft:FreeMono:autohint=true

 and everything in quickbrown.txt now displays, although the hebrew
is a little small (and yes, my terminals are _big_).  Looks as if
trying to understand all the possible resource settings and examples
in TFM will take me a month of Sundays, but already it seems to do
what I want, example at
http://www.kenmoffat.uklinux.net/downloads/screenshot.png

 I'm unclear how the japanese and thai glyphs display, since they
don't seem to be in the fonts I've asked for, but a little magic is
always welcome.

 Actually, looking at X's en_US.UTF-8/Compose file, I think all the
latin characters now display, even those with multiple accents, but
it's fairly easy to see which come from FreeMono (they're so faint I
can barely read them!).

BTW, I'm getting the same glyph as Dan at the left of the first thai
line, so the fact that it looks a bit like a 'registered' symbol
must just be coincidence ;)

Ken
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to