Install this version:
emerge -a =media-fonts/d2coding-1.3.3
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-fonts/d2coding-1.3.3
Or alternatively:
emerge --autounmask-write -a =media-fonts/d2coding-1.3.3
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
if [[ "${PV}" == "1.3.3" ]]; then
PVDATE="Ver${PV}-20260725"
fi
DESCRIPTION="D2 Coding Font (Hangul)"
HOMEPAGE="https://github.com/naver/d2codingfont"
SRC_URI="https://github.com/naver/d2codingfont/releases/download/VER${PV}/D2Coding-${PVDATE}.zip"
S="${WORKDIR}"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
RDEPEND="${DEPEND}"
BDEPEND="
app-arch/unzip
"
FONT_S="${S}/fonts"
FONT_SUFFIX="ttf"
src_install() {
mkdir -p "${FONT_S}" || die '"mkdir" failed.'
mv "${S}/D2Coding/D2Coding-${PVDATE}.ttf" "${FONT_S}/"
mv "${S}/D2Coding/D2CodingBold-${PVDATE}.ttf" "${FONT_S}/"
mv "${S}/D2CodingLigature/D2Coding-${PVDATE}-ligature.ttf" "${FONT_S}/"
mv "${S}/D2CodingLigature/D2CodingBold-${PVDATE}-ligature.ttf" "${FONT_S}/"
font_src_install
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | D2Coding-Ver1.3.3-20260725.zip | 21293600 bytes | https://github.com/naver/d2codingfont/releases/download/VER1.3.3/D2Coding-Ver1.3.3-20260725.zip |