Install this version:
emerge -a =media-fonts/ohsnap-1.8.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-fonts/ohsnap-1.8.0
Or alternatively:
emerge --autounmask-write -a =media-fonts/ohsnap-1.8.0
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit font
DESCRIPTION="The ohsnap / osnap monospace font (based on Artwiz Snap)"
HOMEPAGE="https://sourceforge.net/projects/osnapfont"
SRC_URI="mirror://sourceforge/osnapfont/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="otf +pcf"
REQUIRED_USE="|| ( otf pcf )"
BDEPENDS="otf? ( x11-apps/fonttosfnt )"
DOCS="README.ohsnap"
src_compile() {
if use otf ; then
for f in *.pcf; do
fonttosfnt -c -o "${f/pcf/otb}" "$f"
done
fi
}
src_install() {
FONT_SUFFIX="$(usev pcf) $(usex otf otb "")"
einstalldocs
font_src_install
}
Manage flags for this package:
euse -i <flag> -p media-fonts/ohsnap |
euse -E <flag> -p media-fonts/ohsnap |
euse -D <flag> -p media-fonts/ohsnap
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | ohsnap-1.8.0.tar.gz | 107989 bytes | mirror://sourceforge/osnapfont/ohsnap-1.8.0.tar.gz |