From 31a10993b6c531012d22ebbb0220db3d040c8553 Mon Sep 17 00:00:00 2001 From: wwwutz personal clanker Date: Thu, 15 Oct 2026 07:48:42 +0200 Subject: [PATCH] font-hack-braille: Add version 3.003 Hack Braille is Hack 3.003 with the braille patterns U+2800..U+28FF added, which Hack and most other monospace fonts lack and many TUIs use for graphs and spinners. The braille glyphs are drawn by mkhackbraille.py (in the source tarball) with the geometry of the Nerd Fonts patcher's braille; nothing else changes. License as Hack: MIT and the Bitstream Vera License, which asks for the rename; LICENSE.md is installed with the fonts' documentation. The fonts go to /usr/share/fonts/Hack-Braille/. xterm and xfce4-terminal already have them compiled in; installed, they are available to every application, and fontconfig also picks them for braille missing from other monospace fonts. Co-Authored-By: Claude Opus 5.5 --- font-hack-braille.be0 | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100755 font-hack-braille.be0 diff --git a/font-hack-braille.be0 b/font-hack-braille.be0 new file mode 100755 index 000000000..c09608e4e --- /dev/null +++ b/font-hack-braille.be0 @@ -0,0 +1,40 @@ +#!/usr/bin/env beesh + +# BEE_VERSION font-hack-braille-3.003-0 + +# Hack 3.003 plus the braille patterns U+2800..U+28FF (for TUI graphs), +# made with mkhackbraille.py (in the tarball); MIT and Bitstream Vera License. +# xterm and xfce4-terminal also have these fonts compiled in. +SRCURL[0]="https://beehive.molgen.mpg.de/9d3164696416dac1787155b809fd6787/hack-braille-3.003.tar.gz" + +# PATCHURL+=() + +# EXCLUDE+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +mee_install() { + install -d --mode=755 ${D}${DATAROOTDIR}/fonts/Hack-Braille + install -m 644 ${S}/HackBraille-*.ttf ${D}${DATAROOTDIR}/fonts/Hack-Braille/ + # the Bitstream Vera License asks for its notice to go with the fonts + install -d --mode=755 ${D}${DATAROOTDIR}/doc/font-hack-braille + install -m 644 ${S}/LICENSE.md ${S}/README ${D}${DATAROOTDIR}/doc/font-hack-braille/ +}