Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

123.4. terminus-font-4.49.1

Monospace bitmap console font

4.49.1-2 · OFL-1.1 · 0.2 SBU · 1.0 MiB, 261 files · 41_system, 526 of 1047 · ports/core/fonts/terminus-font

Homepage: https://terminus-font.sourceforge.net/

Depends on: python3, bdftopcf, fontconfig.

Required by (1): kdos-splash.

Sources: terminus-font-4.49.1.tar.gz (633.1 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install terminus-font'

build.sh:

./configure \
	--prefix=/usr \
	--psfdir=/usr/share/consolefonts \
	--x11dir=/usr/share/fonts/terminus
make psf pcf
make DESTDIR=$PKG install-psf install-pcf

sed -e 's/^00A4$/2550/' -e 's/^00A6$/2551/' -e 's/^00A8$/2554/' \
    -e 's/^00B8$/2557/' -e 's/^00AF$/255A/' -e 's/^02DD$/255D/' \
    uni/xos4-2.uni > uni/kdos.uni
for sz in 16 32; do
	python3 bin/ucstoany.py ter-u${sz}n.bdf XOS4 2 uni/kdos.uni | \
		python3 bin/bdftopsf.py -o ter-kdos${sz}n.psf \
		dup/vgagr.dup dup/xos4-2.dup
	gzip -c ter-kdos${sz}n.psf \
		> "$PKG/usr/share/consolefonts/ter-kdos${sz}n.psf.gz"
done
install -Dm644 75-yes-terminus.conf "$PKG/etc/fonts/conf.d/75-yes-terminus.conf"
install -Dm644 OFL.TXT "$PKG/usr/share/licenses/$name/OFL.TXT"

Directories: /usr/share/consolefonts, /usr/share/fonts/terminus, /usr/share/licenses/terminus-font.