public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Bespoke terminal font
@ 2023-06-05 15:35 Peter Humphrey
  2023-06-05 15:51 ` [gentoo-user] " Grant Edwards
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Peter Humphrey @ 2023-06-05 15:35 UTC (permalink / raw
  To: gentoo-user

Hello list,

I'm still trying to find a terminal font (not an X font) to suit my 
deteriorating sight. Every terminal font I've found includes either a dot in 
the centre of the /zero/ character or a diagonal bar across it. Either of 
these makes a zero resemble an eight: 0, 8. I often need a magnifying glass to 
see which it is. I suppose it's meant to distinguish a zero from a capital o: 
0, O, but this can be handled better in moderate to large font sizes such as I 
use, by sloping the shoulders of the zero to resemble those used in the 
publishing trade.

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. Or is there a 
tool I can use to adjust the Terminus Font I use in my VTs? All the font 
editors I've seen are for GUI use.

There was a half-suitable utility years ago, whose name I've forgotten, which 
might well be suitable if it could handle two-byte characters.

Is there either a console font like what I've described, or a font editor that 
would allow me to make my own?

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 18+ messages in thread

* [gentoo-user] Re: Bespoke terminal font
  2023-06-05 15:35 [gentoo-user] Bespoke terminal font Peter Humphrey
@ 2023-06-05 15:51 ` Grant Edwards
  2023-06-06  0:19   ` Peter Humphrey
  2023-06-07 14:14   ` Peter Humphrey
  2023-06-05 15:54 ` [gentoo-user] " Mark Knecht
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 18+ messages in thread
From: Grant Edwards @ 2023-06-05 15:51 UTC (permalink / raw
  To: gentoo-user

On 2023-06-05, Peter Humphrey <peter@prh.myzen.co.uk> 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/




^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Bespoke terminal font
  2023-06-05 15:35 [gentoo-user] Bespoke terminal font Peter Humphrey
  2023-06-05 15:51 ` [gentoo-user] " Grant Edwards
@ 2023-06-05 15:54 ` Mark Knecht
  2023-06-05 16:42   ` Matt Connell
  2023-06-06  3:59 ` David Rosenbaum
  2023-06-08 14:22 ` Walter Dnes
  3 siblings, 1 reply; 18+ messages in thread
From: Mark Knecht @ 2023-06-05 15:54 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1502 bytes --]

On Mon, Jun 5, 2023 at 8:36 AM Peter Humphrey <peter@prh.myzen.co.uk> wrote:
>
> Hello list,
>
> I'm still trying to find a terminal font (not an X font) to suit my
> deteriorating sight. Every terminal font I've found includes either a dot
in
> the centre of the /zero/ character or a diagonal bar across it. Either of
> these makes a zero resemble an eight: 0, 8. I often need a magnifying
glass to
> see which it is. I suppose it's meant to distinguish a zero from a
capital o:
> 0, O, but this can be handled better in moderate to large font sizes such
as I
> use, by sloping the shoulders of the zero to resemble those used in the
> publishing trade.
>
> 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. Or is
there a
> tool I can use to adjust the Terminus Font I use in my VTs? All the font
> editors I've seen are for GUI use.
>
> There was a half-suitable utility years ago, whose name I've forgotten,
which
> might well be suitable if it could handle two-byte characters.
>
> Is there either a console font like what I've described, or a font editor
that
> would allow me to make my own?
>
> --
> Regards,
> Peter.
>

There's a terminal font called 'hack' that doesn't have anything inside the
zero.

No idea whether it addresses any other issues.

Sorry about the eyesight issues. I'm starting to deal with a bit of that
myself.

Good luck,
Mark

