[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TrueType fonts for xvile
From: |
Thomas Dickey |
Subject: |
Re: TrueType fonts for xvile |
Date: |
Tue, 10 Dec 2024 17:56:54 -0500 |
On Tue, Dec 10, 2024 at 09:49:11PM +0000, Chris Green wrote:
> On Tue, Dec 10, 2024 at 04:00:29PM -0500, Thomas Dickey wrote:
> > On Tue, Dec 10, 2024 at 08:07:51PM +0000, Chris Green wrote:
> > > On Tue, Dec 10, 2024 at 05:50:01PM +0000, Chris Green wrote:
> > > > I see that xvile can now be built to use TrueType fonts.
> > > >
> > > > Is this straightforward? The xvile that comes in Debian 12 isn't
> > > > built for TrueType so I'll need to build it myself. I've built and
> > > > compiled it before so that's not a big problem but are there any
> > > > particular issues I should be aware of?
> > > >
> > > > Also, will it just allow me to select all the fonts I can see in the
> > > > rest of my GUI?
> >
> > not really - it needs more work.
> >
> > I mentioned it to Brendan O'Dea a couple of years ago, and he reported that
> > there was some problem repainting the screen.
> >
> > actually, in a quick check, it does run for me, but my configuration has
> > too much horizontal space (a second problem).
> >
> Yes, I have just configured and compiled with the options you
> attached and I see the same 'too much horizontal space', that's a
> pity.
>
> How does one specify a font in this case? I have tried things like
> "xvile -fn 'Liberation Mono Regular 20'" but it just says:-
>
> Warning: Cannot convert string "Liberation Mono Regular 20" to type
> FontStruct
>
> "Liberation Mono Regular 20" does exist on my system, I can select it
> in xfce4-terminal.
It's looking for the "fontFamily" resource (like xfd and xterm, though
there's no "-fa" command-line option at present).
I just checked with this:
FONT='Noto Sans Mono-10'
FONT='Liberation Mono Regular 20'
./xvile -xrm "*fontFamily:$FONT"
#xfd -fa "$FONT"
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
signature.asc
Description: PGP signature