media-fonts/iosevka - 9999 (mva)

Search

Install

Install this version:

emerge -a =media-fonts/iosevka-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-fonts/iosevka-9999

Or alternatively:

emerge --autounmask-write -a =media-fonts/iosevka-9999

Package Information

Description:
Open source coding font
Homepage:
https://typeof.net/Iosevka/
License:
OFL-1.1

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License

EAPI=8

inherit font git-r3

DESCRIPTION="Open source coding font"
HOMEPAGE="https://typeof.net/Iosevka/"
EGIT_REPO_URI="https://github.com/be5invis/Iosevka"

LICENSE="OFL-1.1"
SLOT="0"
IUSE="web"
RESTRICT="binchecks strip network-sandbox"

# TODO: do something with network-sandbox incompatibility

BDEPEND="
	net-libs/nodejs
	media-gfx/fontforge
	media-gfx/ttfautohint
	media-gfx/otfcc
	web? (
		media-gfx/sfnt2woff
		media-libs/woff2
	)
"

FONT_S="${S}/fonts_dist"
FONT_SUFFIX="ttf"

src_compile() {
	npm install
	npm run build -- contents::iosevka
}

src_install() {
	mkdir -p "${FONT_S}"
	local font_dir="${S}/dist/${PN}/ttf"
	find "${font_dir}" -name '*.ttf' -print0 | xargs -0 -r mv -u -t "${FONT_S}"
	font_src_install
	use web && (
		insinto /usr/share/webfonts/"${PN}"
		doins -r dist/iosevka/woff2/* dist/iosevka/"${PN}".css
	)
}

USE Flags

Manage flags for this package: euse -i <flag> -p media-fonts/iosevka | euse -E <flag> -p media-fonts/iosevka | euse -D <flag> -p media-fonts/iosevka

Global/Standard Flags

web

Inherited Eclasses

Dependencies

BDEPEND

	net-libs/nodejs
	media-gfx/fontforge
	media-gfx/ttfautohint
	media-gfx/otfcc
	web? (
		media-gfx/sfnt2woff
		media-libs/woff2
	)