unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70470] [PATCH] Add Jigmo, Plangothic, LXGW NeoZhiSong & HeartSerif
@ 2024-04-19  8:11 Zhu Zihao
  2024-04-19  8:22 ` [bug#70470] [PATCH 1/4] gnu: Add font-jigmo Zhu Zihao
  2024-04-19 13:27 ` bug#70470: [PATCH] Add Jigmo, Plangothic, LXGW NeoZhiSong & HeartSerif 宋文武 via Guix-patches via
  0 siblings, 2 replies; 6+ messages in thread
From: Zhu Zihao @ 2024-04-19  8:11 UTC (permalink / raw)
  To: 70470

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#70470] [PATCH 1/4] gnu: Add font-jigmo.
  2024-04-19  8:11 [bug#70470] [PATCH] Add Jigmo, Plangothic, LXGW NeoZhiSong & HeartSerif Zhu Zihao
@ 2024-04-19  8:22 ` Zhu Zihao
  2024-04-19  8:22   ` [bug#70470] [PATCH 2/4] gnu: Add font-plangothic Zhu Zihao
                     ` (2 more replies)
  2024-04-19 13:27 ` bug#70470: [PATCH] Add Jigmo, Plangothic, LXGW NeoZhiSong & HeartSerif 宋文武 via Guix-patches via
  1 sibling, 3 replies; 6+ messages in thread
From: Zhu Zihao @ 2024-04-19  8:22 UTC (permalink / raw)
  To: 70470; +Cc: Zhu Zihao, Zhu Zihao, 宋文武

* 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@asu.edu>
 ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
 ;;; Copyright © 2020, 2021 Julien Lepiller <julien@lepiller.eu>
-;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
+;;; Copyright © 2020, 2024 Zhu Zihao <all_but_last@163.com>
 ;;; Copyright © 2020, 2021, 2022 Simen Endsjø <simendsjo@gmail.com>
 ;;; Copyright © 2020 Tim Van den Langenbergh <tmt_vdl@gmx.com>
 ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@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





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#70470] [PATCH 2/4] gnu: Add font-plangothic
  2024-04-19  8:22 ` [bug#70470] [PATCH 1/4] gnu: Add font-jigmo Zhu Zihao
@ 2024-04-19  8:22   ` Zhu Zihao
  2024-04-19  8:22   ` [bug#70470] [PATCH 3/4] gnu: Add font-lxgw-neozhisong Zhu Zihao
  2024-04-19  8:22   ` [bug#70470] [PATCH 4/4] gnu: Add font-lxgw-heartserif Zhu Zihao
  2 siblings, 0 replies; 6+ messages in thread
From: Zhu Zihao @ 2024-04-19  8:22 UTC (permalink / raw)
  To: 70470; +Cc: Zhu Zihao, Zhu Zihao, 宋文武

* 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





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#70470] [PATCH 3/4] gnu: Add font-lxgw-neozhisong
  2024-04-19  8:22 ` [bug#70470] [PATCH 1/4] gnu: Add font-jigmo Zhu Zihao
  2024-04-19  8:22   ` [bug#70470] [PATCH 2/4] gnu: Add font-plangothic Zhu Zihao
@ 2024-04-19  8:22   ` Zhu Zihao
  2024-04-19  8:22   ` [bug#70470] [PATCH 4/4] gnu: Add font-lxgw-heartserif Zhu Zihao
  2 siblings, 0 replies; 6+ messages in thread
From: Zhu Zihao @ 2024-04-19  8:22 UTC (permalink / raw)
  To: 70470; +Cc: Zhu Zihao, Zhu Zihao, 宋文武

* 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





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#70470] [PATCH 4/4] gnu: Add font-lxgw-heartserif
  2024-04-19  8:22 ` [bug#70470] [PATCH 1/4] gnu: Add font-jigmo Zhu Zihao
  2024-04-19  8:22   ` [bug#70470] [PATCH 2/4] gnu: Add font-plangothic Zhu Zihao
  2024-04-19  8:22   ` [bug#70470] [PATCH 3/4] gnu: Add font-lxgw-neozhisong Zhu Zihao
@ 2024-04-19  8:22   ` Zhu Zihao
  2 siblings, 0 replies; 6+ messages in thread
From: Zhu Zihao @ 2024-04-19  8:22 UTC (permalink / raw)
  To: 70470; +Cc: Zhu Zihao, Zhu Zihao, 宋文武

* 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





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* bug#70470: [PATCH] Add Jigmo, Plangothic, LXGW NeoZhiSong & HeartSerif
  2024-04-19  8:11 [bug#70470] [PATCH] Add Jigmo, Plangothic, LXGW NeoZhiSong & HeartSerif Zhu Zihao
  2024-04-19  8:22 ` [bug#70470] [PATCH 1/4] gnu: Add font-jigmo Zhu Zihao
@ 2024-04-19 13:27 ` 宋文武 via Guix-patches via
  1 sibling, 0 replies; 6+ messages in thread
From: 宋文武 via Guix-patches via @ 2024-04-19 13:27 UTC (permalink / raw)
  To: Zhu Zihao; +Cc: 70470-done

Zhu Zihao <all_but_last@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!




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-04-19 13:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19  8:11 [bug#70470] [PATCH] Add Jigmo, Plangothic, LXGW NeoZhiSong & HeartSerif Zhu Zihao
2024-04-19  8:22 ` [bug#70470] [PATCH 1/4] gnu: Add font-jigmo Zhu Zihao
2024-04-19  8:22   ` [bug#70470] [PATCH 2/4] gnu: Add font-plangothic Zhu Zihao
2024-04-19  8:22   ` [bug#70470] [PATCH 3/4] gnu: Add font-lxgw-neozhisong Zhu Zihao
2024-04-19  8:22   ` [bug#70470] [PATCH 4/4] gnu: Add font-lxgw-heartserif Zhu Zihao
2024-04-19 13:27 ` bug#70470: [PATCH] Add Jigmo, Plangothic, LXGW NeoZhiSong & HeartSerif 宋文武 via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).