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

123.23. ttf-jetbrains-mono-2.304

JetBrains Mono — the desktop's monospace face, with its no-ligature NL family

2.304-1 · OFL-1.1 · 0.1 SBU · 7.4 MiB, 33 files · 41_system, 546 of 1047 · ports/core/fonts/ttf-jetbrains-mono

Homepage: https://www.jetbrains.com/lp/mono/

JetBrains Mono is the desktop’s monospace face: Plasma’s fixed-width font, and so the font of Konsole, Kate’s editor and the clocks on the login and lock screens. It has a tall x-height, a slashed or dotted 0, an open 1 and a distinct l and I. The port installs the static hinted TrueType files of both families: JetBrains Mono, which has programming ligatures, and JetBrains Mono NL, the same design without them. The Plasma splash screen is the exception: it draws in Terminus (TTF), from terminus-ttf, when that face is installed, and falls back to JetBrains Mono without it.

Depends on: unzip, fontconfig.

Required by (1): kdos-plasma-look.

Sources: ttf-jetbrains-mono-2.304.zip (5.4 MiB). Every step kpkg takes applies to this port.

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

build.sh:

unzip -q -o "$PORT_SRC/$name-$version.zip" -d jbm

install -dm755 $PKG/usr/share/fonts/TTF
install -m644 jbm/fonts/ttf/JetBrainsMono-*.ttf jbm/fonts/ttf/JetBrainsMonoNL-*.ttf \
	$PKG/usr/share/fonts/TTF/

install -Dm644 jbm/OFL.txt $PKG/usr/share/licenses/$name/OFL.txt

Directories: /usr/share/licenses/ttf-jetbrains-mono.

The release is a zip, which kpkg copies into the source directory whole rather than unpacking, so build.sh unpacks it from the port directory with unzip. Of what it holds, the static fonts/ttf/ faces are installed; the variable fonts in fonts/variable/ and the web fonts are not. A variable face beside the static ones registers the same family twice with fontconfig, and which file a program then gets for a weight depends on fontconfig’s match order. The static files carry TrueType hinting for every weight, which is what a 10 pt face at 1 and 1.25 scale needs.

The faces are installed as upstream built them, under the compiled font data class of What is built from source: upstream compiles them from the Glyphs sources in its repository with gftools builder and fontmake, a Python toolchain that is not ported, and the release zip holds only the built faces.

The port ships no fontconfig rule. Making JetBrains Mono the first monospace family is the desktop’s choice, made by /etc/fonts/conf.d/45-kdos-mono.conf in the image, and Plasma’s fixed font key names it as well (see Type). OFL.txt sits at the top of the zip rather than of the source directory, so build.sh installs it as the licence.