all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Zhu Zihao <all_but_last@163.com>
To: 70470@debbugs.gnu.org
Cc: "Zhu Zihao" <all_but_last@163.com>,
	"Zhu Zihao" <all_but_last@163.com>, 宋文武 <iyzsong@envs.net>
Subject: [bug#70470] [PATCH 4/4] gnu: Add font-lxgw-heartserif
Date: Fri, 19 Apr 2024 16:22:28 +0800	[thread overview]
Message-ID: <ab6271863ad208a4ade1b897ac66751005daad72.1713514243.git.all_but_last@163.com> (raw)
In-Reply-To: <1ea43632596b5d28f13afdac3118ec0f1eaa32d4.1713514243.git.all_but_last@163.com>

* 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





  parent reply	other threads:[~2024-04-19  8:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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   ` Zhu Zihao [this message]
2024-04-19 13:27 ` bug#70470: [PATCH] Add Jigmo, Plangothic, LXGW NeoZhiSong & HeartSerif 宋文武 via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ab6271863ad208a4ade1b897ac66751005daad72.1713514243.git.all_but_last@163.com \
    --to=all_but_last@163.com \
    --cc=70470@debbugs.gnu.org \
    --cc=iyzsong@envs.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.