Subject: bug#56705: closed ([PATCH] gnu: Add font-latin-modern.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 18 Aug 2022 20:58:01 +0000

Your bug report

#56705: [PATCH] gnu: Add font-latin-modern.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
56705: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56705
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH] gnu: Add font-latin-modern.
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Thu, 18 Aug 2022 22:56:38 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Thank you for your patch!  I broke the long line of the description into
a paragraph and pushed the patch to the master branch with commit
“9cde566b9cd84c999c0074c906928e2cbef1ef30”.

-- 
Ricardo

Subject: [PATCH] gnu: Add font-latin-modern.
From: Nguyễn Gia Phong <[email-masked]>
To: [email-masked]
Cc: Nguyễn Gia Phong <[email-masked]>
Date: Fri, 22 Jul 2022 20:35:55 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/fonts.scm (font-latin-modern): New variable.
---
 gnu/packages/fonts.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index a381f061af94..f7fa124edf00 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -50,6 +50,7 @@
 ;;; Copyright © 2022 Maxim Cournoyer <[email-masked]>
 ;;; Copyright © 2021 Liliana Marie Prikler <[email-masked]>
 ;;; Copyright © 2022 Jose G Perez Taveras <[email-masked]>
+;;; Copyright © 2022 Nguyễn Gia Phong <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -731,6 +732,23 @@ (define-public font-tex-gyre
 Heros, Pagella, Schola, Termes.")
     (license license:gfl1.0)))
 
+(define-public font-latin-modern
+  (package
+    (name "font-latin-modern")
+    (version "2.004")
+    (source
+     (origin
+       (method url-fetch/zipbomb)
+       (uri (string-append "http://www.gust.org.pl/projects/e-foundry/"
+                           "latin-modern/download/lm" version "otf.zip"))
+       (sha256
+        (base32 "06qnvd6kh07gy2197vx3nmskhiqhp7ip9cpi2rkbwa1p3l2kc0jv"))))
+    (build-system font-build-system)
+    (home-page "http://www.gust.org.pl/projects/e-foundry/latin-modern")
+    (synopsis "OpenType fonts based on Computer Modern")
+    (description "The Latin Modern fonts are a set of scalable fonts based on the PostScript Type 1 version of the Computer Modern fonts and contain many additional characters (mostly accented ones).  This package provides the OpenType variant of these fonts.")
+    (license license:gfl1.0)))
+
 (define-public font-amiri
   (package
     (name "font-amiri")
-- 
2.37.0