Re: [gentoo-user] Re: Bespoke terminal font

2023-06-07 Thread Dr Rainer Woitok
Matt,

On Tuesday, 2023-06-06 10:31:01 -0400, you wrote:

> ...
> dev-util/otf2bdf is available in the 4nykey repository.

Thanks for the pointer.  And also thanks to Grant  for providing another
pointer.

> media-gfx/psftools is in the gentoo repository as far as I can see.

You are perfectly right  --  I just managed  to mistype "psftools" in my
query :-/

Sincerely,
  Rainer



Re: [gentoo-user] Bespoke terminal font

2023-06-07 Thread Peter Humphrey
On Monday, 5 June 2023 18:53:22 BST Mitch D. wrote:

> > As for other fonts to explore AI suggests:
> > 
> > Droid Sans Mono
> > Inconsolata
> > Liberation Mono

Those first two have the problem I find troublesome. See my other post for the 
third.

Thanks anyway.

-- 
Regards,
Peter.






Re: [gentoo-user] Re: Bespoke terminal font

2023-06-07 Thread Peter Humphrey
On Monday, 5 June 2023 16:51:51 BST Grant Edwards wrote:
> On 2023-06-05, Peter Humphrey  wrote:
> > I use DejaVu mono in KDE Plasma, which does not do this and is much
> > easier to Read with the plain 0. I'd like to find a terminal font
> > like it.
> 
> This package claims to be able to generate console fonts (.psfu) from
> TrueType fonts (.ttf) such as DejaVu mono:
> 
> https://slackware.uk/~urchlay/repos/ttf-console-fonts/about/

That's exactly what I needed - thank you Grant. At least, I think it is.

Now, having created a deja.psf.gz from DejaVuSansMono, and put it in /usr/
local/share, I've set the font to /usr/local/share/deja and restarted 
consolefont. I get an error: "setfont.c:58 do_loadfont: Bad character height 
37".

Changing the point size specified to otf2bdf (and rerunning bdf2psf) makes no 
difference.

Next, I tried doing the same thing to Liberation.Mono-Regular, but bdf2psf 
complained "the width is not integer number." I had taken care to copy the 
previous bdf2psf command, which appeared to have succeeded, simply 
substituting the font name.

Has anyone another clue for me? I'm a bit stuck at the moment.

-- 
Regards,
Peter.