all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#69301] [PATCH] gnu: Add font-dongle.
@ 2024-02-21 12:29 Christina O'Donnell
  2024-02-24  4:02 ` 宋文武 via Guix-patches via
  0 siblings, 1 reply; 4+ messages in thread
From: Christina O'Donnell @ 2024-02-21 12:29 UTC (permalink / raw)
  To: 69301; +Cc: Christina O'Donnell, Zhu Zihao, 宋文武

* gnu/packages/fonts.scm (font-dongle): New variable.

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

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 331b1b062e..5bf9ba1122 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -59,6 +59,7 @@
 ;;; Copyright © 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
 ;;; Copyright © 2023 chris <chris@bumblehead.com>
 ;;; Copyright © 2023, 2024 Luis Felipe López Acevedo <sirgazil@zoho.com>
+;;; Copyright © 2024 Christina O'Donnell <cdo@mutix.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2662,6 +2663,55 @@ (define-public font-victor-mono
    (home-page "https://rubjo.github.io/victor-mono/")
    (license license:expat)))
 
+(define-public font-dongle
+  (package
+   (name "font-dongle")
+   (version "f7127c4d2450e1cad20254ec692591347e2fc260")
+   (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/yangheeryu/Dongle")
+                  (commit version)))
+            (file-name (git-file-name name version))
+            (sha256
+             (base32 "1gwrjv468bqfa3nxh01vprk7rp24cnhk3zlkrv5mzqcbcdf96nqp"))))
+   (build-system font-build-system)
+   (arguments
+    `(#:phases
+      (modify-phases %standard-phases
+        (add-before 'install 'build
+          (lambda _
+            (begin
+              (chdir "sources")
+              (invoke "unzip" "Dongle.zip")
+              (chdir "..")
+              (invoke "python3" "build.py")))))))
+   (native-inputs
+    (list python
+          python-glyphslib
+          python-fonttools
+          python-ufolib2
+          python-ufo2ft
+          zip))
+   (synopsis "Rounded sans-serif typeface, supporting Hangeul and Latin glyphs")
+   (description "Dongle(동글) is a rounded sans-serif typeface for display. It is a
+modular Hangeul with the de-square frame, creating a playful and rhythmic
+movement. The name, Dongle comes from a Korean onomatopoeia, meaning 'rounded or
+curved shape (with adorable impression)’.
+
+Dongle was originally designed as a 'Jamo (consonant and vowel in Hangeul) typing
+module' for the author's student project. Later it revised into ‘syllabic module’ to
+be released to the public. As the character size varies according to the syllable
+structure, Dongle typeface is much smaller compared to other square frame Korean
+typefaces. Therefore, it is better to adjust the font size visually to your liking,
+rather than relying on the point size of the editing program.
+
+It is designed especially for Hangeul typography, but it also includes Latin alphabet
+as a part of KS X 1001. This typeface has a light, regular, and bold weight.")
+   (home-page "https://github.com/yangheeryu/Dongle")
+   (license license:silofl1.1)))
+
+
 (define-public font-meera-inimai
   (package
     (name "font-meera-inimai")

base-commit: afdcba78558bd7a33f517716e69bb9494297064d
-- 
2.41.0





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

* [bug#69301] [PATCH] gnu: Add font-dongle.
  2024-02-21 12:29 [bug#69301] [PATCH] gnu: Add font-dongle Christina O'Donnell
@ 2024-02-24  4:02 ` 宋文武 via Guix-patches via
  2024-02-25 11:51   ` Christina O'Donnell
  0 siblings, 1 reply; 4+ messages in thread
From: 宋文武 via Guix-patches via @ 2024-02-24  4:02 UTC (permalink / raw)
  To: Christina O'Donnell; +Cc: 69301, Zhu Zihao

Hello, thank you for the patch.

Christina O'Donnell <cdo@mutix.org> writes:

> * gnu/packages/fonts.scm (font-dongle): New variable.
>
> Change-Id: I48449c3681b6bc9e90d41a8de7be0dfdd4e78153
> ---
>  gnu/packages/fonts.scm | 50 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 50 insertions(+)
>
> diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
> index 331b1b062e..5bf9ba1122 100644
> --- a/gnu/packages/fonts.scm
> +++ b/gnu/packages/fonts.scm
> @@ -59,6 +59,7 @@
>  ;;; Copyright © 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
>  ;;; Copyright © 2023 chris <chris@bumblehead.com>
>  ;;; Copyright © 2023, 2024 Luis Felipe López Acevedo <sirgazil@zoho.com>
> +;;; Copyright © 2024 Christina O'Donnell <cdo@mutix.org>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -2662,6 +2663,55 @@ (define-public font-victor-mono
>     (home-page "https://rubjo.github.io/victor-mono/")
>     (license license:expat)))
>  
> +(define-public font-dongle
> +  (package
> +   (name "font-dongle")
> +   (version "f7127c4d2450e1cad20254ec692591347e2fc260")

The version should be '(git-version "0" revision commit)', revision
starts with "1".  So in case of later update, guix can compare the
version change properly.

Otherwise looks good to me, could you send an update patch, thanks!




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

* [bug#69301] [PATCH] gnu: Add font-dongle.
  2024-02-24  4:02 ` 宋文武 via Guix-patches via
@ 2024-02-25 11:51   ` Christina O'Donnell
  2024-02-26 11:32     ` bug#69301: " 宋文武 via Guix-patches via
  0 siblings, 1 reply; 4+ messages in thread
From: Christina O'Donnell @ 2024-02-25 11:51 UTC (permalink / raw)
  To: 69301; +Cc: Christina O'Donnell, Zhu Zihao, 宋文武

* gnu/packages/fonts.scm (font-dongle): New variable.

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

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 331b1b062e..64db165b74 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -59,6 +59,7 @@
 ;;; Copyright © 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
 ;;; Copyright © 2023 chris <chris@bumblehead.com>
 ;;; Copyright © 2023, 2024 Luis Felipe López Acevedo <sirgazil@zoho.com>
+;;; Copyright © 2024 Christina O'Donnell <cdo@mutix.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2662,6 +2663,56 @@ (define-public font-victor-mono
    (home-page "https://rubjo.github.io/victor-mono/")
    (license license:expat)))
 
+(define-public font-dongle
+  (let ((commit "f7127c4d2450e1cad20254ec692591347e2fc260")
+        (revision "1"))
+    (package
+   (name "font-dongle")
+   (version (git-version "0" revision commit))
+   (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/yangheeryu/Dongle")
+                  (commit commit)))
+            (file-name (git-file-name name version))
+            (sha256
+             (base32 "1gwrjv468bqfa3nxh01vprk7rp24cnhk3zlkrv5mzqcbcdf96nqp"))))
+   (build-system font-build-system)
+   (arguments
+    `(#:phases
+      (modify-phases %standard-phases
+        (add-before 'install 'build
+          (lambda _
+            (begin
+              (chdir "sources")
+              (invoke "unzip" "Dongle.zip")
+              (chdir "..")
+              (invoke "python3" "build.py")))))))
+   (native-inputs
+    (list python
+          python-glyphslib
+          python-fonttools
+          python-ufolib2
+          python-ufo2ft
+          zip))
+   (synopsis "Rounded sans-serif typeface, supporting Hangeul and Latin glyphs")
+   (description "Dongle(동글) is a rounded sans-serif typeface for display. It is a
+modular Hangeul with the de-square frame, creating a playful and rhythmic
+movement. The name, Dongle comes from a Korean onomatopoeia, meaning 'rounded or
+curved shape (with adorable impression)’.
+
+Dongle was originally designed as a 'Jamo (consonant and vowel in Hangeul) typing
+module' for the author's student project. Later it revised into ‘syllabic module’ to
+be released to the public. As the character size varies according to the syllable
+structure, Dongle typeface is much smaller compared to other square frame Korean
+typefaces. Therefore, it is better to adjust the font size visually to your liking,
+rather than relying on the point size of the editing program.
+
+It is designed especially for Hangeul typography, but it also includes Latin alphabet
+as a part of KS X 1001. This typeface has a light, regular, and bold weight.")
+   (home-page "https://github.com/yangheeryu/Dongle")
+   (license license:silofl1.1))))
+
 (define-public font-meera-inimai
   (package
     (name "font-meera-inimai")

base-commit: afdcba78558bd7a33f517716e69bb9494297064d
-- 
2.41.0





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

* bug#69301: [PATCH] gnu: Add font-dongle.
  2024-02-25 11:51   ` Christina O'Donnell
@ 2024-02-26 11:32     ` 宋文武 via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: 宋文武 via Guix-patches via @ 2024-02-26 11:32 UTC (permalink / raw)
  To: Christina O'Donnell; +Cc: 69301-done, Zhu Zihao

Christina O'Donnell <cdo@mutix.org> writes:

> * gnu/packages/fonts.scm (font-dongle): New variable.
>
> Change-Id: I48449c3681b6bc9e90d41a8de7be0dfdd4e78153
> ---
>  gnu/packages/fonts.scm | 51 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 51 insertions(+)

Pushed to master, thank you!




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

end of thread, other threads:[~2024-02-26 11:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-21 12:29 [bug#69301] [PATCH] gnu: Add font-dongle Christina O'Donnell
2024-02-24  4:02 ` 宋文武 via Guix-patches via
2024-02-25 11:51   ` Christina O'Donnell
2024-02-26 11:32     ` bug#69301: " 宋文武 via Guix-patches via

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.