[-- Attachment #2: Type: text/html, Size: 1845 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Bespoke terminal font
  2023-06-05 15:54 ` [gentoo-user] " Mark Knecht
@ 2023-06-05 16:42   ` Matt Connell
  2023-06-05 17:31     ` Mark Knecht
  0 siblings, 1 reply; 18+ messages in thread
From: Matt Connell @ 2023-06-05 16:42 UTC (permalink / raw
  To: gentoo-user

On Mon, 2023-06-05 at 08:54 -0700, Mark Knecht wrote:
> There's a terminal font called 'hack' that doesn't have anything
> inside the zero.

Is this the right one?

https://github.com/source-foundry/Hack


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Bespoke terminal font
  2023-06-05 16:42   ` Matt Connell
@ 2023-06-05 17:31     ` Mark Knecht
  2023-06-05 17:36       ` Mark Knecht
  2023-06-05 19:18       ` Matt Connell
  0 siblings, 2 replies; 18+ messages in thread
From: Mark Knecht @ 2023-06-05 17:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

On Mon, Jun 5, 2023 at 9:43 AM Matt Connell <matt@connell.tech> wrote:
>
> On Mon, 2023-06-05 at 08:54 -0700, Mark Knecht wrote:
> > There's a terminal font called 'hack' that doesn't have anything
> > inside the zero.
>
> Is this the right one?
>
> https://github.com/source-foundry/Hack

Bummer. Looks like he might have changed it.

I'm starting to have old-person type eye problems and
found this article:

https://itsfoss.com/fonts-linux-terminal/

which from the example has nothing inside the zero,
but the picture on the github page looks like it does.

Mark

[-- Attachment #2: Type: text/html, Size: 934 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Bespoke terminal font
  2023-06-05 17:31     ` Mark Knecht
@ 2023-06-05 17:36       ` Mark Knecht
  2023-06-05 17:53         ` Mitch D.
  2023-06-05 19:18       ` Matt Connell
  1 sibling, 1 reply; 18+ messages in thread
From: Mark Knecht @ 2023-06-05 17:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

On Mon, Jun 5, 2023 at 10:31 AM Mark Knecht <markknecht@gmail.com> wrote:
>
>
>
> On Mon, Jun 5, 2023 at 9:43 AM Matt Connell <matt@connell.tech> wrote:
> >
> > On Mon, 2023-06-05 at 08:54 -0700, Mark Knecht wrote:
> > > There's a terminal font called 'hack' that doesn't have anything
> > > inside the zero.
> >
> > Is this the right one?
> >
> > https://github.com/source-foundry/Hack
>
> Bummer. Looks like he might have changed it.
>
> I'm starting to have old-person type eye problems and
> found this article:
>
> https://itsfoss.com/fonts-linux-terminal/
>
> which from the example has nothing inside the zero,
> but the picture on the github page looks like it does.
>
> Mark


As for other fonts to explore AI suggests:

Droid Sans Mono
Inconsolata
Liberation Mono

I see  some example pages that look ok but
I don't have time to explore and test.

HTH,
Mark
Source Code Pro

[-- Attachment #2: Type: text/html, Size: 1356 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Bespoke terminal font
  2023-06-05 17:36       ` Mark Knecht
@ 2023-06-05 17:53         ` Mitch D.
  2023-06-07 14:15           ` Peter Humphrey
  0 siblings, 1 reply; 18+ messages in thread
From: Mitch D. @ 2023-06-05 17:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1363 bytes --]

