unofficial mirror of guix-patches@gnu.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 2/4] gnu: Add font-plangothic
Date: Fri, 19 Apr 2024 16:22:26 +0800	[thread overview]
Message-ID: <498ae640a9bf1a1d8c1ce2b380a1502ce3228166.1713514243.git.all_but_last@163.com> (raw)
In-Reply-To: <1ea43632596b5d28f13afdac3118ec0f1eaa32d4.1713514243.git.all_but_last@163.com>

* 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





  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   ` Zhu Zihao [this message]
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

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=498ae640a9bf1a1d8c1ce2b380a1502ce3228166.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 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).