vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TrueType fonts for xvile


From: Brendan O'Dea
Subject: Re: TrueType fonts for xvile
Date: Wed, 11 Dec 2024 10:05:36 +1100

I played with this a bit a while ago.  I found a diff and an app-defaults kicking around in my work directory (attached), that should give you an idea of the configure options that I used.

IIRC you need to specify a comma before the font size.  Part of my diff is to change that separator to a dash--I don't recall now if that was a requirement to get it working, or just a preference.  There are a handful of different ways to specify TrueType fonts in my .Xresources, but dash seems to be a common delimiter between the face and the size.

As far as fonts go, I use Hack (Debian package fonts-hack) for programming.  Source Code Pro (https://fonts.google.com/specimen/Source+Code+Pro) is also good.

--bod



On Wed, 11 Dec 2024 at 08:49, Chris Green <cl@isbd.net> 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.



--
Chris Green

Attachment: xft.diff
Description: Source code patch

Attachment: xft.ad
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]