I use either Droid Sans Mono or Inconsolata (one is a fallback for
unsupported glyphs in the other, but I forget which one's which), and I
have nothing inside my zeros. Zero is distinguished by having flattened /
vertical sides, while the capital letter 'O' is rounded.

On Mon, Jun 5, 2023 at 1:37 PM Mark Knecht <markknecht@gmail.com> wrote:

>
>
> On Mon, Jun 5, 2023 at 10:31 AM Mark Knecht <markknecht@gmail.com> wrote:
> >
> >
> >
> > On Mon, Jun 5, 2023 at 9:43 AM Matt Connell <matt@connell.tech> wrote:
> > >
> > > On Mon, 2023-06-05 at 08:54 -0700, Mark Knecht wrote:
> > > > There's a terminal font called 'hack' that doesn't have anything
> > > > inside the zero.
> > >
> > > Is this the right one?
> > >
> > > https://github.com/source-foundry/Hack
> >
> > Bummer. Looks like he might have changed it.
> >
> > I'm starting to have old-person type eye problems and
> > found this article:
> >
> > https://itsfoss.com/fonts-linux-terminal/
> >
> > which from the example has nothing inside the zero,
> > but the picture on the github page looks like it does.
> >
> > Mark
>
>
> As for other fonts to explore AI suggests:
>
> Droid Sans Mono
> Inconsolata
> Liberation Mono
>
> I see  some example pages that look ok but
> I don't have time to explore and test.
>
> HTH,
> Mark
> Source Code Pro
>

[-- Attachment #2: Type: text/html, Size: 2043 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Bespoke terminal font
  2023-06-05 17:31     ` Mark Knecht
  2023-06-05 17:36       ` Mark Knecht
@ 2023-06-05 19:18       ` Matt Connell
  1 sibling, 0 replies; 18+ messages in thread
From: Matt Connell @ 2023-06-05 19:18 UTC (permalink / raw
  To: gentoo-user

On Mon, 2023-06-05 at 10:31 -0700, Mark Knecht wrote:
> Bummer. Looks like he might have changed it.

Unfortunately I'm no further help in that case.  Visually I live and
die by the slashed zero, using Terminus, which itself is a replacement
for the very old-fashioned ProFont.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Re: Bespoke terminal font
  2023-06-05 15:51 ` [gentoo-user] " Grant Edwards
@ 2023-06-06  0:19   ` Peter Humphrey
  2023-06-06 14:02     ` Dr Rainer Woitok
  2023-06-07 14:14   ` Peter Humphrey
  1 sibling, 1 reply; 18+ messages in thread
From: Peter Humphrey @ 2023-06-06  0:19 UTC (permalink / raw
  To: gentoo-user

On Monday, 5 June 2023 16:51:51 BST Grant Edwards wrote:
> On 2023-06-05, Peter Humphrey <peter@prh.myzen.co.uk> 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/

Thanks Grant; that looks interesting. I'll have a look at it in the morning.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Bespoke terminal font
  2023-06-05 15:35 [gentoo-user] Bespoke terminal font Peter Humphrey
  2023-06-05 15:51 ` [gentoo-user] " Grant Edwards
  2023-06-05 15:54 ` [gentoo-user] " Mark Knecht
@ 2023-06-06  3:59 ` David Rosenbaum
  2023-06-08 14:22 ` Walter Dnes
  3 siblings, 0 replies; 18+ messages in thread
From: David Rosenbaum @ 2023-06-06  3:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]

Thank u

Dave

On Mon, Jun 5, 2023, 11:36 AM Peter Humphrey <peter@prh.myzen.co.uk> wrote:

> Hello list,
>
> I'm still trying to find a terminal font (not an X font) to suit my
> deteriorating sight. Every terminal font I've found includes either a dot
> in
> the centre of the /zero/ character or a diagonal bar across it. Either of
> these makes a zero resemble an eight: 0, 8. I often need a magnifying
> glass to
> see which it is. I suppose it's meant to distinguish a zero from a capital
> o:
> 0, O, but this can be handled better in moderate to large font sizes such
> as I
> use, by sloping the shoulders of the zero to resemble those used in the
> publishing trade.
>
> 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. Or is
> there a
> tool I can use to adjust the Terminus Font I use in my VTs? All the font
> editors I've seen are for GUI use.
>
> There was a half-suitable utility years ago, whose name I've forgotten,
> which
> might well be suitable if it could handle two-byte characters.
>
> Is there either a console font like what I've described, or a font editor
> that
> would allow me to make my own?
>
> --
> Regards,
> Peter.
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 1692 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Re: Bespoke terminal font
  2023-06-06  0:19   ` Peter Humphrey
@ 2023-06-06 14:02     ` Dr Rainer Woitok
  2023-06-06 14:31       ` Matt Connell
  2023-06-06 14:31       ` Grant Edwards
  0 siblings, 2 replies; 18+ messages in thread
From: Dr Rainer Woitok @ 2023-06-06 14:02 UTC (permalink / raw
  To: gentoo-user

Grant,

On Monday, 5 June 2023 16:51:51 BST you wrote:

> ...
> 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/

This URL mentions three requirements:

  - bdf2psf
  - otf2bdf
  - psftools

from which only the first  (app-text/bdf2psf)  seems to be  available in
the Gentoo mirror :-(

Sincerely,
  Rainer


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Re: Bespoke terminal font
  2023-06-06 14:02     ` Dr Rainer Woitok
@ 2023-06-06 14:31       ` Matt Connell
  2023-06-07 15:52         ` Dr Rainer Woitok
  2023-06-06 14:31       ` Grant Edwards
  1 sibling, 1 reply; 18+ messages in thread
From: Matt Connell @ 2023-06-06 14:31 UTC (permalink / raw
  To: gentoo-user

On Tue, 2023-06-06 at 16:02 +0200, Dr Rainer Woitok wrote:
> This URL mentions three requirements:
> 
>   - bdf2psf
>   - otf2bdf
>   - psftools
> 
> from which only the first  (app-text/bdf2psf)  seems to be  available in
> the Gentoo mirror :-(

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

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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [gentoo-user] Re: Bespoke terminal font
  2023-06-06 14:02     ` Dr Rainer Woitok
  2023-06-06 14:31       ` Matt Connell
@ 2023-06-06 14:31       ` Grant Edwards
  1 sibling, 0 replies; 18+ messages in thread
From: Grant Edwards @ 2023-06-06 14:31 UTC (permalink / raw
  To: gentoo-user

On 2023-06-06, Dr Rainer Woitok <rainer.woitok@gmail.com> wrote:
>> ...
>> 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/
>
> This URL mentions three requirements:
>
>   - bdf2psf
>   - otf2bdf
>   - psftools
>
> from which only the first  (app-text/bdf2psf)  seems to be  available in
> the Gentoo mirror :-(


https://packages.gentoo.org/packages/media-gfx/psftools

https://gpo.zugaina.org/dev-util/otf2bdf



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Re: Bespoke terminal font
  2023-06-05 15:51 ` [gentoo-user] " Grant Edwards
  2023-06-06  0:19   ` Peter Humphrey
@ 2023-06-07 14:14   ` Peter Humphrey
  1 sibling, 0 replies; 18+ messages in thread
From: Peter Humphrey @ 2023-06-07 14:14 UTC (permalink / raw
  To: gentoo-user

On Monday, 5 June 2023 16:51:51 BST Grant Edwards wrote:
> On 2023-06-05, Peter Humphrey <peter@prh.myzen.co.uk> 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.





^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Bespoke terminal font
  2023-06-05 17:53         ` Mitch D.
@ 2023-06-07 14:15           ` Peter Humphrey
  0 siblings, 0 replies; 18+ messages in thread
From: Peter Humphrey @ 2023-06-07 14:15 UTC (permalink / raw
  To: gentoo-user

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.





^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Re: Bespoke terminal font
  2023-06-06 14:31       ` Matt Connell
@ 2023-06-07 15:52         ` Dr Rainer Woitok
  0 siblings, 0 replies; 18+ messages in thread
From: Dr Rainer Woitok @ 2023-06-07 15:52 UTC (permalink / raw
  To: gentoo-user, Matt Connell, Grant Edwards

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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Bespoke terminal font
  2023-06-05 15:35 [gentoo-user] Bespoke terminal font Peter Humphrey
                   ` (2 preceding siblings ...)
  2023-06-06  3:59 ` David Rosenbaum
@ 2023-06-08 14:22 ` Walter Dnes
  2023-06-08 16:11   ` Peter Humphrey
  3 siblings, 1 reply; 18+ messages in thread
From: Walter Dnes @ 2023-06-08 14:22 UTC (permalink / raw
  To: gentoo-user

On Mon, Jun 05, 2023 at 04:35:41PM +0100, Peter Humphrey wrote
> Hello list,
> 
> I'm still trying to find a terminal font (not an X font) to suit my
> deteriorating sight. Every terminal font I've found includes either
> a dot in the centre of the /zero/ character or a diagonal bar across
> it. Either of these makes a zero resemble an eight: 0, 8. I often
> need a magnifying glass to see which it is. I suppose it's meant to
> distinguish a zero from a capital o: 0, O, but this can be handled
> better in moderate to large font sizes such as I use, by sloping the
> shoulders of the zero to resemble those used in the publishing trade.

  Set...

consolefont="solar24x32"

...in /etc/conf.d/consolefont

  It is Y-U-U-U-G-E, coming in at 80 columns by 33 rows on my 1920x1080
text console.  And no dot in the centre.  But you may have problems
distinguishing zero from O and o. <G>

-- 
I've seen things, you people wouldn't believe; Gopher, Netscape with
frames, the first Browser Wars.  Searching for pages with AltaVista,
pop-up windows self-replicating, trying to uninstall RealPlayer.  All
those moments, will be lost in time like tears in rain... time to die.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] Bespoke terminal font
  2023-06-08 14:22 ` Walter Dnes
@ 2023-06-08 16:11   ` Peter Humphrey
  0 siblings, 0 replies; 18+ messages in thread
From: Peter Humphrey @ 2023-06-08 16:11 UTC (permalink / raw
  To: gentoo-user

On Thursday, 8 June 2023 15:22:40 BST Walter Dnes wrote:

>   Set...
> 
> consolefont="solar24x32"
> 
> ...in /etc/conf.d/consolefont
> 
>   It is Y-U-U-U-G-E, coming in at 80 columns by 33 rows on my 1920x1080
> text console.  And no dot in the centre.  But you may have problems
> distinguishing zero from O and o. <G>

:)	That's a bit too big even for me!

That pointed me to media-fonts/solarize-0_pre20140818. See that date! I 
thought I'd give it a go though.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-06-08 16:11 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-05 15:35 [gentoo-user] Bespoke terminal font Peter Humphrey
2023-06-05 15:51 ` [gentoo-user] " Grant Edwards
2023-06-06  0:19   ` Peter Humphrey
2023-06-06 14:02     ` Dr Rainer Woitok
2023-06-06 14:31       ` Matt Connell
2023-06-07 15:52         ` Dr Rainer Woitok
2023-06-06 14:31       ` Grant Edwards
2023-06-07 14:14   ` Peter Humphrey
2023-06-05 15:54 ` [gentoo-user] " Mark Knecht
2023-06-05 16:42   ` Matt Connell
2023-06-05 17:31     ` Mark Knecht
2023-06-05 17:36       ` Mark Knecht
2023-06-05 17:53         ` Mitch D.
2023-06-07 14:15           ` Peter Humphrey
2023-06-05 19:18       ` Matt Connell
2023-06-06  3:59 ` David Rosenbaum
2023-06-08 14:22 ` Walter Dnes
2023-06-08 16:11   ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox