From 33ac981c5070c96a176e94ec1915254541866fc0 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Mon, 15 Sep 2025 00:11:14 +0800 Subject: [PATCH] gnu: Add font-cns11643-kai. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/fonts.scm (font-cns11643-kai): New variable. Change-Id: I70167b3ebefc49f9353db8cceddab163e4d583bc Signed-off-by: 宋文武 --- gnu/packages/fonts.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 732484199ab0de69bb6ae9e6b714258c72792017..ba13718c9189a649aeec9a03ae12172c31ea4d97 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1022,6 +1022,36 @@ of Unicode. @end itemize\n") (license license:silofl1.1))) +(define-public font-cns11643-kai + (package + (inherit font-cns11643-sung) + (name "font-cns11643-kai") + (version "20250718") + (source + (origin + (method url-fetch/zipbomb) + (uri (string-append "https://web.archive.org/web/20250914051659if_/" + "https://cns11643.gov.tw/opendata/Fonts_Kai.zip")) + (file-name (string-append name "-" version)) + (sha256 + (base32 + "10xylq0p8qhi8rlq62rhnfskfy6kdlh4ay8v7sp28xxl2291ll1j")))) + (synopsis "CJK TrueType fonts, TW-Kai") + (description + "@code{CNS 11643} character set (Chinese National Standard, or Chinese +Standard Interchange Code) is the standard character set of the Republic of +China (Taiwan) for Chinese Characters and other Unicode symbols. Contained +are three variant of TrueType fonts in Regular script (Kai): + +@itemize +@item @code{TW-Kai-98_1.ttf}: CJK characters in the Basic Multilingual Plane +of Unicode. +@item @code{TW-Kai-Ext-B-98_1.ttf}: CJK characters in the CJK Unified +Ideographs Extension B of Unicode. +@item @code{TW-Kai-Plus-98_1.ttf}: CJK characters in the Plane 15 (Private Use) +of Unicode. +@end itemize\n"))) + (define-public font-cns11643 ;; Since upstream doesn't provide any version numbers, the date of the last ;; edit is used, taken from https://data.gov.tw/dataset/5961