From 38392602e874da8509e460825c8a866b1b765d0c Mon Sep 17 00:00:00 2001 From: Kurome Date: Mon, 14 Apr 2025 11:14:37 +0900 Subject: [PATCH] gnu: Add font-adobe-source-han-serif. * gnu/packages/fonts.scm (font-adobe-source-han-serif): New variable. Change-Id: I451b3fbde4c9f2cfe1c214f9d32ea871cda71568 Signed-off-by: Andreas Enge --- gnu/packages/fonts.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 85f8a5f31b8b22d192eb05eed924672b83cc7767..7e6091915ec409133e20e73d7e71244288a06268 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -794,6 +794,31 @@ expansion of Franklin Gothic, a classic font. It covers 105 Latin Languages.") for long periods of working with computers (8 or more hours per day).") (license license:silofl1.1))) +(define-public font-adobe-source-han-serif + (package + (name "font-adobe-source-han-serif") + (version "2.003") + (source + (origin + ;; SuperOTC (all variations in one file) is not in the repository. + (method url-fetch) + (uri (string-append + "https://github.com/adobe-fonts/source-han-serif/releases/download/" + version "R/01_SourceHanSerif.ttc.zip")) + (sha256 + (base32 "0pvrgba8r3khliws3zqhcqqa1gbjqfakx9q4yrdf6jl9aymqkrkf")))) + (build-system font-build-system) + (home-page "https://source.typekit.com/source-han-serif/") + (synopsis "Pan-CJK typeface in OpenType/CFF format") + (description + "This package provides Source Han Serif, a Pan-CJK typeface available +in OpenType/CFF format. It supports four different East Asian languages +— Simplified Chinese, Traditional Chinese, Japanese, and Korean — and the +65,535 glyphs in each of its seven weights are designed to work together. +Also included is a set of Western glyphs supporting the Latin, Greek, and +Cyrillic scripts.") + (license license:silofl1.1))) + (define-public font-adobe-source-han-sans (package (name "font-adobe-source-han-sans")