stand: Enable Spleen 32x64 font in the bootloader

Spleen 32x64 provides my 14" 2560x1600 display with the ancestral 80x25,
BSD standard console. We already include it in contrib, and it is built
for the runtime vt(4) font directory, but was previously unavailable to
the bootloader. Enable it in the build, selectable in loader.conf with:

screen.font="32x64"

MFC after:		3 days
Reviewed by:		adrian, carlavilla, emaste, imp, mhorne, tsoome
Approved by:		imp, tsoome (loader)
Approved by:		mhorne (mentor)
Differential Revision:	https://reviews.freebsd.org/D49768
This commit is contained in:
Alexander Ziaee
2025-04-06 06:49:24 -04:00
parent bbffdfef3b
commit 1ec2c8b2f3
2 changed files with 10 additions and 0 deletions
+3
View File
@@ -60,6 +60,9 @@ FONT:en:8x16v.fnt
16x32.fnt:en:Terminus BSD Console, size 32 16x32.fnt:en:Terminus BSD Console, size 32
16x32.fnt:da:Terminus BSD-konsol, størrelse 32 16x32.fnt:da:Terminus BSD-konsol, størrelse 32
16x32.fnt:de:Terminus BSD Console, Größe 32 16x32.fnt:de:Terminus BSD Console, Größe 32
32x64.fnt:en:Spleen BSD Console, size 64
32x64.fnt:da:Spleen BSD-konsol, størrelse 64
32x64.fnt:de:Spleen BSD Console, Größe 64
# (fset 'langnew # (fset 'langnew
# "\M-}\C-p\C-k\C-y\C-m\C-y\M-}") # "\M-}\C-p\C-k\C-y\C-m\C-y\M-}")
+7
View File
@@ -1,5 +1,6 @@
.include <bsd.init.mk> .include <bsd.init.mk>
.PATH: ${SRCTOP}/contrib/spleen
.PATH: ${SRCTOP}/contrib/terminus .PATH: ${SRCTOP}/contrib/terminus
FONTS= \ FONTS= \
@@ -15,6 +16,7 @@ FONTS= \
12x24.fnt.gz \ 12x24.fnt.gz \
14x28.fnt.gz \ 14x28.fnt.gz \
16x32.fnt.gz \ 16x32.fnt.gz \
32x64.fnt.gz \
FILES= ${FONTS} INDEX.fonts FILES= ${FONTS} INDEX.fonts
FILESDIR= /boot/fonts FILESDIR= /boot/fonts
@@ -45,6 +47,8 @@ CLEANFILES+= ${FONTS} ${FONTS:T:S/${COMPRESS_EXT}//g}
${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET} ${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
16x32.fnt.gz: 16x32.fnt 16x32.fnt.gz: 16x32.fnt
${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET} ${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
32x64.fnt.gz: 32x64.fnt
${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
6x12.fnt: ter-u12n.bdf ter-u12b.bdf 6x12.fnt: ter-u12n.bdf ter-u12b.bdf
vtfontcvt -o ${.TARGET} ${.ALLSRC} vtfontcvt -o ${.TARGET} ${.ALLSRC}
@@ -82,4 +86,7 @@ CLEANFILES+= ${FONTS} ${FONTS:T:S/${COMPRESS_EXT}//g}
16x32.fnt: ter-u32n.bdf ter-u32b.bdf 16x32.fnt: ter-u32n.bdf ter-u32b.bdf
vtfontcvt -o ${.TARGET} ${.ALLSRC} vtfontcvt -o ${.TARGET} ${.ALLSRC}
32x64.fnt: spleen-32x64.bdf
vtfontcvt -o ${.TARGET} ${.ALLSRC}
.include <bsd.prog.mk> .include <bsd.prog.mk>