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

249.3. font-liberation-2.1.5

Liberation Sans, Serif, Mono and Sans Narrow — metric-compatible with Arial, Times New Roman, Courier New and Arial Narrow

2.1.5-1 · OFL-1.1 AND LicenseRef-Liberation · 0.2 SBU · 4.6 MiB, 19 files · 43_toolkits, 141 of 344 · ports/core/fonts/font-liberation

Homepage: https://github.com/liberationfonts/liberation-fonts

Why it is in KDOS. The comment above it in script/phases/43_toolkits/packages.d/fonts.txt:

A metric clone of the Microsoft document fonts. Without it and its siblings font-carlito and font-caladea, a Word document paginates differently here from the machine that wrote it.

Depends on: fontconfig, fontforge, fonttools, python3.

Required by (2): libreoffice, openscad.

Sources: font-liberation-2.1.5.tar.gz (4.8 MiB), liberation-narrow-fonts-1.07.6.tar.gz (660.9 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install font-liberation'

build.sh:

make ttf-dir
make -C $SRC_ROOT/liberation-narrow-fonts-$_narrow ttf-dir

install -dm755 $PKG/usr/share/fonts/liberation
install -m644 liberation-fonts-ttf-$version/*.ttf $PKG/usr/share/fonts/liberation/
install -m644 $SRC_ROOT/liberation-narrow-fonts-$_narrow/liberation-narrow-fonts-ttf-$_narrow/*.ttf \
	$PKG/usr/share/fonts/liberation/

install -Dm644 LICENSE $PKG/usr/share/licenses/$name/LICENSE
install -Dm644 $SRC_ROOT/liberation-narrow-fonts-$_narrow/License.txt \
	$PKG/usr/share/licenses/$name/License-narrow.txt
install -Dm644 $SRC_ROOT/liberation-narrow-fonts-$_narrow/COPYING \
	$PKG/usr/share/licenses/$name/COPYING-narrow

Directories: /usr/share/fonts/liberation, /usr/share/licenses/font-liberation.