From 9cde566b9cd84c999c0074c906928e2cbef1ef30 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Wed, 3 Aug 2022 10:22:39 +0900 Subject: gnu: Add font-latin-modern. * gnu/packages/fonts.scm (font-latin-modern): New variable. Signed-off-by: Ricardo Wurmus --- gnu/packages/fonts.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 ;;; Copyright © 2022 Jose G Perez Taveras ;;; Copyright © 2022 Hilton Chain +;;; Copyright © 2022 Nguyễn Gia Phong ;;; ;;; 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") -- cgit v1.2.3