On 3/24/06, Ken Moffat <[EMAIL PROTECTED]> wrote:
> On Fri, 24 Mar 2006, Dan Nicholson wrote:
>
> >   You can even make xterm use
> > TrueType fonts through libXft.  It's such an improvement.
> >
>
> Well, it would be if I could see it.  So far I -think- I've persuaded it
> to use DejaVu with
>
> xterm -u8 -en UTF-8 -xrm 'faceName: Deja Vu Sans Mono'
>
> which looks as if almost everything is displaying correctly with 'cat',
> (might be missing one hebrew glyph, to judge from Kuhn's quickbrown.txt
> from ucs-fonts), but it's so *tiny*.  Both -fs and e.g. -xrm 'faceSize:
> 24' are ignored.

Hmm.  Well, I think DejaVu needs to be one word.  I just stuffed it in
.Xresources.  Actually, I have to be fair that I hacked fonts.conf to
prefer DejaVu Sans Mono as the top monospace font, but here's what I
have in .Xresources:

*VT100.locale: 1
! *VT100.faceName: "DejaVu Sans Mono"
! *VT100.faceName: "Luxi Mono"
*VT100.faceName: "Monospace"

I'm not on that box to test, but I think the second one worked before
I commented it out and made DejaVu the preferred Monospace font.  I
didn't touch the font size either, and it's the exact opposite.  The
DejaVu font is huge (but easy on the eyes) compared to the default X
monospace font.

If you're interested in the font preferences, just find every instance
of <family>Bitstream Vera X</family> in /etc/fonts/fonts.conf and
insert a comparable <family>DejaVu X</family> above it.  It wouldn't
work if I tried to make it a separate conf file in /etc/fonts/conf.d.

> So, I look forward to your definitive work on fonts ;)

Well, it's not gonna be definitive.  I'm learning as I go, and I
really don't know much about controlling X resources.  Alexander's
post from December has way more info than I can come up with.

I'll be putting up a preliminary rendering in ~dnicholson tomorrow for
editing.  I'm not the expert here, I just hope to get the ball
rolling.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to