aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Ziaee <ziaee@FreeBSD.org>2025-04-06 10:49:24 +0000
committerAlexander Ziaee <ziaee@FreeBSD.org>2025-05-06 15:50:28 +0000
commit1ec2c8b2f364cc8294ba06d64a167bca4b1b6bbb (patch)
treedb540c1bcb04ed50de867da05dc2e65196e6cd8b
parentbbffdfef3bf04b2f89027cb20e2019fdc74c4b1b (diff)
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
-rw-r--r--stand/fonts/INDEX.fonts3
-rw-r--r--stand/fonts/Makefile7
2 files changed, 10 insertions, 0 deletions
diff --git a/stand/fonts/INDEX.fonts b/stand/fonts/INDEX.fonts
index fc035c6b2e4e..66a6d8a9a3f5 100644
--- a/stand/fonts/INDEX.fonts
+++ b/stand/fonts/INDEX.fonts
@@ -60,6 +60,9 @@ FONT:en:8x16v.fnt
16x32.fnt:en:Terminus BSD Console, size 32
16x32.fnt:da:Terminus BSD-konsol, størrelse 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
# "\M-}\C-p\C-k\C-y\C-m\C-y\M-}")
diff --git a/stand/fonts/Makefile b/stand/fonts/Makefile
index 3ac1b0bac951..4840c07201d6 100644
--- a/stand/fonts/Makefile
+++ b/stand/fonts/Makefile
@@ -1,5 +1,6 @@
.include <bsd.init.mk>
+.PATH: ${SRCTOP}/contrib/spleen
.PATH: ${SRCTOP}/contrib/terminus
FONTS= \
@@ -15,6 +16,7 @@ FONTS= \
12x24.fnt.gz \
14x28.fnt.gz \
16x32.fnt.gz \
+ 32x64.fnt.gz \
FILES= ${FONTS} INDEX.fonts
FILESDIR= /boot/fonts
@@ -45,6 +47,8 @@ CLEANFILES+= ${FONTS} ${FONTS:T:S/${COMPRESS_EXT}//g}
${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
16x32.fnt.gz: 16x32.fnt
${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
+32x64.fnt.gz: 32x64.fnt
+ ${COMPRESS_CMD} ${.ALLSRC} > ${.TARGET}
6x12.fnt: ter-u12n.bdf ter-u12b.bdf
vtfontcvt -o ${.TARGET} ${.ALLSRC}
@@ -82,4 +86,7 @@ CLEANFILES+= ${FONTS} ${FONTS:T:S/${COMPRESS_EXT}//g}
16x32.fnt: ter-u32n.bdf ter-u32b.bdf
vtfontcvt -o ${.TARGET} ${.ALLSRC}
+32x64.fnt: spleen-32x64.bdf
+ vtfontcvt -o ${.TARGET} ${.ALLSRC}
+
.include <bsd.prog.mk>