summaryrefslogtreecommitdiff
path: root/gnu/packages/fonts.scm
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-08-03 10:22:39 +0900
committerRicardo Wurmus <rekado@elephly.net>2022-08-18 22:54:08 +0200
commit9cde566b9cd84c999c0074c906928e2cbef1ef30 (patch)
treeb487a2014fc7a11aef49ee46bf3a08be1db370c6 /gnu/packages/fonts.scm
parentceacf8e32f3671ab598c71e691b580a72af4e16e (diff)
gnu: Add font-latin-modern.
* gnu/packages/fonts.scm (font-latin-modern): New variable. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages/fonts.scm')
-rw-r--r--gnu/packages/fonts.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 18ec0814bd..09445cd00c 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -51,6 +51,7 @@
;;; Copyright © 2021 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2022 Jose G Perez Taveras <josegpt27@gmail.com>
;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space>
+;;; Copyright © 2022 Nguyễn Gia Phong <mcsinyx@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -732,6 +733,26 @@ following fonts in the OpenType format: Adventor, Bonum, Chorus, Cursor,
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 "https://www.gust.org.pl/projects/e-foundry/"
+ "latin-modern/download/lm" version "otf.zip"))
+ (sha256
+ (base32 "06qnvd6kh07gy2197vx3nmskhiqhp7ip9cpi2rkbwa1p3l2kc0jv"))))
+ (build-system font-build-system)
+ (home-page "https://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")