Install this version:
emerge -a =media-fonts/yozai-font-0.868
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-fonts/yozai-font-0.868
Or alternatively:
emerge --autounmask-write -a =media-fonts/yozai-font-0.868
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
DESCRIPTION="Yozai Font (悠哉字体) - A Chinese font derived from Y.OzFont"
HOMEPAGE="https://github.com/lxgw/yozai-font"
SRC_URI="
light? ( https://github.com/lxgw/yozai-font/releases/download/v${PV}/Yozai-Light.ttf -> ${PN}-light-${PV}.ttf )
regular? ( https://github.com/lxgw/yozai-font/releases/download/v${PV}/Yozai-Regular.ttf -> ${P}.ttf )
medium? ( https://github.com/lxgw/yozai-font/releases/download/v${PV}/Yozai-Medium.ttf -> ${PN}-medium-${PV}.ttf )
"
S="${WORKDIR}"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~loong ~riscv ~x86"
IUSE="light +regular medium"
FONT_SUFFIX="ttf"
src_unpack() {
use light && cp -v "${DISTDIR}/${PN}-light-${PV}.ttf" "Yozai-Light.ttf"
use regular && cp -v "${DISTDIR}/${P}.ttf" "Yozai-Regular.ttf"
use medium && cp -v "${DISTDIR}/${PN}-medium-${PV}.ttf" "Yozai-Medium.ttf"
}
Manage flags for this package:
euse -i <flag> -p media-fonts/yozai-font |
euse -E <flag> -p media-fonts/yozai-font |
euse -D <flag> -p media-fonts/yozai-font
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | yozai-font-0.868.ttf | 15605374 bytes | https://github.com/lxgw/yozai-font/releases/download/v0.868/Yozai-Regular.ttf |
| DIST | yozai-font-light-0.868.ttf | 15229134 bytes | https://github.com/lxgw/yozai-font/releases/download/v0.868/Yozai-Light.ttf |
| DIST | yozai-font-medium-0.868.ttf | 15238394 bytes | https://github.com/lxgw/yozai-font/releases/download/v0.868/Yozai-Medium.ttf |