Bug 2098441

Summary: Provide bigger sized fonts for improved readability on high DPI screens
Product: [Fedora] Fedora Reporter: Stephane Travostino <steph>
Component: kbdAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: pmkellly72, vcrhonek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-07 08:00:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stephane Travostino 2022-06-19 10:42:02 UTC
There is no console font big enough for 4K screens, and reading the console on such screens is painful with good eye sight, and not very fun if your eye sight isn't that great. The fonts in this package are limited to 16 px in height, while at least twice that (32px) would be preferable and readable on higher resolution screens.

Using the `setfont` command it is possible to request a doubling of the font sizes with the `-d` flag, but this option is not available when configuring the boot console font in /etc/vconsole.conf - so the only choice is for Fedora to ship with bigger sized fonts.

Other distributions, such as Arch Linux, have fonts up to 32px.

Comment 1 Pat Kelly 2022-06-19 15:48:52 UTC
I have recently upgraded my monitors (2560 X 1440) and I fully agree that larger console fonts are urgently needed. Absolute minimum of 32px and I would advocate for 64px.

Comment 2 Vitezslav Crhonek 2022-06-22 07:08:07 UTC
Hi,

/usr/lib/kbd/consolefonts/latarcyrheb-sun32.psfu.gz doesn't work for you? I personally use this font for higher resolutions.
It can't be doubled with the '-d' flag, but you can put it in '/etc/vconsole.conf'.

I'll take a look at other distributions then.

Comment 3 Stephane Travostino 2022-06-22 08:43:56 UTC
latarcyrheb-sun32.psfu.gz seems to be better than the default, thanks, but I imagine someone with a worse eyesight might still find it uncomfortably small. I wouldn't mind a font 50% larger than that one personally.

Comment 4 Vitezslav Crhonek 2022-07-07 08:00:17 UTC
It seems that the situation in other distributions (I was checking Arch Linux in particular) is the same as it is in Fedora.

[1] states that the biggest fonts in kbd are latarcyrheb-sun32 and solar24x32 (both present in Fedora kbd) and that there are
alternatives like ter-132n (normal) and ter-132b (bold) from terminus-font package (this package is called terminus-fonts-console
on Fedora if you with to try them). It's also possible to use smaller resolution for console to mitigate the issue.

But the most important statement there is that '32pixel fonts are the maximum supported by the linux terminal'. There are no bigger
fonts available. This is also why 32p font can't be doubled, maximum size of font for doubling is 16x16.

I'm closing the bug as there's nothing to fix/add within kbd.

[1] https://wiki.archlinux.org/title/HiDPI#Linux_console_(tty)