From 004b335e5e7daf1464bf07fb62e768f4f02827b0 Mon Sep 17 00:00:00 2001 From: Vlad Glagolev Date: Fri, 7 Apr 2017 07:47:25 -0400 Subject: leggie: new spell, pretty, legible 6x12, 9x18, 12x24 bitmap font with over 1700 glyphs --- fonts-x11/leggie/BUILD | 1 + fonts-x11/leggie/CONFIGURE | 1 + fonts-x11/leggie/DEPENDS | 1 + fonts-x11/leggie/DETAILS | 38 ++++++++++++++++++++++++++++++++++++++ fonts-x11/leggie/HISTORY | 3 +++ fonts-x11/leggie/INSTALL | 7 +++++++ fonts-x11/leggie/PRE_BUILD | 6 ++++++ 7 files changed, 57 insertions(+) create mode 100755 fonts-x11/leggie/BUILD create mode 100755 fonts-x11/leggie/CONFIGURE create mode 100755 fonts-x11/leggie/DEPENDS create mode 100755 fonts-x11/leggie/DETAILS create mode 100644 fonts-x11/leggie/HISTORY create mode 100755 fonts-x11/leggie/INSTALL create mode 100755 fonts-x11/leggie/PRE_BUILD (limited to 'fonts-x11') diff --git a/fonts-x11/leggie/BUILD b/fonts-x11/leggie/BUILD new file mode 100755 index 0000000000..27ba77ddaf --- /dev/null +++ b/fonts-x11/leggie/BUILD @@ -0,0 +1 @@ +true diff --git a/fonts-x11/leggie/CONFIGURE b/fonts-x11/leggie/CONFIGURE new file mode 100755 index 0000000000..15f42eff8f --- /dev/null +++ b/fonts-x11/leggie/CONFIGURE @@ -0,0 +1 @@ +config_query LEGGIE_DOTTED_ZERO "Apply dotted zero patch (replaces slashed zeros with dotted zeros)?" n diff --git a/fonts-x11/leggie/DEPENDS b/fonts-x11/leggie/DEPENDS new file mode 100755 index 0000000000..79f11f29db --- /dev/null +++ b/fonts-x11/leggie/DEPENDS @@ -0,0 +1 @@ +depends smgl-foma diff --git a/fonts-x11/leggie/DETAILS b/fonts-x11/leggie/DETAILS new file mode 100755 index 0000000000..92fb8ea1f2 --- /dev/null +++ b/fonts-x11/leggie/DETAILS @@ -0,0 +1,38 @@ + SPELL=leggie + VERSION=2.1763 + SOURCE=${SPELL}-${VERSION}.tar.gz + SOURCE_URL[0]=https://github.com/wiktor-b/${SPELL}/archive/${VERSION}.tar.gz + SOURCE_HASH=sha512:553121596e7346653014580664577a89e84d769c1a4dab56e35c6bad72cb922dd0416a4b8444a22d37fa925c2ee2059b4a7dd39a65ed253e067292ccb9d76393 +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}" + WEB_SITE=https://wiktorb.eu/leggie/ + LICENSE[0]=OFL + ENTERED=20170407 + SHORT="pretty, legible 6x12, 9x18, 12x24 bitmap font with over 1700 glyphs" +cat << EOF +Leggie is a pleasant, legible monospaced (character cell) bitmap font. It was +designed for readability and long work in a terminal. It's one of the very few +sans-serif monospace fonts. Leggie is available in the following sizes: + + - 6x12 px + - 9x18 px + - 12x24 px + +There is a good selection of glyphs available: + + - ASCII + - ISO 8859-{1,2,3,4,5,7,8,9,10,13,14,15,16} + - IPA + - Microsoft WGL4 + - VT100 graphics + - Common block drawing graphics + - Symbols from the default VGA font (a.k.a. Codepage 437) + - Some mathematics + - Powerline + - Nice punctuation + - Braille (3- and 4-row) + - ... + +Overall, all living European languages and some Asian languages are supported. +Currently supported scripts are: Armenian, Cyrillic, Georgian (Mkhedruli), +Hebrew, Latin (including Vietnamese and Pinyin). +EOF diff --git a/fonts-x11/leggie/HISTORY b/fonts-x11/leggie/HISTORY new file mode 100644 index 0000000000..dd0a18d79e --- /dev/null +++ b/fonts-x11/leggie/HISTORY @@ -0,0 +1,3 @@ +2017-04-06 Vlad Glagolev + * DETAILS, DEPENDS, CONFIGURE, {PRE_,}BUILD, INSTALL: created spell, + version 2.1763 diff --git a/fonts-x11/leggie/INSTALL b/fonts-x11/leggie/INSTALL new file mode 100755 index 0000000000..4857b9cbe4 --- /dev/null +++ b/fonts-x11/leggie/INSTALL @@ -0,0 +1,7 @@ +local fontdir="${INSTALL_ROOT}/usr/share/fonts/X11/misc/" && + +if [ ! -d "${fontdir}" ]; then + install -vm 755 -d "${fontdir}" +fi && + +install -D -vm 0644 *.bdf "${fontdir}" diff --git a/fonts-x11/leggie/PRE_BUILD b/fonts-x11/leggie/PRE_BUILD new file mode 100755 index 0000000000..fd9395d780 --- /dev/null +++ b/fonts-x11/leggie/PRE_BUILD @@ -0,0 +1,6 @@ +default_pre_build && +cd "${SOURCE_DIRECTORY}" && + +if [[ $LEGGIE_DOTTED_ZERO == y ]]; then + patch -p1 < "patches/dotted-zero.patch" +fi -- cgit v1.2.3