Subject: [PATCH] gnu: Add font-adobe-source-han-serif.
From: Kurome <[email-masked]>
To: [email-masked]
Cc: Kurome <[email-masked]>
Date: Mon, 14 Apr 2025 11:14:37 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/fonts.scm (font-adobe-source-han-serif): New variable.

Change-Id: I451b3fbde4c9f2cfe1c214f9d32ea871cda71568
---
 gnu/packages/fonts.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 85f8a5f31b..f69321d6b8 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -794,6 +794,28 @@ (define-public font-terminus
 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/?scid=social71226596")
+    (synopsis "Open source Pan-CJK typeface in OpenType/CFF format")
+    (description
+     "This package provides Source Han Serif, an open source Pan-CJK typeface
+available in OpenType/CFF format.")
+    (license license:silofl1.1)))
+
 (define-public font-adobe-source-han-sans
   (package
     (name "font-adobe-source-han-sans")
-- 
2.49.0