GNU bug report logs - #77781
[PATCH] gnu: Add font-adobe-source-han-code-jp.

Previous Next

Package: guix-patches;

Reported by: Kurome <hunt31999 <at> gmail.com>

Date: Sun, 13 Apr 2025 14:36:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andreas Enge <andreas <at> enge.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77781: closed ([PATCH] gnu: Add font-adobe-source-han-code-jp.)
Date: Wed, 30 Apr 2025 16:03:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 30 Apr 2025 18:02:16 +0200
with message-id <aBJJiEQdNSft4fWb <at> jurong>
and subject line Re: [PATCH] gnu: Add font-adobe-source-han-code-jp.
has caused the debbugs.gnu.org bug report #77781,
regarding [PATCH] gnu: Add font-adobe-source-han-code-jp.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77781: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77781
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Kurome <hunt31999 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Kurome <hunt31999 <at> gmail.com>
Subject: [PATCH] gnu: Add font-adobe-source-han-code-jp.
Date: Sun, 13 Apr 2025 23:34:41 +0900
* gnu/packages/fonts.scm (font-adobe-source-han-code-jp): New variable.

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

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 85f8a5f31b..c2950cbf24 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1599,6 +1599,44 @@ (define-public font-adobe-source-code-pro
 designed to work well in user interface environments.")
     (license license:silofl1.1)))
 
+(define-public font-adobe-source-han-code-jp
+  (package
+    (name "font-adobe-source-han-code-jp")
+    (version "2.012")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/adobe-fonts/source-han-code-jp")
+             (commit (string-append version "R"))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "090q34h01ij77c7n9i6sbyfkyzdg90cwfy83z0ixc4wsy3bvycwn"))))
+    (build-system font-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; Install Only OTC (OpenType Collection), which contains all variations
+          ;; within a single file.
+          (add-before 'install 'chdir
+            (lambda _
+              (chdir "OTC")))
+          (add-after 'install 'chdir-back
+            (lambda _
+              (chdir ".."))))))
+    (home-page
+     "https://blogs.adobe.com/CCJKType/2015/06/source-han-code-jp.html")
+    (synopsis "Monospaced font for mixed Latin and Japanese text based on Source
+Han Sans and Source Code Pro")
+    (description "This package provides Source Han Code JP, a derivative of
+Source Han Sans that replaces its proportional Latin glyphs with fixed-width
+667-unit glyphs from Source Code Pro.  The Latin glyphs are scaled to match the
+Japanese kana and kanji, making the font suitable for use in programming,
+terminal applications, and user interfaces that involve both Latin and Japanese
+text.")
+    (license license:silofl1.1)))
+
 (define-public font-adobe-source-sans
   (package
     (name "font-adobe-source-sans")
-- 
2.49.0



[Message part 3 (message/rfc822, inline)]
From: Andreas Enge <andreas <at> enge.fr>
To: Kurome <hunt31999 <at> gmail.com>
Cc: 77781-done <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add font-adobe-source-han-code-jp.
Date: Wed, 30 Apr 2025 18:02:16 +0200
Pushed after changing the homepage. Thanks!

Andreas



This bug report was last modified 19 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.