Install this version:
emerge -a =media-fonts/lxgw-neo-zhisong-1.063
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-fonts/lxgw-neo-zhisong-1.063
Or alternatively:
emerge --autounmask-write -a =media-fonts/lxgw-neo-zhisong-1.063
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
DESCRIPTION="A Chinese serif font derived from IPAex Mincho and IPAmj Mincho"
HOMEPAGE="https://github.com/lxgw/LxgwNeoZhiSong"
SRC_URI="
regular? (
https://github.com/lxgw/LxgwNeoZhiSong/releases/download/v${PV}/LXGWNeoZhiSong.ttf -> ${P}.ttf
)
plus? (
https://github.com/lxgw/LxgwNeoZhiSong/releases/download/v${PV}/LXGWNeoZhiSongPlus.ttf -> ${PN}-plus-${PV}.ttf
)
"
S="${WORKDIR}"
LICENSE="IPAfont"
SLOT="0"
KEYWORDS="~amd64 ~loong ~riscv ~x86"
IUSE="+regular plus"
REQUIRED_USE="|| ( regular plus )"
FONT_SUFFIX="ttf"
src_unpack() {
use regular && cp -v "${DISTDIR}/${P}.ttf" "LXGWNeoZhiSong.ttf"
use plus && cp -v "${DISTDIR}/${PN}-plus-${PV}.ttf" "LXGWNeoZhiSongPlus.ttf"
}
Manage flags for this package:
euse -i <flag> -p media-fonts/lxgw-neo-zhisong |
euse -E <flag> -p media-fonts/lxgw-neo-zhisong |
euse -D <flag> -p media-fonts/lxgw-neo-zhisong
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | lxgw-neo-zhisong-1.063.ttf | 10455412 bytes | https://github.com/lxgw/LxgwNeoZhiSong/releases/download/v1.063/LXGWNeoZhiSong.ttf |
| DIST | lxgw-neo-zhisong-plus-1.063.ttf | 12745108 bytes | https://github.com/lxgw/LxgwNeoZhiSong/releases/download/v1.063/LXGWNeoZhiSongPlus.ttf |