summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Glagolev2017-04-07 07:47:25 -0400
committerVlad Glagolev2017-04-07 07:47:25 -0400
commit004b335e5e7daf1464bf07fb62e768f4f02827b0 (patch)
treef5edb92ad8518f21d0e0a1ef38b3d24460704431
parent4385db6d0c99d3c34b6983e2e9be67dc7aca0a95 (diff)
leggie: new spell, pretty, legible 6x12, 9x18, 12x24 bitmap font with over 1700 glyphs
-rw-r--r--ChangeLog4
-rwxr-xr-xfonts-x11/leggie/BUILD1
-rwxr-xr-xfonts-x11/leggie/CONFIGURE1
-rwxr-xr-xfonts-x11/leggie/DEPENDS1
-rwxr-xr-xfonts-x11/leggie/DETAILS38
-rw-r--r--fonts-x11/leggie/HISTORY3
-rwxr-xr-xfonts-x11/leggie/INSTALL7
-rwxr-xr-xfonts-x11/leggie/PRE_BUILD6
8 files changed, 61 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f40929538..9e9408c1bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-04-07 Vlad Glagolev <stealth@sourcemage.org>
+ * fonts-x11/leggie: new spell, pretty, legible 6x12, 9x18, 12x24 bitmap
+ font with over 1700 glyphs
+
2017-04-05 Vlad Glagolev <stealth@sourcemage.org>
* python-pypi/icdiff: new spell, improved color diff
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 <stealth@sourcemage.org>
+ * 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