New console font Spleen made default

收藏待读

New console font Spleen made default

Frederic Cambus ( [email protected] ) has just changed the default console font to Spleen, a font of his own creation:

CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2019/01/09 04:23:32

Modified files:
        sys/dev/rasops : rasops.c 
        sys/dev/wsfont : wsfont.c 

Log message:
Enable Spleen in wsfont and modify the font selection logic at runtime
in rasops(9) to allow selecting larger fonts when available.
Summary of the changes:

- Enable spleen8x16 for all architectures, replacing bold8x16_iso1.
- Enable spleen12x24 on all arches but sparc64, replacing gallant12x22.
- Enable spleen16x32 and spleen32x64 on amd64, i386, and arm64 for
GENERIC kernels.
- Modify the font selection logic in rasops(9) so the 16x32 and 32x64
fonts are selected if at least 120 columns can be displayed. Screens
with widths equal or larger than 1920px will use the 16x32 font, and
screens with widths equal or larger than 3840px the 32x64 one.

OK [email protected], [email protected], [email protected]

This new font brings more easily readable text to the higher resolution screens that are commonly seen on newer machines, while still filling the complete screen with a reasonable number of characters. If you like the Spleen font, you can use it in your xterm inals by installing the fonts/spleen port with doas pkg_add spleen . More details can be found on Frederic’s website . Those who prefer the old (or other) fonts while in console mode are invited to read the wsconsctl(8) manpage.

A big thank you to Frederic for his work on Spleen and on making it the new default font for OpenBSD consoles.

原文 : OpenBSD Journal

相關閱讀

免责声明:本文内容来源于OpenBSD Journal,已注明原文出处和链接,文章观点不代表立场,如若侵犯到您的权益,或涉不实谣言,敬请向我们提出检举。