GNU bug report logs - #70470
[PATCH] Add Jigmo, Plangothic, LXGW NeoZhiSong & HeartSerif

Previous Next

Package: guix-patches;

Reported by: Zhu Zihao <all_but_last <at> 163.com>

Date: Fri, 19 Apr 2024 08:14:03 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

To reply to this bug, email your comments to 70470 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#70470; Package guix-patches. (Fri, 19 Apr 2024 08:14:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Zhu Zihao <all_but_last <at> 163.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 19 Apr 2024 08:14:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zhu Zihao <all_but_last <at> 163.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] Add Jigmo, Plangothic, LXGW NeoZhiSong & HeartSerif
Date: Fri, 19 Apr 2024 16:11:32 +0800
[Message part 1 (text/plain, inline)]
These patches attempt to add Jigmo, Plangothic, LXGW NeoZhiSong, LXGW
HeartSerif to Guix. Four fonts for Simplified Chinese.
-- 
Retrieve my PGP public key:

  gpg --recv-keys B3EBC086AB0EBC0F45E0B4D433DB374BCEE4D9DC

Zihao
[signature.asc (application/pgp-signature, inline)]

Information forwarded to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#70470; Package guix-patches. (Fri, 19 Apr 2024 08:24:01 GMT) Full text and rfc822 format available.

Message #8 received at 70470 <at> debbugs.gnu.org (full text, mbox):

From: Zhu Zihao <all_but_last <at> 163.com>
To: 70470 <at> debbugs.gnu.org
Cc: Zhu Zihao <all_but_last <at> 163.com>
Subject: [PATCH 1/4] gnu: Add font-jigmo.
Date: Fri, 19 Apr 2024 16:22:25 +0800
* gnu/packages/fonts.scm (font-jigmo): New variable.

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

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 9ec722c19c..aa3783f228 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -34,7 +34,7 @@
 ;;; Copyright © 2020 John Soo <jsoo1 <at> asu.edu>
 ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan <at> disroot.org>
 ;;; Copyright © 2020, 2021 Julien Lepiller <julien <at> lepiller.eu>
-;;; Copyright © 2020 Zhu Zihao <all_but_last <at> 163.com>
+;;; Copyright © 2020, 2024 Zhu Zihao <all_but_last <at> 163.com>
 ;;; Copyright © 2020, 2021, 2022 Simen Endsjø <simendsjo <at> gmail.com>
 ;;; Copyright © 2020 Tim Van den Langenbergh <tmt_vdl <at> gmx.com>
 ;;; Copyright © 2020 Nicolò Balzarotti <nicolo <at> nixo.xyz>
@@ -2963,6 +2963,26 @@ (define-public font-ipa-mj-mincho
 to have a detailed and proper character style.")
     (license license:ipa)))
 
