Install this version:
emerge -a =media-fonts/Plangothic-2.9.5795
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-fonts/Plangothic-2.9.5795
Or alternatively:
emerge --autounmask-write -a =media-fonts/Plangothic-2.9.5795
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font unpacker
DESCRIPTION="遍黑体项目(Plangothic Project)"
HOMEPAGE="https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic_Project"
AUTHOR="Fitzgerald-Porthmouth-Koenigsegg"
REPO="Plangothic_Project"
SRC_URI="https://github.com/${AUTHOR}/${REPO}/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${REPO}-${PV}"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+otf static web"
REQUIRED_USE="|| ( otf static web )"
FONT_SUFFIX="otf"
src_unpack() {
default
# Flatten the font directory by copying all fonts file into ${S}
find "${S}/fonts" \( -iname '*.otf' -o -iname '*.ttf' -o -iname '*.woff2' \) \
-exec cp "{}" "${S}/" \; || die
}
src_install() {
use static && FONT_SUFFIX+=" ttf"
use web && FONT_SUFFIX+=" woff2"
font_src_install
}
Manage flags for this package:
euse -i <flag> -p media-fonts/Plangothic |
euse -E <flag> -p media-fonts/Plangothic |
euse -D <flag> -p media-fonts/Plangothic
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | Plangothic-2.9.5795.tar.gz | 192143447 bytes | https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic_Project/archive/refs/tags/V2.9.5795.tar.gz |