+(define-public font-jigmo
+  (package
+    (name "font-jigmo")
+    (version "20230816")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://kamichikoichi.github.io/jigmo/Jigmo-"
+                           version ".zip"))
+       (sha256
+        (base32 "1higvn4qvz25hx215fs2vqlzh2d2645jbxf07yd82y09drl429jd"))))
+    (build-system font-build-system)
+    (home-page "https://kamichikoichi.github.io/jigmo/")
+    (synopsis "The font contains most CJK unified ideograph characters")
+    (description "Jigmo is a font contains all CJK unified ideograph characters
+in Unicode 15.1 standard, ranges from CJK extension A to CJK extension I.
+It is generated by the font shape data in GlyphWiki using KAGE system, Clipper
+and FontForge.")
+    (license license:cc0)))
+
 (define-public font-fontna-yasashisa-antique
   (package
     (name "font-fontna-yasashisa-antique")

base-commit: 2126dab4cd81db4cbde4566d8c638e45a4c0077c
-- 
2.41.0





Information forwarded to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#70470; Package guix-patches. (Fri, 19 Apr 2024 08:24:02 GMT) Full text and rfc822 format available.

Message #11 received at 70470 <at> debbugs.gnu.org (full text, mbox):

From: Zhu Zihao <all_but_last <at> 163.com>
To: 70470 <at> debbugs.gnu.org
Cc: Zhu Zihao <all_but_last <at> 163.com>
Subject: [PATCH 2/4] gnu: Add font-plangothic
Date: Fri, 19 Apr 2024 16:22:26 +0800
* gnu/packages/fonts.scm (font-plangothic): New variable.

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

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index aa3783f228..45515bbe78 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -2983,6 +2983,36 @@ (define-public font-jigmo
 and FontForge.")
     (license license:cc0)))
 
+(define-public font-plangothic
+  (package
+    (name "font-plangothic")
+    (version "1.8.5760")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/Fitzgerald-Porthmouth-Koenigsegg/"
+                           "Plangothic-Project/releases/download/V"
+                           version "/Plangothic.ttc"))
+       (sha256
+        (base32 "0ha2hcgy95ibmjk8lqfz0ihfc09swrzz3grlchma7qrwyxqbwpc0"))))
+    (build-system trivial-build-system)
+    (arguments
+     (list
+      #:modules '((guix build utils))
+      #:builder
+      #~(let* ((out #$output)
+               (dest (string-append out "/share/fonts/truetype")))
+          (use-modules (guix build utils))
+          (mkdir-p dest)
+          (copy-file #$(package-source this-package)
+                     (string-append dest "/Plangothic.ttc")))))
+    (home-page
+     "https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic-Project")
+    (synopsis "Sans font covers most CJK unified ideograph characters")
+    (description "Plangothic is a sans font based on Source Han Sans,
+modified to cover most CJK unified ideograph characters.")
+    (license license:silofl1.1)))
+
 (define-public font-fontna-yasashisa-antique
   (package
     (name "font-fontna-yasashisa-antique")
-- 
2.41.0





Information forwarded to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#70470; Package guix-patches. (Fri, 19 Apr 2024 08:24:02 GMT) Full text and rfc822 format available.

Message #14 received at 70470 <at> debbugs.gnu.org (full text, mbox):

From: Zhu Zihao <all_but_last <at> 163.com>
To: 70470 <at> debbugs.gnu.org
Cc: Zhu Zihao <all_but_last <at> 163.com>
Subject: [PATCH 4/4] gnu: Add font-lxgw-heartserif
Date: Fri, 19 Apr 2024 16:22:28 +0800
* gnu/packages/fonts.scm (font-lxgw-heartserif): New variable.

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

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 5470a14f8e..b9f54ee6fa 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -3466,6 +3466,36 @@ (define-public font-lxgw-neozhisong
 Mainland China.")
     (license license:ipa)))
 
+(define-public font-lxgw-heartserif
+  (package
+    (name "font-lxgw-heartserif")
+    (version "0.920.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/lxgw/LxgwNeoZhiSong/releases/download/v"
+             version "/LXGWHeartSerif.ttf"))
+       (sha256
+        (base32 "1nbhvy0b9vb0w5pfpp5f0jdkb6fs422avkdxzqydmv74g5v8gz07"))))
+    (build-system trivial-build-system)
+    (arguments
+     (list
+      #:modules '((guix build utils))
+      #:builder
+      #~(let ((out #$output)
+              (dest (string-append #$output "/share/fonts/truetype")))
+          (use-modules (guix build utils))
+          (mkdir-p dest)
+          (copy-file #$(package-source this-package)
+                     (string-append dest "/LXGHeartSerif.ttf")))))
+    (home-page "https://github.com/lxgw/LxgwNeoZhiSong")
+    (synopsis "Simplified Chinese Song typeface derived from Kokoro Mincho")
+    (description "LXGW HeartSerif is a Simplified Chinese Song typeface derived
+from Kokoro Mincho, modified to adapt to the standard glyph shape used in
+Mainland China.")
+    (license license:ipa)))
+
 (define-public font-chiron-sung-hk
   (package
     (name "font-chiron-sung-hk")
-- 
2.41.0





Information forwarded to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#70470; Package guix-patches. (Fri, 19 Apr 2024 08:24:04 GMT) Full text and rfc822 format available.

Message #17 received at 70470 <at> debbugs.gnu.org (full text, mbox):

From: Zhu Zihao <all_but_last <at> 163.com>
To: 70470 <at> debbugs.gnu.org
Cc: Zhu Zihao <all_but_last <at> 163.com>
Subject: [PATCH 3/4] gnu: Add font-lxgw-neozhisong
Date: Fri, 19 Apr 2024 16:22:27 +0800
* gnu/packages/fonts.scm (font-lxgw-neozhisong): New variable.

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

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 45515bbe78..5470a14f8e 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -3436,6 +3436,36 @@ (define-public font-lxgw-wenkai-tc
 Song typeface covering commonly used characters as well as written form of
 dialects in Hong Kong and Taiwan.")))
 
+(define-public font-lxgw-neozhisong
+  (package
+    (name "font-lxgw-neozhisong")
+    (version "0.920.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/lxgw/LxgwNeoZhiSong/releases/download/v"
+             version "/LXGWNeoZhiSong.ttf"))
+       (sha256
+        (base32 "02jv5ysd450i47m3qmdwm3w23bp4wlqrjdwk6iirhgpv169p901j"))))
+    (build-system trivial-build-system)
+    (arguments
+     (list
+      #:modules '((guix build utils))
+      #:builder
+      #~(let ((out #$output)
+              (dest (string-append #$output "/share/fonts/truetype")))
+          (use-modules (guix build utils))
+          (mkdir-p dest)
+          (copy-file #$(package-source this-package)
+                     (string-append dest "/LXGWNeoZhiSong.ttf")))))
+    (home-page "https://github.com/lxgw/LxgwNeoZhiSong")
+    (synopsis "Simplified Chinese Song typeface derived from IPAmj Mincho")
+    (description "LXGW NeoZhiSong is a Simplified Chinese Song typeface derived
+from IPAmj Mincho, modified to adapt to the standard glyph shape used in
+Mainland China.")
+    (license license:ipa)))
+
 (define-public font-chiron-sung-hk
   (package
     (name "font-chiron-sung-hk")
-- 
2.41.0





Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Fri, 19 Apr 2024 13:27:02 GMT) Full text and rfc822 format available.

Notification sent to Zhu Zihao <all_but_last <at> 163.com>:
bug acknowledged by developer. (Fri, 19 Apr 2024 13:27:02 GMT) Full text and rfc822 format available.

Message #22 received at 70470-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Zhu Zihao <all_but_last <at> 163.com>
Cc: 70470-done <at> debbugs.gnu.org
Subject: Re: [bug#70470] [PATCH] Add Jigmo, Plangothic, LXGW NeoZhiSong &
 HeartSerif
Date: Fri, 19 Apr 2024 21:27:08 +0800
Zhu Zihao <all_but_last <at> 163.com> writes:

> These patches attempt to add Jigmo, Plangothic, LXGW NeoZhiSong, LXGW
> HeartSerif to Guix. Four fonts for Simplified Chinese.

Pushed to master as commits cb31ea20ca..e9e60b3a1d, with change:
- Remove leading "The" in the synopsis of font-jigmo.

Thank you!




This bug report was last modified 15 days ago.

Previous Next


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