gnu: font-abattis-cantarell: Update to 0.303.
[jackhill/guix/guix.git] / gnu / packages / fonts.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2014, 2015, 2016, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
3 ;;; Copyright © 2014, 2017 Mark H Weaver <mhw@netris.org>
4 ;;; Copyright © 2014 Joshua Grant <tadni@riseup.net>
5 ;;; Copyright © 2014 Alex Kost <alezost@gmail.com>
6 ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
7 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
8 ;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado@elephly.net>
9 ;;; Copyright © 2015, 2016 Leo Famulari <leo@famulari.name>
10 ;;; Copyright © 2016, 2017, 2018 Nikita <nikita@n0.is>
11 ;;; Copyright © 2016 Jookia <166291@gmail.com>
12 ;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
13 ;;; Copyright © 2016 Dmitry Nikolaev <cameltheman@gmail.com>
14 ;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
15 ;;; Copyright © 2016, 2020 Marius Bakke <mbakke@fastmail.com>
16 ;;; Copyright © 2016 Toni Reina <areina@riseup.net>
17 ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
18 ;;; Copyright © 2017 José Miguel Sánchez García <jmi2k@openmailbox.com>
19 ;;; Copyright © 2017 Alex Griffin <a@ajgrf.com>
20 ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
21 ;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot>
22 ;;; Copyright © 2017, 2018, 2019, 2020 Arun Isaac <arunisaac@systemreboot.net>
23 ;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
24 ;;; Copyright © 2018 Charlie Ritter <chewzerita@posteo.net>
25 ;;; Copyright © 2018 Gabriel Hondet <gabrielhondet@gmail.com>
26 ;;; Copyright © 2019, 2020 Jens Mølgaard <jens@zete.tk>
27 ;;; Copyright © 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
28 ;;; Copyright © 2019 Baptiste Strazzulla <bstrazzull@hotmail.fr>
29 ;;; Copyright © 2019 Alva <alva@skogen.is>
30 ;;; Copyright © 2019 Alexandros Theodotou <alex@zrythm.org>
31 ;;; Copyright © 2020 Damien Cassou <damien@cassou.me>
32 ;;; Copyright © 2020 Amin Bandali <bandali@gnu.org>
33 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
34 ;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
35 ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
36 ;;; Copyright © 2020, 2021 Julien Lepiller <julien@lepiller.eu>
37 ;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
38 ;;; Copyright © 2020 Simen Endsjø <simendsjo@gmail.com>
39 ;;; Copyright © 2020 Tim Van den Langenbergh <tmt_vdl@gmx.com>
40 ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
41 ;;; Copyright © 2021 Antoine Côté <antoine.cote@posteo.net>
42 ;;; Copyright © 2021 Sergiu Ivanov <sivanov@colimite.fr>
43 ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
44 ;;; Copyright © 2021 Paul A. Patience <paul@apatience.com>
45 ;;;
46 ;;; This file is part of GNU Guix.
47 ;;;
48 ;;; GNU Guix is free software; you can redistribute it and/or modify it
49 ;;; under the terms of the GNU General Public License as published by
50 ;;; the Free Software Foundation; either version 3 of the License, or (at
51 ;;; your option) any later version.
52 ;;;
53 ;;; GNU Guix is distributed in the hope that it will be useful, but
54 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
55 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
56 ;;; GNU General Public License for more details.
57 ;;;
58 ;;; You should have received a copy of the GNU General Public License
59 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
60
61 (define-module (gnu packages fonts)
62 #:use-module (ice-9 regex)
63 #:use-module (guix utils)
64 #:use-module ((guix licenses) #:prefix license:)
65 #:use-module (guix packages)
66 #:use-module (guix download)
67 #:use-module (guix git-download)
68 #:use-module (guix build-system font)
69 #:use-module (guix build-system gnu)
70 #:use-module (guix build-system meson)
71 #:use-module (guix build-system trivial)
72 #:use-module (gnu packages base)
73 #:use-module (gnu packages bash)
74 #:use-module (gnu packages compression)
75 #:use-module (gnu packages fontutils)
76 #:use-module (gnu packages gettext)
77 #:use-module (gnu packages glib)
78 #:use-module (gnu packages gtk)
79 #:use-module (gnu packages perl)
80 #:use-module (gnu packages pkg-config)
81 #:use-module (gnu packages python)
82 #:use-module (gnu packages python-xyz)
83 #:use-module (gnu packages xorg))
84
85 (define-public font-ibm-plex
86 (package
87 (name "font-ibm-plex")
88 (version "5.1.3")
89 (source (origin
90 (method url-fetch)
91 (uri (string-append
92 "https://github.com/IBM/plex/releases/download/"
93 "v" version "/OpenType.zip"))
94 (sha256
95 (base32
96 "0zlz8kxx54i4hpgaip9690bilvn5w14gp7jjkk6cz4h9p3xml231"))))
97 (build-system font-build-system)
98 (home-page "https://github.com/IBM/plex")
99 (synopsis "IBM Plex typeface")
100 (description "This package provides the Plex font family. It comes in a
101 Sans, Serif, Mono and Sans Condensed, all with roman and true italics. The
102 fonts have been designed to work well in user interface (UI) environments as
103 well as other mediums.")
104 (license license:silofl1.1)))
105
106 (define-public font-inconsolata
107 (package
108 (name "font-inconsolata")
109 (version "3.000")
110 (source
111 (origin
112 (method url-fetch)
113 (uri (string-append "https://github.com/googlefonts/Inconsolata/"
114 "releases/download/v" version "/fonts_otf.zip"))
115 (sha256
116 (base32 "1wavvv86nwsqm5sbmnkv1bprj7l7zdrkxpvjy6w8yag93k6hrlx1"))))
117 (build-system font-build-system)
118 (home-page "https://levien.com/type/myfonts/inconsolata.html")
119 (synopsis "Monospace font")
120 (description "A monospace font, designed for code listings and the like,
121 in print. With attention to detail for high resolution rendering.")
122 (license license:silofl1.1)))
123
124 (define-public font-dejavu
125 (package
126 (name "font-dejavu")
127 (version "2.37")
128 (source (origin
129 (method url-fetch)
130 (uri (string-append "mirror://sourceforge/dejavu/dejavu/"
131 version "/dejavu-fonts-ttf-"
132 version ".tar.bz2"))
133 (sha256
134 (base32
135 "1mqpds24wfs5cmfhj57fsfs07mji2z8812i5c4pi5pbi738s977s"))))
136 (build-system font-build-system)
137 (arguments
138 `(#:phases
139 (modify-phases %standard-phases
140 (add-after 'install 'install-conf
141 (lambda* (#:key outputs #:allow-other-keys)
142 (let ((conf-dir (string-append (assoc-ref outputs "out")
143 "/share/fontconfig/conf.avail")))
144 (copy-recursively "fontconfig" conf-dir)
145 #t))))))
146 (home-page "https://dejavu-fonts.github.io/")
147 (synopsis "Vera font family derivate with additional characters")
148 (description "DejaVu provides an expanded version of the Vera font family
149 aiming for quality and broader Unicode coverage while retaining the original
150 Vera style. DejaVu currently works towards conformance to the Multilingual
151 European Standards (MES-1 and MES-2) for Unicode coverage. The DejaVu fonts
152 provide serif, sans and monospaced variants.")
153 (license
154 (license:x11-style
155 "http://dejavu-fonts.org/"))))
156
157 (define-public font-bitstream-vera
158 (package
159 (name "font-bitstream-vera")
160 (version "1.10")
161 (source (origin
162 (method url-fetch)
163 (uri (string-append "mirror://gnome/sources/ttf-bitstream-vera/"
164 version "/ttf-bitstream-vera-"
165 version ".tar.bz2"))
166 (sha256
167 (base32
168 "1p3qs51x5327gnk71yq8cvmxc6wgx79sqxfvxcv80cdvgggjfnyv"))))
169 (build-system font-build-system)
170 (home-page "https://www.gnome.org/fonts/")
171 (synopsis "Bitstream Vera sans-serif typeface")
172 (description "Vera is a sans-serif typeface from Bitstream, Inc. This
173 package provides the TrueType (TTF) files.")
174 (license
175 (license:fsdg-compatible
176 "https://www.gnome.org/fonts/#Final_Bitstream_Vera_Fonts"
177 "The Font Software may be sold as part of a larger software package but
178 no copy of one or more of the Font Software typefaces may be sold by
179 itself."))))
180
181 (define-public font-canada1500
182 (package
183 (name "font-canada1500")
184 (version "1.101")
185 (source (origin
186 (method url-fetch)
187 (uri "https://typodermicfonts.com/wp-content/uploads/2017/06/canada1500.zip")
188 (sha256
189 (base32
190 "0cdcb89ab6q7b6jd898bnvrd1sifbd2xr42qgji98h8d5cq4b6fp"))))
191 (build-system font-build-system)
192 (home-page "https://typodermicfonts.com/canada1500/")
193 (synopsis "Canadian typeface that supports English, French and Aboriginal languages")
194 (description "Canada1500 is a display typeface originally created for the
195 Canadian sesquicentennial with four weights, italics and space symbols which
196 includes lining and old-style numerals, tabular and proportional. Greek,
197 Cyrillic, Canadian Syllabics and most Latin based languages are supported.")
198 (license license:cc0)))
199
200 (define-public font-abattis-cantarell
201 (package
202 (name "font-abattis-cantarell")
203 (version "0.303")
204 (source
205 (origin
206 (method url-fetch/zipbomb)
207 (uri (string-append "https://gitlab.gnome.org/GNOME/cantarell-fonts/-/"
208 "jobs/1515399/artifacts/download"))
209 (file-name (string-append name "-" version "-static"))
210 (sha256
211 (base32 "1dz551xrrhx6l40j57ksk2alllrihghg4947z1r88dpcq3snpn1s"))))
212 (build-system font-build-system)
213 (arguments
214 `(#:phases
215 (modify-phases %standard-phases
216 (add-after 'unpack 'unpack-source
217 ;; The actual OTF fonts are prebuilt (building them requires at least
218 ;; the currently unpackaged psautohint and its numerous dependencies;
219 ;; TODO), but unpack the source so that COPYING is installed later.
220 (lambda* (#:key outputs #:allow-other-keys)
221 (invoke "tar" "--strip-components=1" "-xvf"
222 (string-append "build/meson-dist/cantarell-fonts-"
223 ,version ".tar.xz"))))
224 (add-after 'unpack 'unpack-variable-font
225 (lambda* (#:key inputs #:allow-other-keys)
226 (let ((variable-font (assoc-ref inputs "variable-font")))
227 (copy-recursively (string-append variable-font "/prebuilt")
228 ".")))))))
229 (native-inputs
230 `(("variable-font"
231 ,(origin
232 (method url-fetch/zipbomb)
233 (uri (string-append "https://gitlab.gnome.org/GNOME/cantarell-fonts/-/"
234 "jobs/1515398/artifacts/download"))
235 (file-name (string-append name "-" version "-variable"))
236 (sha256
237 (base32 "0z93pbkxidsx3y98rsl2jm2qpvxv5pj0w870xhnsciglw6pc9a9i"))))
238 ("unzip" ,unzip)))
239 (home-page "https://wiki.gnome.org/Projects/CantarellFonts")
240 (synopsis "Cantarell sans-serif typeface")
241 (description "The Cantarell font family is a contemporary Humanist
242 sans-serif designed for on-screen reading. It is used by GNOME@tie{}3.")
243 (license license:silofl1.1)))
244
245 (define-public font-lato
246 (package
247 (name "font-lato")
248 (version "2.015") ; also update description
249 (source (origin
250 (method url-fetch/zipbomb)
251 (uri (string-append "https://www.latofonts.com/download/Lato2OFL.zip"))
252 (sha256
253 (base32
254 "1f5540g0ja1nx3ddd3ywn77xc81ssrxpq8n3gyb9sabyq2b4xda2"))))
255 (build-system font-build-system)
256 (home-page "https://www.latofonts.com/lato-free-fonts/")
257 (synopsis "Lato sans-serif typeface")
258 (description
259 "Lato is a sanserif typeface family. It covers over 3000 glyphs per style.
260 The Lato 2.010 family supports more than 100 Latin-based languages, over
261 50 Cyrillic-based languages as well as Greek and IPA phonetics.")
262 (license license:silofl1.1)))
263
264 (define-public font-gnu-freefont
265 (package
266 (name "font-gnu-freefont")
267 ;; Note: Remove the special FontForge input and package once the 2020
268 ;; release is out.
269 (version "20120503")
270 (source (origin
271 (method url-fetch)
272 (uri (string-append "mirror://gnu/freefont/freefont-src-"
273 version ".tar.gz"))
274 (sha256
275 (base32
276 "0yk58blhcd4hm7nyincmqq4jrzjjk82wif2zmk1l3y2m4vif4qhd"))))
277 (build-system gnu-build-system)
278 (arguments
279 `(#:phases (modify-phases %standard-phases
280 (delete 'configure)
281 (replace 'install
282 (lambda _
283 (let ((doc-dir (string-append %output "/share/doc/"
284 ,name "-" ,version))
285 (ttf-font-dir (string-append %output
286 "/share/fonts/truetype"))
287 (otf-font-dir (string-append %output
288 "/share/fonts/opentype"))
289 (woff-font-dir (string-append %output
290 "/share/fonts/webfonts")))
291 (mkdir-p doc-dir)
292 (substitute* "Makefile"
293 (("\\$\\(TMPDIR\\)") doc-dir)
294 (("sfd/\\*.ttf") "")
295 (("sfd/\\*.otf") "")
296 (("sfd/\\*.woff") ""))
297 ;; XXX The FreeFont Makefile tries to use the current
298 ;; time and date as names for generated files, and fails
299 ;; silently. But the fonts are still installed, so we
300 ;; leave the issue alone for now.
301 ;; See <https://bugs.gnu.org/40783>
302 (system* "make" "ttftar" "otftar" "wofftar")
303 (mkdir-p ttf-font-dir)
304 (mkdir-p otf-font-dir)
305 (mkdir-p woff-font-dir)
306 (for-each (lambda (file)
307 (install-file file ttf-font-dir))
308 (filter
309 (lambda (file) (string-suffix? "ttf" file))
310 (find-files "." "")))
311 (for-each (lambda (file)
312 (install-file file otf-font-dir))
313 (filter
314 (lambda (file) (string-suffix? "otf" file))
315 (find-files "." "")))
316 (for-each (lambda (file)
317 (install-file file woff-font-dir))
318 (filter
319 (lambda (file) (string-suffix? "woff" file))
320 (find-files "." "")))))))
321 #:test-target "tests"))
322 ;; FreeFont anno 2012 requires a FontForge built with Python 2.
323 (native-inputs `(("fontforge" ,fontforge-20190801)))
324 (home-page "https://www.gnu.org/software/freefont/")
325 (synopsis "Unicode-encoded outline fonts")
326 (description
327 "The GNU Freefont project aims to provide a set of free outline
328 (PostScript Type0, TrueType, OpenType...) fonts covering the ISO
329 10646/Unicode UCS (Universal Character Set).")
330 (license license:gpl3+)
331 (properties '((upstream-name . "freefont")
332 (ftp-directory . "/gnu/freefont")))))
333
334 (define-public font-gnu-freefont-ttf
335 (deprecated-package "font-gnu-freefont-ttf" font-gnu-freefont))
336
337 (define-public font-liberation
338 (package
339 (name "font-liberation")
340 (version "2.1.4")
341 (source
342 (origin
343 (method url-fetch)
344 (uri (string-append
345 "https://github.com/liberationfonts/liberation-fonts/"
346 "files/6418984/liberation-fonts-ttf-" version ".tar.gz"))
347 (sha256
348 (base32 "1vx5q5bif9d1cn5pvm78203sf4may2mch72aa1hx1a8avl959y16"))))
349 (build-system font-build-system)
350 (home-page "https://github.com/liberationfonts")
351 (synopsis "Fonts compatible with Arial, Times New Roman, and Courier New")
352 (description
353 "The Liberation font family aims at metric compatibility with
354 Arial, Times New Roman, and Courier New.
355 There are three sets:
356
357 @enumerate
358 @item Sans (a substitute for Arial, Albany, Helvetica, Nimbus Sans L, and
359 Bitstream Vera Sans);
360 @item Serif (a substitute for Times New Roman, Thorndale, Nimbus Roman, and
361 Bitstream Vera Serif);
362 @item Mono (a substitute for Courier New, Cumberland, Courier, Nimbus Mono L,
363 and Bitstream Vera Sans Mono).
364 @end enumerate\n")
365 (license license:silofl1.1)))
366
367 (define-public font-linuxlibertine
368 (package
369 (name "font-linuxlibertine")
370 (version "5.3.0")
371 (source (origin
372 (method url-fetch/tarbomb)
373 (uri (string-append "mirror://sourceforge/linuxlibertine/"
374 "linuxlibertine/" version
375 "/LinLibertineSRC_" version "_2012_07_02.tgz"))
376 (sha256
377 (base32
378 "0x7cz6hvhpil1rh03rax9zsfzm54bh7r4bbrq8rz673gl9h47v0v"))))
379 (build-system font-build-system)
380 (arguments
381 `(#:phases
382 (modify-phases %standard-phases
383 (add-before 'install 'build
384 (lambda _
385 (let ((compile
386 (lambda (name ext)
387 (invoke
388 "fontforge" "-lang=ff"
389 "-c" (string-append "Open('" name "');"
390 "Generate('"
391 (basename name "sfd") ext
392 "')")))))
393 (for-each (lambda (name)
394 (and (compile name "ttf")
395 (compile name "otf")))
396 (find-files "." "\\.sfd$"))
397 #t))))))
398 (native-inputs
399 `(("fontforge" ,fontforge)))
400 (home-page "http://www.linuxlibertine.org/")
401 (synopsis "Serif and sans serif typefaces")
402 (description "The Linux Libertine fonts is a set of typefaces containing
403 both a Serif version (\"Linux Libertine\") and a Sans Serif (\"Linux
404 Biolinum\") designed to be used together as an alternative for Times/Times New
405 Roman and Helvetica/Arial. The Serif typeface comes in two shapes and two
406 weights, and with a Small Capitals version of the regular typeface. Linux
407 Biolinum is available in both Regular and Bold weights.")
408 ;; The fonts are released under either of these licenses.
409 (license (list license:gpl2+ license:silofl1.1))))
410
411 (define-public font-libertinus
412 (package
413 (name "font-libertinus")
414 (version "7.040")
415 (source
416 (origin
417 (method url-fetch)
418 (uri (string-append "https://github.com/alerque/libertinus/releases"
419 "/download/v" version "/libertinus-" version
420 ".zip"))
421 (sha256
422 (base32 "1xkj993hwkr49q63dd2dnkvdkm9sckxm3zjwhdxsxn21fi80ikic"))))
423 (build-system font-build-system)
424 (home-page "https://github.com/alerque/libertinus")
425 (synopsis "Font family based on Linux Libertine")
426 (description
427 "The Libertinus font family is a fork of Linux Libertine that addresses
428 many bugs in the unmaintained original and adds a new mathematical companion
429 font for use with OpenType math-capable applications like LuaTex or XeTeX.
430
431 The unified Libertinus family consists of:
432 @enumerate
433 @item Libertinus Serif, forked from Linux Libertine;
434 @item Libertinus Sans Serif, forked from Linux Biolinum;
435 @item Libertinus Mono, forked from Linux Libertine Mono; and
436 @item Libertinus Math, an original matching OpenType math font.
437 @end enumerate\n")
438 (license license:silofl1.1)))
439
440 (define-public font-terminus
441 (package
442 (name "font-terminus")
443 (version "4.49.1")
444 (source
445 (origin
446 (method url-fetch)
447 (uri (string-append "mirror://sourceforge/terminus-font/terminus-font-"
448 (version-major+minor version)
449 "/terminus-font-" version ".tar.gz"))
450 (sha256
451 (base32 "0yggffiplk22lgqklfmd2c0rw8gwchynjh5kz4bz8yv2h6vw2qfr"))))
452 (build-system gnu-build-system)
453 (outputs (list "out" "pcf-8bit" "otb"))
454 (arguments
455 `(#:tests? #f ; no test target in tarball
456 #:phases
457 (modify-phases %standard-phases
458 (add-after 'build 'build-more-bits
459 ;; X11 8-bit code pages aren't installed by default (they were
460 ;; until version 4.46). Build and install them separately.
461 (lambda* (#:key make-flags #:allow-other-keys)
462 (apply invoke "make" "pcf-8bit" make-flags)))
463 (add-after 'install 'install-more-bits
464 (lambda* (#:key make-flags outputs #:allow-other-keys)
465 (let ((pcf-8bit (assoc-ref outputs "pcf-8bit")))
466 (apply invoke "make" "install-pcf-8bit" (string-append "prefix="
467 pcf-8bit)
468 make-flags))))
469 (add-after 'build-more-bits 'build-otb
470 ;; Build Open Type Bitmap
471 (lambda* (#:key make-flags #:allow-other-keys)
472 (apply invoke "make" "otb" make-flags)))
473 (add-after 'install 'install-otb
474 (lambda* (#:key make-flags outputs #:allow-other-keys)
475 (let ((otb (assoc-ref outputs "otb")))
476 (apply invoke "make" "install-otb" (string-append "prefix=" otb)
477 make-flags)))))))
478 (native-inputs
479 `(("bdftopcf" ,bdftopcf)
480 ("font-util" ,font-util)
481 ("mkfontdir" ,mkfontdir)
482 ("pkg-config" ,pkg-config)
483 ("python" ,python)))
484 (home-page "http://terminus-font.sourceforge.net/")
485 (synopsis "Simple bitmap programming font")
486 (description "Terminus Font is a clean, fixed-width bitmap font, designed
487 for long periods of working with computers (8 or more hours per day).")
488 (license license:silofl1.1)))
489
490 (define-public font-adobe-source-han-sans
491 (package
492 (name "font-adobe-source-han-sans")
493 (version "1.004")
494 (source (origin
495 (method git-fetch)
496 (uri (git-reference
497 (url "https://github.com/adobe-fonts/source-han-sans")
498 (commit (string-append version "R"))))
499 (file-name (git-file-name name version))
500 (sha256
501 (base32
502 "0zm884d8fp5gvirq324050kqv7am9khyqhs9kk4r4rr3jzn61jpk"))))
503 (outputs '("out" ; OpenType/CFF Collection (OTC), 121 MiB.
504 "cn" "jp" "kr" "tw")) ; Region-specific Subset OpenType/CFF.
505 (build-system trivial-build-system)
506 (arguments
507 `(#:modules ((guix build utils))
508 #:builder
509 (begin
510 (use-modules (guix build utils))
511 (let ((install-opentype-fonts
512 (lambda (fonts-dir out)
513 (copy-recursively fonts-dir
514 (string-append (assoc-ref %outputs out)
515 "/share/fonts/opentype")))))
516 (chdir (assoc-ref %build-inputs "source"))
517 (install-opentype-fonts "OTC" "out")
518 (install-opentype-fonts "SubsetOTF/CN" "cn")
519 (install-opentype-fonts "SubsetOTF/JP" "jp")
520 (install-opentype-fonts "SubsetOTF/KR" "kr")
521 (install-opentype-fonts "SubsetOTF/TW" "tw")
522 (for-each delete-file (find-files %output "\\.zip$"))
523 #t))))
524 (home-page "https://github.com/adobe-fonts/source-han-sans")
525 (synopsis "Pan-CJK fonts")
526 (description
527 "Source Han Sans is a sans serif Pan-CJK font family that is offered in
528 seven weights: ExtraLight, Light, Normal, Regular, Medium, Bold, and Heavy.
529 And in several OpenType/CFF-based deployment configurations to accommodate
530 various system requirements or limitations. As the name suggests, Pan-CJK
531 fonts are intended to support the characters necessary to render or display
532 text in Simplified Chinese, Traditional Chinese, Japanese, and Korean.")
533 (license license:silofl1.1)))
534
535 (define-public font-cns11643
536 ;; Since upstream doesn't provide any version numbers, the date of the last
537 ;; edit is used, taken from https://data.gov.tw/dataset/5961
538 ;; XXX: The source is also updated in-place, so it may be desirable to mirror
539 ;; it elsewhere to avoid suddenly losing the current source file.
540 (package
541 (name "font-cns11643")
542 (version "98.1.20180605")
543 (source (origin
544 (method url-fetch)
545 (uri "http://www.cns11643.gov.tw/AIDB/Open_Data.zip")
546 (sha256
547 (base32
548 "000a9whrjr1cd4pjc23pbl60zwkq3wcb5g61p9qi7fn3hwkp0kyw"))))
549 (build-system font-build-system)
550 (home-page "http://www.cns11643.gov.tw/AIDB/welcome.do")
551 (synopsis "CJK TrueType fonts, TW-Kai and TW-Sung")
552 (description
553 "@code{CNS 11643} character set (Chinese National Standard, or Chinese
554 Standard Interchange Code) is the standard character set of the Republic of
555 China (Taiwan) for Chinese Characters and other Unicode symbols. Contained
556 are six TrueType fonts based on two script styles, Regular script (Kai), and
557 Sung/Ming script, each with three variants:
558
559 @itemize
560 @item @code{CNS 11643} (@code{TW-Kai} and @code{TW-Sung}): Tens of thousands
561 of CJK characters from frequency tables published by the Taiwanese
562 Ministry of Education. ISO 10646 and Unicode compatible encoding.
563 @item @code{Big-5 Plus}: Several thousand frequently used CJK characters
564 encoded in the user defined area of the Big-5 code.
565 @item @code{Big-5 Extended}: A Big-5 character set based on the
566 @code{Big-5 Plus} and @code{CNS 11643} character sets.
567 @end itemize\n")
568 (license (license:non-copyleft
569 "http://data.gov.tw/license")))) ; CC-BY 4.0 compatible
570
571 (define-public font-cns11643-swjz
572 (package
573 (name "font-cns11643-swjz")
574 (version "1")
575 (source
576 (origin
577 (method url-fetch)
578 (uri "https://www.moedict.tw/fonts/truetype/cns11643/ebas927.ttf")
579 (sha256
580 (base32
581 "1qkljldbmb53zp1rcmpsb8rzy67rnsqcjxi549m9743ifk4isl78"))))
582 (build-system font-build-system)
583 (home-page
584 (string-append "http://www.cns11643.gov.tw/AIDB/download.do"
585 "?name=%E5%AD%97%E5%9E%8B%E4%B8%8B%E8%BC%89"))
586 (synopsis "TrueType seal script font")
587 (description
588 "@code{Shuowen Jiezi} is a TrueType seal script font based on the ancient
589 text of the same name published by the Executive Yuan of Taiwan. 6721 glyphs
590 are included, at Unicode compatible code points corresponding to their modern
591 variants.")
592 ;; Original text only available in Chinese. More info at
593 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26703#11
594 (license (license:non-copyleft
595 "http://www.cns11643.gov.tw/AIDB/copyright.do"))))
596
597 (define-public font-wqy-zenhei
598 (package
599 (name "font-wqy-zenhei")
600 (version "0.9.45")
601 (source (origin
602 (method url-fetch)
603 (uri (string-append
604 "mirror://sourceforge/wqy/wqy-zenhei/" version
605 "%20%28Fighting-state%20RC1%29/wqy-zenhei-"
606 version ".tar.gz"))
607 (sha256
608 (base32
609 "1mkmxq8g2hjcglb3zajfqj20r4r88l78ymsp2xyl5yav8w3f7dz4"))))
610 (build-system font-build-system)
611 (home-page "http://wenq.org/wqy2/")
612 (synopsis "CJK font")
613 (description
614 "WenQuanYi Zen Hei is a Hei-Ti style (sans-serif type) Chinese outline
615 font. It is designed for general purpose text formatting and on-screen
616 display of Chinese characters and symbols from many other languages.
617 WenQuanYi Zen Hei provides a rather complete coverage of Chinese Hanzi glyphs,
618 including both simplified and traditional forms. The total glyph number in
619 this font is over 35,000, including over 21,000 Chinese Hanzi. This font has
620 full coverage of the GBK (CP936) charset, CJK Unified Ideographs, as well as
621 the code-points needed for zh_cn, zh_sg, zh_tw, zh_hk, zh_mo, ja (Japanese) and
622 ko (Korean) locales for @code{fontconfig}.")
623 ;; GPLv2 with font embedding exception.
624 (license license:gpl2)))
625
626 (define-public font-wqy-microhei
627 (package
628 (name "font-wqy-microhei")
629 (version "0.2.0-beta")
630 (source (origin
631 (method url-fetch)
632 (uri (string-append "mirror://sourceforge/wqy/wqy-microhei/"
633 version "/wqy-microhei-" version ".tar.gz"))
634 (sha256
635 (base32
636 "0gi1yxqph8xx869ichpzzxvx6y50wda5hi77lrpacdma4f0aq0i8"))))
637 (build-system font-build-system)
638 (home-page "http://wenq.org/wqy2/")
639 (synopsis "CJK font")
640 (description
641 "WenQuanYi Micro Hei is a Sans-Serif style (also known as Hei, Gothic or
642 Dotum among the Chinese/Japanese/Korean users) high quality CJK outline font.
643 It was derived from \"Droid Sans Fallback\" and \"Droid Sans\" released by
644 Google Inc. This font contains all the unified CJK Han glyphs in the range of
645 U+4E00-U+9FC3 defined in Unicode Standard 5.1, together with many other
646 languages unicode blocks, including Latins, Extended Latins, Hanguls and
647 Kanas. The font file is extremely compact (~4M) compared with most known CJK
648 fonts.")
649 ;; This font is licensed under Apache2.0 or GPLv3 with font embedding
650 ;; exceptions.
651 (license license:gpl3)))
652
653 (define-public font-rachana
654 (package
655 (name "font-rachana")
656 (version "7.0.3")
657 (source
658 (origin
659 (method git-fetch)
660 (uri (git-reference
661 (url "https://gitlab.com/smc/fonts/rachana")
662 (commit (string-append "Version" version))))
663 (sha256
664 (base32 "0r100pvk56y1s38nbv24d78s8nd7dkblgasbn8s887dzj6dps23d"))
665 (file-name (git-file-name name version))))
666 (build-system font-build-system)
667 (home-page "https://smc.org.in")
668 (synopsis "Malayalam font")
669 (description
670 "Rachana is a Malayalam font designed by Hussain K H. The project was
671 part of Rachana Aksharavedi for the original script of Malayalam in computing.
672 Rachana has about 1,200+ glyphs for Malayalam and contains glyphs required for
673 printing old Malayalam books without compromising the writing style.")
674 ;; This font is licensed under SIL 1.1 or GPLv3+ with font embedding
675 ;; exceptions.
676 (license (list license:silofl1.1 license:gpl3+))))
677
678 (define-public font-tex-gyre
679 (package
680 (name "font-tex-gyre")
681 (version "2.005")
682 (source
683 (origin
684 (method url-fetch/zipbomb)
685 (uri (string-append "http://www.gust.org.pl/projects/e-foundry/"
686 "tex-gyre/whole/tg-" version "otf.zip"))
687 (sha256
688 (base32
689 "0kph9l3g7jb2bpmxdbdg5zl56wacmnvdvsdn7is1gc750sqvsn31"))))
690 (build-system font-build-system)
691 (home-page "http://www.gust.org.pl/projects/e-foundry/tex-gyre/")
692 (synopsis "Remake of Ghostscript fonts")
693 (description "The TeX Gyre collection of fonts is the result of an
694 extensive remake and extension of the freely available base PostScript fonts
695 distributed with Ghostscript version 4.00. The collection contains the
696 following fonts in the OpenType format: Adventor, Bonum, Chorus, Cursor,
697 Heros, Pagella, Schola, Termes.")
698 (license license:gfl1.0)))
699
700 (define-public font-anonymous-pro
701 (package
702 (name "font-anonymous-pro")
703 (version "1.002")
704 (source (origin
705 (method url-fetch)
706 (uri (string-append
707 "https://www.marksimonson.com/assets/content/fonts/"
708 "AnonymousPro-" version ".zip"))
709 (sha256
710 (base32
711 "1asj6lykvxh46czbal7ymy2k861zlcdqpz8x3s5bbpqwlm3mhrl6"))))
712 (build-system font-build-system)
713 (home-page "https://www.marksimonson.com/fonts/view/anonymous-pro")
714 (synopsis "Fixed-width fonts designed with coding in mind")
715 (description "Anonymous Pro is a family of four fixed-width fonts designed
716 with coding in mind. Anonymous Pro features an international, Unicode-based
717 character set, with support for most Western and Central European Latin-based
718 languages, plus Greek and Cyrillic.")
719 (license license:silofl1.1)))
720
721 (define-public font-anonymous-pro-minus
722 (package
723 (inherit font-anonymous-pro)
724 (name "font-anonymous-pro-minus")
725 ;; The -Minus variant doesn't necessarily track the regular version above.
726 (version "1.003")
727 (source
728 (origin
729 (method url-fetch)
730 (uri (string-append "https://www.marksimonson.com/assets/content/fonts/"
731 "AnonymousProMinus-" version ".zip"))
732 (sha256
733 (base32 "1p2n91jja37d2cshp5pjwld9lq0v7gnpk7ywwn2blq7k46q6vq38"))))
734 (synopsis "Fixed-width fonts designed with coding in mind, without bitmaps")
735 (description "Anonymous Pro is a family of four fixed-width fonts designed
736 with coding in mind. Anonymous Pro features an international, Unicode-based
737 character set, with support for most Western and Central European Latin-based
738 languages, plus Greek and Cyrillic.
739
740 Anonymous Pro Minus is identical to Anonymous Pro, minus its embedded bitmaps
741 for use at smaller text sizes")))
742
743 (define-public font-gnu-unifont
744 (package
745 (name "font-gnu-unifont")
746 (version "13.0.06")
747 (source
748 (origin
749 (method url-fetch)
750 (uri (list
751 (string-append "https://unifoundry.com/pub/unifont/unifont-"
752 version "/unifont-" version ".tar.gz")
753 (string-append "mirror://gnu/unifont/unifont-"
754 version "/unifont-" version ".tar.gz")))
755 (sha256
756 (base32 "09g91g0gv76sadslp70m5xwfk3jf8kh7rpk2pz3l2hpldnjggpk8"))))
757 (build-system gnu-build-system)
758 (outputs '("out" ; TrueType version
759 "pcf" ; PCF (bitmap) version
760 "psf" ; PSF (console) version
761 "bin")) ; Utilities to manipulate '.hex' format
762 (arguments
763 '(#:tests? #f ; no check target
764 #:phases
765 (modify-phases %standard-phases
766 (replace
767 'configure
768 (lambda _ (setenv "CC" "gcc") #t))
769 (replace
770 'install
771 (lambda* (#:key outputs #:allow-other-keys)
772 (let* ((ttf (string-append (assoc-ref outputs "out")
773 "/share/fonts/truetype"))
774 (pcf (string-append (assoc-ref outputs "pcf")
775 "/share/fonts/misc"))
776 (psf (string-append (assoc-ref outputs "psf")
777 "/share/consolefonts"))
778 (bin (assoc-ref outputs "bin")))
779 (invoke "make"
780 (string-append "PREFIX=" bin)
781 (string-append "TTFDEST=" ttf)
782 (string-append "PCFDEST=" pcf)
783 (string-append "CONSOLEDEST=" psf)
784 "install")
785 ;; Move Texinfo file to the right place.
786 (mkdir (string-append bin "/share/info"))
787 (invoke "gzip" "-9n" "doc/unifont.info")
788 (install-file "doc/unifont.info.gz"
789 (string-append bin "/share/info"))
790 #t))))))
791 (inputs
792 `(("perl" ,perl))) ; for utilities
793 (synopsis
794 "Large bitmap font covering Unicode's Basic Multilingual Plane")
795 (description
796 "GNU Unifont is a bitmap font covering essentially all of
797 Unicode's Basic Multilingual Plane. The package also includes
798 utilities to ease adding new glyphs to the font.")
799 (home-page "http://unifoundry.com/unifont/index.html")
800 (properties '((upstream-name . "unifont")))
801 (license license:gpl2+)))
802
803 (define-public font-google-noto
804 (package
805 (name "font-google-noto")
806 (version "20171025")
807 (source
808 (origin
809 (method url-fetch/zipbomb)
810 (uri (string-append "https://noto-website-2.storage.googleapis.com/"
811 "pkgs/Noto-hinted.zip"))
812 (file-name (string-append name "-" version ".zip"))
813 (sha256
814 (base32 "1bp42whyin7xcgmrbnfvz3rvd98xmxaz3ywqybbjmqzwaa9llyw3"))))
815 (build-system font-build-system)
816 (home-page "https://www.google.com/get/noto/")
817 (synopsis "Fonts to cover all languages")
818 (description "Google Noto Fonts is a family of fonts designed to support
819 all languages with a consistent look and aesthetic. Its goal is to properly
820 display all Unicode symbols.")
821 (license license:silofl1.1)))
822
823 (define-public font-google-roboto
824 (package
825 (name "font-google-roboto")
826 (version "2.136")
827 (source
828 (origin
829 (method url-fetch)
830 (uri (string-append "https://github.com/google/roboto/releases/download/"
831 "v" version "/roboto-hinted.zip"))
832 (file-name (string-append name "-" version ".zip"))
833 (sha256
834 (base32
835 "0spscx08fad7i8qs7icns96iwcapniq8lwwqqvbf7bamvs8qfln4"))))
836 (build-system font-build-system)
837 (home-page "https://github.com/google/roboto")
838 (synopsis "The Roboto family of fonts")
839 (description
840 "Roboto is Google’s signature family of fonts, the default font on Android
841 and Chrome OS, and the recommended font for the
842 visual language \"Material Design\".")
843 (license license:asl2.0)))
844
845 (define-public font-borg-sans-mono
846 (package
847 (name "font-borg-sans-mono")
848 (version "0.3.2")
849 (source
850 (origin
851 (method url-fetch)
852 (uri (string-append
853 "https://github.com/charje/borg-sans-mono"
854 "/releases/download/v" version "/borg-sans-mono.zip"))
855 (sha256
856 (base32
857 "0q16gw3ry9hpgbl2636qq00ap59xyx15jf3gzvx2ybz3gja164c4"))))
858 (build-system font-build-system)
859 (home-page "https://github.com/charje/borg-sans-mono")
860 (synopsis "The Borg Sans Mono font")
861 (description "Borg Sans Mono is a monospaced font derived from Droid Sans
862 Mono. It includes additions commonly found in programming fonts such as a
863 slashed zero and ligatures for operators.")
864 (license license:asl2.0)))
865
866 (define-public font-un
867 (package
868 (name "font-un")
869 (version "1.0.2-080608")
870 (source (origin
871 (method url-fetch)
872 (uri (string-append
873 "https://kldp.net/unfonts/release/2607-"
874 "un-fonts-core-" version ".tar.gz"))
875 (file-name (string-append name "-" version ".tar.gz"))
876 (sha256
877 (base32
878 "13liaz2pmww3aqabm55la5npd08m1skh334ky7qfidxaz5s742iv"))))
879 (build-system font-build-system)
880 (home-page "https://kldp.net/projects/unfonts/")
881 (synopsis "Collection of Korean fonts")
882 (description
883 "Un-fonts is a family of mainly Korean fonts.
884 It contains the following fonts and styles:
885
886 @enumerate
887 @item UnBatang, UnBatangBold: serif;
888 @item UnDotum, UnDotumBold: sans-serif;
889 @item UnGraphic, UnGraphicBold: sans-serif style;
890 @item UnDinaru, UnDinaruBold, UnDinaruLight;
891 @item UnPilgi, UnPilgiBold: script;
892 @item UnGungseo: cursive, brush-stroke.
893 @end enumerate\n")
894 (license license:gpl2+)))
895
896 (define-public font-fantasque-sans
897 (package
898 (name "font-fantasque-sans")
899 (version "1.8.0")
900 (source
901 (origin
902 (method git-fetch)
903 (uri (git-reference
904 (url "https://github.com/belluzj/fantasque-sans")
905 (commit (string-append "v" version))))
906 (file-name (git-file-name name version))
907 (sha256
908 (base32 "17l18488qyl9gdj80r8pcym3gp3jkgsdikwalnrp5rgvwidqx507"))))
909 (build-system gnu-build-system)
910 (native-inputs
911 `(("ttfautohint" ,ttfautohint)
912 ("woff-tools" ,woff-tools)
913 ("fontforge" ,fontforge)
914 ("woff2" ,woff2)
915 ("woff2:bin" ,woff2 "bin")
916 ("zip" ,zip)))
917 (arguments
918 `(#:tests? #f ;test target intended for visual inspection
919 #:phases (modify-phases %standard-phases
920 (delete 'configure) ;no configuration
921 (add-before 'build 'support-python@3
922 ;; Rather than use a Python 2 fontforge, replace Python-2-
923 ;; specific code with a passable Python 3 equivalent.
924 (lambda _
925 (substitute* "Scripts/fontbuilder.py"
926 (("xrange") "range"))
927 (substitute* "Scripts/features.py"
928 (("f\\.write\\(fea_code\\)")
929 "f.write(str.encode(fea_code))"))
930 #t))
931 (replace 'install
932 ;; 'make install' wants to install to ~/.fonts, install to
933 ;; output instead. Install only the "Normal" variant.
934 (lambda* (#:key outputs #:allow-other-keys)
935 (let* ((out (assoc-ref outputs "out"))
936 (font-dir (string-append out "/share/fonts"))
937 (truetype-dir (string-append font-dir "/truetype"))
938 (opentype-dir (string-append font-dir "/opentype"))
939 (webfonts-dir (string-append font-dir "/webfonts")))
940 (with-directory-excursion "Variants/Normal"
941 (copy-recursively "OTF" opentype-dir)
942 (for-each (lambda (f) (install-file f truetype-dir))
943 (find-files "." "\\.ttf$"))
944 (copy-recursively "Webfonts" webfonts-dir)
945 #t)))))))
946 (synopsis "Font family with a monospaced variant for programmers")
947 (description
948 "Fantasque Sans Mono is a programming font designed with functionality in
949 mind. The font includes a bold version and a good italic version with new
950 glyph designs, not just an added slant.")
951 (home-page "https://fontlibrary.org/en/font/fantasque-sans-mono")
952 (license license:silofl1.1)))
953
954 (define-public font-hack
955 (package
956 (name "font-hack")
957 (version "3.003")
958 (source (origin
959 (method url-fetch/zipbomb)
960 (uri (string-append
961 "https://github.com/source-foundry/Hack/releases/download/v"
962 version "/Hack-v" version "-ttf.zip"))
963 (sha256
964 (base32
965 "1b4hh8zkrx92m2v2vfkja1napb0192p0j3laqr0m018z3dih89hc"))))
966 (build-system font-build-system)
967 (home-page "https://sourcefoundry.org/hack/")
968 (synopsis "Typeface designed for source code")
969 (description
970 "Hack is designed to be a workhorse typeface for code. It expands upon
971 the Bitstream Vera & DejaVu projects, provides over 1,500 glyphs, and includes
972 Powerline support.")
973 (license
974 ;; See https://github.com/source-foundry/Hack/issues/271 for details.
975 (list license:expat ; the Hack modifications to...
976 license:public-domain ; ...the DejaVu modifications to...
977 (license:x11-style ; ...the Bitstream Vera typeface
978 "file://LICENSE.md" "Bitstream Vera License")))))
979
980 (define-public font-adobe-source-code-pro
981 (package
982 (name "font-adobe-source-code-pro")
983 (version "2.030R-ro-1.050R-it")
984 (source
985 (origin
986 (method git-fetch)
987 (uri (git-reference
988 (url "https://github.com/adobe-fonts/source-code-pro")
989 (commit (regexp-substitute/global
990 ;; The upstream tag uses "/" between the roman and italic
991 ;; versions, so substitute our "-" separator here.
992 #f "R-ro-" version 'pre "R-ro/" 'post))))
993 (file-name (git-file-name name version))
994 (sha256
995 (base32 "0hc5kflr8xzqgdm0c3gbgb1paygznxmnivkylid69ipc7wnicx1n"))))
996 (build-system font-build-system)
997 (home-page "https://github.com/adobe-fonts/source-code-pro")
998 (synopsis
999 "Monospaced font family for user interface and coding environments")
1000 (description
1001 "Source Code Pro is a set of monospaced OpenType fonts that have been
1002 designed to work well in user interface environments.")
1003 (license license:silofl1.1)))
1004
1005 (define-public font-adobe-source-sans-pro
1006 (package
1007 (name "font-adobe-source-sans-pro")
1008 (version "3.028R")
1009 (source
1010 (origin
1011 (method git-fetch)
1012 (uri (git-reference
1013 (url "https://github.com/adobe-fonts/source-sans-pro")
1014 (commit version)))
1015 (file-name (git-file-name name version))
1016 (sha256
1017 (base32 "0lgjqi4d5p1q1z00ad807v5qy4z54gmp7jpdaypc0rxk8czv6zq7"))))
1018 (build-system font-build-system)
1019 (home-page "https://github.com/adobe-fonts/source-sans-pro")
1020 (synopsis
1021 "Sans serif font family for user interface environments")
1022 (description
1023 "Source Sans Pro is a set of OpenType fonts that have been designed to
1024 work well in user interface (UI) environments.")
1025 (license license:silofl1.1)))
1026
1027 (define-public font-adobe-source-serif-pro
1028 (package
1029 (name "font-adobe-source-serif-pro")
1030 (version "3.001R")
1031 (source
1032 (origin
1033 (method git-fetch)
1034 (uri (git-reference
1035 (url "https://github.com/adobe-fonts/source-serif-pro")
1036 (commit version)))
1037 (file-name (git-file-name name version))
1038 (sha256
1039 (base32 "1z0pjvx0jpjwb8vzvc6l5gzlg0mqax4v9pizqcxx82l0ydlfh5bj"))))
1040 (build-system font-build-system)
1041 (home-page "https://github.com/adobe-fonts/source-serif-pro")
1042 (synopsis
1043 "Serif typeface to complement Source Sans Pro for setting text")
1044 (description
1045 "Source Serif Pro is a set of OpenType fonts to complement the Source
1046 Sans Pro family.")
1047 (license license:silofl1.1)))
1048
1049 (define-public font-fira-mono
1050 (package
1051 (name "font-fira-mono")
1052 (version "3.206")
1053 (source (origin
1054 (method url-fetch)
1055 (uri (string-append "https://carrois.com/downloads/fira_mono_3_2/"
1056 "FiraMonoFonts"
1057 (string-replace-substring version "." "")
1058 ".zip"))
1059 (sha256
1060 (base32
1061 "1z65x0dw5dq6rs6p9wyfrir50rlh95vgzsxr8jcd40nqazw4jhpi"))))
1062 (build-system font-build-system)
1063 (home-page "https://mozilla.github.io/Fira/")
1064 (synopsis "Mozilla's monospace font")
1065 (description "This is the typeface used by Mozilla in Firefox OS.")
1066 (license license:silofl1.1)))
1067
1068 (define-public font-fira-sans
1069 (package
1070 (name "font-fira-sans")
1071 (version "4.202")
1072 (source (origin
1073 (method git-fetch)
1074 (uri (git-reference
1075 (url "https://github.com/mozilla/Fira")
1076 (commit version)))
1077 (file-name (git-file-name name version))
1078 (sha256
1079 (base32
1080 "116j26gdj5g1r124b4669372f7490vfjqw7apiwp2ggl0am5xd0w"))))
1081 (build-system font-build-system)
1082 (home-page "https://mozilla.github.io/Fira/")
1083 (synopsis "Mozilla's Fira Sans Font")
1084 (description "This is the typeface used by Mozilla in Firefox OS.")
1085 (license license:silofl1.1)))
1086
1087 (define-public font-fira-go
1088 (package
1089 (name "font-fira-go")
1090 (version "1.000")
1091 (source (origin
1092 (method git-fetch)
1093 (uri (git-reference
1094 (url "https://github.com/bBoxType/FiraGO")
1095 (commit version)))
1096 (file-name (git-file-name name version))
1097 (sha256
1098 (base32
1099 "10rcfg1fijv00yxv5n9l3lm0axhafa1irkg42zpmasd70flgg655"))))
1100 (build-system font-build-system)
1101 (home-page "https://github.com/bBoxType/FiraGO")
1102 (synopsis "Multilingual extension of the Fira Sans font family")
1103 (description "FiraGO is a multilingual extension of the Fira Sans font
1104 family. Based on the Fira Sans 4.3 glyph set, FiraGO adds support for the
1105 Arabic, Devanagari, Georgian, Hebrew and Thai scripts.")
1106 (license license:silofl1.1)))
1107
1108 (define-public font-fira-code
1109 (package
1110 (name "font-fira-code")
1111 (version "5.2")
1112 (source
1113 (origin
1114 (method url-fetch/zipbomb)
1115 (uri (string-append "https://github.com/tonsky/FiraCode/releases/"
1116 "download/" version
1117 "/Fira_Code_v" version ".zip"))
1118 (sha256
1119 (base32 "1zayrb6k0gd7xdvx7yx44dpip767q0bzhqwf4j6nf8nx02z746jj"))))
1120 (build-system font-build-system)
1121 (home-page "https://mozilla.github.io/Fira/")
1122 (synopsis "Monospaced font with programming ligatures")
1123 (description
1124 "Fira Code is an extension of the Fira Mono font containing a set of ligatures
1125 for common programming multi-character combinations. This is just a font rendering
1126 feature: underlying code remains ASCII-compatible. This helps to read and understand
1127 code faster. For some frequent sequences like .. or //, ligatures allow us to
1128 correct spacing.")
1129 (license license:silofl1.1)))
1130
1131 (define-public font-awesome
1132 (package
1133 (name "font-awesome")
1134 ;; XXX The build scripts of version 5 are not freely licensed and
1135 ;; so we have to stick with version 4 for now:
1136 ;; <https://bugs.gnu.org/32916>
1137 (version "4.7.0")
1138 (source (origin
1139 (method git-fetch)
1140 (uri (git-reference
1141 (url "https://github.com/FortAwesome/Font-Awesome")
1142 (commit (string-append "v" version))))
1143 (file-name (git-file-name name version))
1144 (sha256
1145 (base32
1146 "0w30y26jp8nvxa3iiw7ayl6rkza1rz62msl9xw3srvxya1c77grc"))))
1147 (build-system font-build-system)
1148 (arguments
1149 '(#:phases
1150 (modify-phases %standard-phases
1151 (replace 'install
1152 (lambda* (#:key outputs #:allow-other-keys)
1153 (let* ((out (assoc-ref outputs "out"))
1154 (source (string-append (getcwd) "/fonts"))
1155 (fonts (string-append out "/share/fonts")))
1156 (for-each (lambda (file)
1157 (install-file file (string-append fonts "/truetype")))
1158 (find-files source "\\.(ttf|ttc)$"))
1159 (for-each (lambda (file)
1160 (install-file file (string-append fonts "/opentype")))
1161 (find-files source "\\.(otf|otc)$"))
1162 #t))))))
1163 (home-page "https://fontawesome.com/")
1164 (synopsis "Font that contains a rich iconset")
1165 (description
1166 "Font Awesome is a full suite of pictographic icons for easy scalable
1167 vector graphics.")
1168 (license license:silofl1.1)))
1169
1170 (define-public font-tamzen
1171 (package
1172 (name "font-tamzen")
1173 (version "1.11.5")
1174 (source
1175 (origin
1176 (method git-fetch)
1177 (uri (git-reference
1178 (url "https://github.com/sunaku/tamzen-font")
1179 (commit (string-append "Tamzen-" version))))
1180 (file-name (git-file-name name version))
1181 (sha256
1182 (base32 "00x5fipzqimglvshhqwycdhaqslbvn3rl06jnswhyxfvz16ymj7s"))))
1183 (build-system trivial-build-system)
1184 (arguments
1185 `(#:modules ((guix build utils))
1186 #:builder
1187 (begin
1188 (use-modules (guix build utils))
1189
1190 (let* ((out (assoc-ref %outputs "out"))
1191 (font-dir (string-append out "/share/fonts/misc"))
1192 (psf-dir (string-append out "/share/kbd/consolefonts")))
1193 (chdir (assoc-ref %build-inputs "source"))
1194 (mkdir-p font-dir)
1195 (mkdir-p psf-dir)
1196 (for-each (lambda (pcf)
1197 (install-file pcf font-dir))
1198 (find-files "pcf" "\\.pcf$"))
1199 (for-each (lambda (psf)
1200 (install-file psf psf-dir))
1201 (find-files "psf" "\\.psf$"))
1202 #t))))
1203 (home-page "https://github.com/sunaku/tamzen-font")
1204 (synopsis "Monospaced bitmap font for console and X11")
1205 (description
1206 "Tamzen is a fork of the @code{Tamsyn} font. It is programmatically forked
1207 from @code{Tamsyn} version 1.11, backporting glyphs from older versions while
1208 deleting deliberately empty glyphs (which are marked as unimplemented) to
1209 allow secondary/fallback fonts to provide real glyphs at those codepoints.
1210
1211 The @code{TamzenForPowerline} fonts provide additional @code{Powerline} symbols,
1212 which are programmatically injected with @code{bitmap-font-patcher} and
1213 later hand-tweaked with the gbdfed(1) editor:
1214
1215 @enumerate
1216 @item all icons are expanded to occupy the maximum available space
1217 @item the branch of the fork icon ( U+E0A0) was made larger than the trunk
1218 @item for the newline icon ( U+E0A1), the @emph{N} was made larger at the bottom
1219 @item the keyhole in the padlock icon ( U+E0A2) was replaced with @emph{//} lines.
1220 @end enumerate\n")
1221 (license (license:non-copyleft "file://LICENSE"))))
1222
1223 (define-public font-comic-neue
1224 (package
1225 (name "font-comic-neue")
1226 (version "2.51")
1227 (source (origin
1228 (method url-fetch/zipbomb)
1229 (uri (string-append
1230 "http://www.comicneue.com/comic-neue-" version ".zip"))
1231 (sha256
1232 (base32
1233 "0883542v915crz98v1ij6smgy40dg6gxwsid3j5nbmmqjf69kpal"))))
1234 (build-system font-build-system)
1235 (arguments
1236 `(#:phases
1237 (modify-phases %standard-phases
1238 ;; Delete Mac OS X specific files. If not deleted, these cause
1239 ;; several hidden files to be installed.
1240 (add-before 'install 'delete-macosx-files
1241 (lambda _
1242 (delete-file-recursively "__MACOSX")
1243 #t))
1244 (add-after 'install 'install-conf
1245 (lambda* (#:key outputs #:allow-other-keys)
1246 (let ((conf-dir (string-append (assoc-ref outputs "out")
1247 "/share/fontconfig/conf.avail")))
1248 (mkdir-p conf-dir)
1249 (call-with-output-file
1250 (string-append conf-dir "/30-comic-neue.conf")
1251 (lambda (port)
1252 (format port "<?xml version=\"1.0\"?>
1253 <!DOCTYPE fontconfig SYSTEM \"fonts.dtd\">
1254 <fontconfig>
1255 <!-- If Comic Sans is missing, use Comic Neue instead. -->
1256 <alias>
1257 <family>Comic Sans MS</family>
1258 <prefer>
1259 <family>Comic Neue</family>
1260 </prefer>
1261 </alias>
1262 </fontconfig>\n"))))
1263 #t)))))
1264 (home-page "http://www.comicneue.com/")
1265 (synopsis "Font that fixes the shortcomings of Comic Sans")
1266 (description
1267 "Comic Neue is a font that attempts to create a respectable casual
1268 typeface, by mimicking Comic Sans while fixing its most obvious shortcomings.")
1269 (license license:silofl1.1)))
1270
1271 ;; When updating the version (and hash) of font-iosevka, also update the hash
1272 ;; of the Iosevka variants further below.
1273 ;; The following script downloads all Iosevka variants to the store and prints
1274 ;; their hash at the end.
1275 #|
1276 guix repl <<EOF
1277 (use-modules (guix base32)
1278 (guix download)
1279 (guix packages)
1280 (guix store)
1281 (gcrypt hash)
1282 (ice-9 string-fun)
1283 (gnu packages fonts))
1284
1285 (let ((new-version "7.0.3")
1286 (iosevka-hashes #nil)
1287 (iosevka-fails #nil))
1288 (for-each (lambda (font)
1289 (let ((file (download-to-store (open-connection)
1290 (string-replace-substring
1291 (origin-uri (package-source font))
1292 (package-version font)
1293 new-version))))
1294 (if file
1295 (set! iosevka-hashes
1296 (acons file (bytevector->nix-base32-string
1297 (file-sha256 file))
1298 iosevka-hashes))
1299 (set! iosevka-fails (cons font iosevka-fails)))))
1300 (list font-iosevka
1301 font-iosevka-slab
1302 font-iosevka-term
1303 font-iosevka-term-slab
1304 font-iosevka-aile
1305 font-iosevka-curly
1306 font-iosevka-curly-slab
1307 font-iosevka-etoile))
1308 (for-each (lambda (hash)
1309 (format #t "~a: ~a~%" (car hash) (cdr hash)))
1310 iosevka-hashes)
1311 (for-each (lambda (fail)
1312 (format #t "~a: failed to download latest version~%" fail))
1313 iosevka-fails))
1314 EOF
1315 |#
1316 (define-public font-iosevka
1317 (package
1318 (name "font-iosevka")
1319 (version "7.0.3")
1320 (source
1321 (origin
1322 (method url-fetch/zipbomb)
1323 (uri (string-append "https://github.com/be5invis/Iosevka"
1324 "/releases/download/v" version
1325 "/ttc-iosevka-" version ".zip"))
1326 (sha256
1327 (base32 "08n1c2j38vd1qrf18ilgvq6rl7z9yrsyq9ljf037yiw6zlphx4da"))))
1328 (build-system font-build-system)
1329 (home-page "https://be5invis.github.io/Iosevka/")
1330 (synopsis "Coders' typeface, built from code")
1331 (description
1332 "Iosevka is a slender monospace sans-serif or slab-serif typeface inspired
1333 by Pragmata Pro, M+, and PF DIN Mono, designed to be the ideal font for
1334 programming. Iosevka is completely generated from its source code.")
1335 (license (list license:silofl1.1 ;build artifacts (i.e., the fonts)
1336 license:bsd-3)))) ;supporting code
1337
1338 (define-public font-iosevka-slab
1339 (package
1340 (inherit font-iosevka)
1341 (name "font-iosevka-slab")
1342 (version (package-version font-iosevka))
1343 (source
1344 (origin
1345 (method url-fetch/zipbomb)
1346 (uri (string-append "https://github.com/be5invis/Iosevka"
1347 "/releases/download/v" version
1348 "/ttc-iosevka-slab-" version ".zip"))
1349 (sha256
1350 (base32 "1ggrbl8gi2hv8yiw7vw8cajlv7nkz8i975165cayyzppjlrfs3nr"))))))
1351
1352 (define-public font-iosevka-term
1353 (package
1354 (inherit font-iosevka)
1355 (name "font-iosevka-term")
1356 (version (package-version font-iosevka))
1357 (source
1358 (origin
1359 (method url-fetch/zipbomb)
1360 (uri (string-append "https://github.com/be5invis/Iosevka"
1361 "/releases/download/v" version
1362 "/ttf-iosevka-term-" version ".zip"))
1363 (sha256
1364 (base32 "1jmbp3hni99l92653b356nbmj45kd54kbl6c6ws1k5jxydrjglrh"))))
1365 (arguments
1366 `(#:phases
1367 (modify-phases %standard-phases
1368 (add-before 'install 'make-files-writable
1369 (lambda _
1370 (for-each make-file-writable (find-files "." ".*"))
1371 #t)))))))
1372
1373 (define-public font-iosevka-term-slab
1374 (package
1375 (inherit font-iosevka)
1376 (name "font-iosevka-term-slab")
1377 (version (package-version font-iosevka))
1378 (source
1379 (origin
1380 (method url-fetch/zipbomb)
1381 (uri (string-append "https://github.com/be5invis/Iosevka/"
1382 "releases/download/v" version "/"
1383 "ttf-iosevka-term-slab-" version ".zip"))
1384 (sha256
1385 (base32 "19fc6jbkv0aif6ds9ddxaarz2ambzln7y6k2qjsczwlbznr8cf09"))))
1386 (arguments
1387 `(#:phases
1388 (modify-phases %standard-phases
1389 (add-before 'install 'make-files-writable
1390 (lambda _
1391 (for-each make-file-writable (find-files "." ".*"))
1392 #t)))))))
1393
1394 (define-public font-iosevka-aile
1395 (package
1396 (inherit font-iosevka)
1397 (name "font-iosevka-aile")
1398 (version (package-version font-iosevka))
1399 (source
1400 (origin
1401 (method url-fetch/zipbomb)
1402 (uri (string-append "https://github.com/be5invis/Iosevka"
1403 "/releases/download/v" version
1404 "/ttc-iosevka-aile-" version ".zip"))
1405 (sha256
1406 (base32 "1bkrk4dqkj45fbaac2n61a5kwxs3bk6sdm5hanw7g2h4xb83fi8d"))))))
1407
1408 (define-public font-iosevka-curly
1409 (package
1410 (inherit font-iosevka)
1411 (name "font-iosevka-curly")
1412 (version (package-version font-iosevka))
1413 (source
1414 (origin
1415 (method url-fetch/zipbomb)
1416 (uri (string-append "https://github.com/be5invis/Iosevka/"
1417 "releases/download/v" version "/"
1418 "ttc-iosevka-curly-" version ".zip"))
1419 (sha256
1420 (base32 "12jdb38dlbwa58q0b0sf9sp1dcafzp9dcf71jf1wrlnn8047vxyx"))))))
1421
1422 (define-public font-iosevka-curly-slab
1423 (package
1424 (inherit font-iosevka)
1425 (name "font-iosevka-curly-slab")
1426 (version (package-version font-iosevka))
1427 (source
1428 (origin
1429 (method url-fetch/zipbomb)
1430 (uri (string-append "https://github.com/be5invis/Iosevka/"
1431 "releases/download/v" version "/"
1432 "ttc-iosevka-curly-slab-" version ".zip"))
1433 (sha256
1434 (base32 "0zn21bxyj0ni4vbdarwam2piixzvkdk769vg3k4fl3h03q56cj24"))))))
1435
1436 (define-public font-iosevka-etoile
1437 (package
1438 (inherit font-iosevka)
1439 (name "font-iosevka-etoile")
1440 (version (package-version font-iosevka))
1441 (source
1442 (origin
1443 (method url-fetch/zipbomb)
1444 (uri (string-append "https://github.com/be5invis/Iosevka"
1445 "/releases/download/v" version
1446 "/ttc-iosevka-etoile-" version ".zip"))
1447 (sha256
1448 (base32 "0lnpdvv20g2bg6rwl0gv83bkbgfmkbyfxshhpw9vprfs2g8k6lil"))))))
1449
1450 (define-public font-sarasa-gothic
1451 (package
1452 (name "font-sarasa-gothic")
1453 (version "0.31.2")
1454 (source
1455 (origin
1456 (method url-fetch)
1457 (uri (string-append "https://github.com/be5invis/Sarasa-Gothic"
1458 "/releases/download/v" version
1459 "/sarasa-gothic-ttc-" version ".7z"))
1460 (sha256
1461 (base32 "0p67qyhm266s6q17islqvwch807fy5slgp2symrl0z665vp6hycj"))))
1462 (build-system font-build-system)
1463 (arguments
1464 `(#:phases (modify-phases %standard-phases
1465 (replace 'unpack
1466 (lambda* (#:key source #:allow-other-keys)
1467 (mkdir "source")
1468 (chdir "source")
1469 (invoke "7z" "x" source))))))
1470 (native-inputs `(("p7zip" ,p7zip)))
1471 (home-page "https://github.com/be5invis/Sarasa-Gothic")
1472 (license license:silofl1.1)
1473 (synopsis "Sarasa Gothic / 更纱黑体 / 更紗黑體 / 更紗ゴシック / 사라사 고딕")
1474 (description
1475 "Sarasa Gothic is a programming font based on Iosevka and Source Han Sans,
1476 most CJK characters are same height, and double width as ASCII characters.")))
1477
1478 (define-public font-space-grotesk
1479 (package
1480 (name "font-space-grotesk")
1481 (version "2.0.0")
1482 (source
1483 (origin
1484 (method git-fetch)
1485 (uri (git-reference
1486 (url "https://github.com/floriankarsten/space-grotesk")
1487 (commit version)))
1488 (file-name (git-file-name name version))
1489 (sha256
1490 (base32 "1aiivn0rl7ydiyqvsr0fa2hx82h3br3x48w3100fcly23n0fdcby"))))
1491 (build-system font-build-system)
1492 ;; TODO: Package fontmake and gftools and build from source.
1493 (arguments
1494 `(#:phases
1495 (modify-phases %standard-phases
1496 (replace 'install-license-files
1497 (lambda* (#:key outputs #:allow-other-keys)
1498 (let* ((out (assoc-ref outputs "out"))
1499 (doc (string-append out "/share/doc/" ,name "-" ,version)))
1500 (install-file "OFL.txt" doc)
1501 #t))))))
1502 (home-page "https://floriankarsten.github.io/space-grotesk/")
1503 (synopsis "Proportional variant of the fixed-width Space Mono family")
1504 (description
1505 "Space Grotesk is a proportional sans-serif typeface variant based on Colophon
1506 Foundry's fixed-width Space Mono family. It retains the monospace's idiosyncratic
1507 details while optimizing for improved readability at non-display sizes.
1508
1509 Space Grotesk includes Latin Vietnamese, Pinyin, and all Western, Central, and
1510 South-Eastern European language support, as well as several OpenType features:
1511 old-style and tabular figures, superscript and subscript numerals, fractions,
1512 and stylistic alternates.")
1513 (license license:silofl1.1)))
1514
1515 (define-public font-go
1516 (let ((commit "f03a046406d4d7fbfd4ed29f554da8f6114049fc")
1517 (revision "1"))
1518 (package
1519 (name "font-go")
1520 (version (string-append "20170330-" revision "." (string-take commit 7)))
1521 (source (origin
1522 (file-name (string-append "go-image-" version "-checkout"))
1523 (method git-fetch)
1524 (uri (git-reference
1525 (url "https://go.googlesource.com/image")
1526 (commit commit)))
1527 (sha256
1528 (base32
1529 "1aq6mnjayks55gd9ahavk6jfydlq5lm4xm0xk4pd5sqa74p5p74d"))))
1530 (build-system font-build-system)
1531 (arguments
1532 `(#:phases
1533 (modify-phases %standard-phases
1534 (add-before 'install 'chdir
1535 (lambda _
1536 (chdir "font/gofont/ttfs")
1537 #t)))))
1538 (home-page "https://blog.golang.org/go-fonts")
1539 (synopsis "The Go font family")
1540 (description
1541 "The Go font family is a set of WGL4 TrueType fonts from the Bigelow &
1542 Holmes type foundry, released under the same license as the Go programming
1543 language. It includes a set of proportional, sans-serif fonts, and a set of
1544 monospace, slab-serif fonts.")
1545 (license license:bsd-3))))
1546
1547 (define-public font-google-material-design-icons
1548 (package
1549 (name "font-google-material-design-icons")
1550 (version "3.0.1")
1551 (source (origin
1552 (method git-fetch)
1553 (uri (git-reference
1554 (url "https://github.com/google/material-design-icons")
1555 (commit version)))
1556 (file-name (git-file-name name version))
1557 (sha256
1558 (base32
1559 "17q5brcqyyc8gbjdgpv38p89s60cwxjlwy2ljnrvas5cj0s62np0"))))
1560 (build-system font-build-system)
1561 (home-page "https://google.github.io/material-design-icons")
1562 (synopsis "Icon font of Google Material Design icons")
1563 (description
1564 "Material design system icons are simple, modern, friendly, and sometimes
1565 quirky. Each icon is created using our design guidelines to depict in simple
1566 and minimal forms the universal concepts used commonly throughout a UI.
1567 Ensuring readability and clarity at both large and small sizes, these icons
1568 have been optimized for beautiful display on all common platforms and display
1569 resolutions.")
1570 (license license:asl2.0)))
1571
1572 (define-public font-opendyslexic
1573 (package
1574 (name "font-opendyslexic")
1575 (version "0.91.12")
1576 (source
1577 (origin
1578 (method url-fetch/zipbomb)
1579 (uri (string-append "https://github.com/antijingoist/opendyslexic/"
1580 "releases/download/v" version
1581 "/opendyslexic-0.910.12-rc2-2019.10.17.zip"))
1582 (sha256
1583 (base32
1584 "11ml7v4iyf3hr0fbnkwz8afb8vi58wbcfnmn4gyvrwh9jk5pybdr"))))
1585 (build-system font-build-system)
1586 (native-inputs `(("unzip" ,unzip)))
1587 (home-page "https://opendyslexic.org/")
1588 (synopsis "Font for dyslexics and high readability")
1589 (description "OpenDyslexic is a font designed to help readability for some
1590 of the symptoms of dyslexia. Letters have heavy weighted bottoms to provide
1591 an indication of orientation to make it more difficult to confuse with other
1592 similar letters. Consistently weighted bottoms can also help reinforce the
1593 line of text. The unique shapes of each letter can help prevent flipping and
1594 swapping. The italic style for OpenDyslexic has been crafted to be used for
1595 emphasis while still being readable.")
1596 (license license:silofl1.1)))
1597
1598 (define-public font-open-dyslexic
1599 (deprecated-package "font-open-dyslexic" font-opendyslexic))
1600
1601 (define-public font-openmoji
1602 (package
1603 (name "font-openmoji")
1604 (version "12.4.0")
1605 (source
1606 (origin
1607 (method url-fetch/zipbomb)
1608 (uri
1609 (string-append "https://github.com/hfg-gmuend/openmoji/"
1610 "releases/download/" version
1611 "/openmoji-font.zip"))
1612 (sha256
1613 (base32
1614 "0wvvg5vnc950h8v23wfgjyi7rv89mgm5hqq6viqv0bxcc3azglxb"))))
1615 (build-system font-build-system)
1616 (native-inputs
1617 `(("unzip" ,unzip)))
1618 (home-page "https://openmoji.org")
1619 (synopsis "Font for rendering emoji characters")
1620 (description
1621 "This package provides the OpenMoji font in both color and black
1622 variants.")
1623 (license license:cc-by-sa4.0)))
1624
1625 (define-public font-dosis
1626 (package
1627 (name "font-dosis")
1628 (version "1.7")
1629 (source
1630 (origin
1631 (method url-fetch/zipbomb)
1632 (uri (string-append "https://web.archive.org/web/20180228233737/"
1633 "https://www.impallari.com/media/releases/dosis-"
1634 "v" version ".zip"))
1635 (sha256
1636 (base32 "1qhci68f68mf87jd69vjf9qjq3wydgw1q7ivn3amjb65ls1s0c4s"))))
1637 (build-system font-build-system)
1638 (home-page (string-append "https://web.archive.org/web/20180228233737/"
1639 "https://www.impallari.com/dosis"))
1640 (synopsis "Very simple, rounded, sans serif family")
1641 (description
1642 "Dosis is a very simple, rounded, sans serif family.
1643 The lighter weights are minimalist. The bolder weights have more personality.
1644 The medium weight is nice and balanced. The overall result is a family
1645 that's clean and modern, and can express a wide range of voices & feelings.
1646 It comes in 7 incremental weights:
1647 ExtraLight, Light, Book, Medium, Semibold, Bold & ExtraBold")
1648 (license license:silofl1.1)))
1649
1650 (define-public font-culmus
1651 (package
1652 (name "font-culmus")
1653 (version "0.133")
1654 (source
1655 (origin
1656 (method url-fetch)
1657 (uri (string-append "https://sourceforge.net/projects/"
1658 "culmus/files/culmus/" version "/culmus-src-"
1659 version ".tar.gz"))
1660 (sha256
1661 (base32
1662 "02akysgsqhi15cck54xcacm16q5raf4l7shgb8fnj7xr3c1pbfyp"))))
1663 (build-system font-build-system)
1664 (arguments
1665 `(#:phases
1666 (modify-phases %standard-phases
1667 (add-before 'install 'build
1668 (lambda _
1669 (let ((compile
1670 (lambda (name ext)
1671 (invoke
1672 "fontforge" "-lang=ff"
1673 "-c" (string-append "Open('" name "');"
1674 "Generate('"
1675 (basename name "sfd") ext
1676 "')")))))
1677 ;; This part based on the fonts shipped in the non-source package.
1678 (for-each (lambda (name)
1679 (compile name "ttf"))
1680 (find-files "." "^[^Nachlieli].*\\.sfd$"))
1681 (for-each (lambda (name)
1682 (compile name "otf"))
1683 (find-files "." "^Nachlieli.*\\.sfd$"))
1684 #t))))))
1685 (native-inputs
1686 `(("fontforge" ,fontforge)))
1687 (home-page "http://culmus.sourceforge.net/")
1688 (synopsis "TrueType Hebrew Fonts for X11")
1689 (description "14 Hebrew trivial families. Contain ASCII glyphs from various
1690 sources. Those families provide a basic set of a serif (Frank Ruehl), sans
1691 serif (Nachlieli) and monospaced (Miriam Mono) trivials. Also included Miriam,
1692 Drugulin, Aharoni, David, Hadasim etc. Cantillation marks support is
1693 available in Keter YG.")
1694 (license license:gpl2))) ; consult the LICENSE file included
1695
1696 (define-public font-lohit
1697 (package
1698 (name "font-lohit")
1699 (version "20140220")
1700 (source
1701 (origin
1702 (method url-fetch)
1703 (uri (string-append "https://releases.pagure.org/lohit/lohit-ttf-"
1704 version ".tar.gz"))
1705 (sha256
1706 (base32
1707 "1rmgr445hw1n851ywy28csfvswz1i6hnc8mzp88qw2xk9j4dn32d"))))
1708 (build-system font-build-system)
1709 (home-page "https://pagure.io/lohit")
1710 (synopsis "Lohit TrueType Indic fonts")
1711 (description "Lohit is a font family designed to cover Indic scripts.
1712 Lohit supports the Assamese, Bengali, Devanagari (Hindi, Kashmiri, Konkani,
1713 Maithili, Marathi, Nepali, Sindhi, Santali, Bodo, Dogri languages), Gujarati,
1714 Kannada, Malayalam, Manipuri, Oriya, Punjabi, Tamil and Telugu scripts.")
1715 (license license:silofl1.1)))
1716
1717 (define-public font-blackfoundry-inria
1718 (package
1719 (name "font-blackfoundry-inria")
1720 (version "1.200")
1721 (home-page "https://github.com/BlackFoundry/InriaFonts")
1722 (source (origin
1723 (method git-fetch)
1724 (uri (git-reference
1725 (url home-page)
1726 (commit (string-append "v" version))))
1727 (sha256
1728 (base32
1729 "06775y99lyh6hj5hzvrx56iybdck8a8xfqkipqd5c4cldg0a9hh8"))
1730 (file-name (string-append name "-" version "-checkout"))))
1731 ;; XXX: There are .ufo directories (the "source") so in theory we should
1732 ;; be able to rebuild TTF and OTF files with FontForge. Unfortunately a
1733 ;; command like:
1734 ;;
1735 ;; fontforge -lang=ff -c "Open('InriaSans-Regular.ufo'); Generate('foo.ttf');"
1736 ;;
1737 ;; segfaults in '_UFOLoadGlyph', which calls out to libpython. :-/
1738 ;; In the meantime we ship the precompiled OTF and TTF files.
1739 (build-system font-build-system)
1740 (synopsis "Inria Sans and Inria Serif type family")
1741 (description
1742 "Inria Sans and Inria Serif are the two members of a type family designed
1743 for Inria, a public research institute in computer science and mathematics.")
1744 (license license:silofl1.1)))
1745
1746 (define-public font-sil-gentium
1747 (package
1748 (name "font-sil-gentium")
1749 (version "5.000")
1750 (source (origin
1751 (method url-fetch)
1752 (uri (string-append
1753 "https://software.sil.org/downloads/r/gentium/GentiumPlus-"
1754 version ".zip"))
1755 (sha256
1756 (base32
1757 "0m7189870hha217n1vgpmf89mwggrxkh679ffi1lxpnjggqi2n9k"))))
1758 ;; Note: The zip file provides TTF files only, but the developer release,
1759 ;; which contains additional files, has a 'SOURCES.txt' file that says
1760 ;; that "the primary source files for the fonts are the fonts themselves".
1761 ;; Thus it looks like the TTF can be considered source.
1762 (build-system font-build-system)
1763 (synopsis "Serif font for the Cyrillic, Greek, and Latin alphabets")
1764 (description
1765 "Gentium is a typeface family designed to enable the diverse ethnic
1766 groups around the world who use the Latin, Cyrillic and Greek scripts to
1767 produce readable, high-quality publications. The font comes with regular and
1768 italics shapes. This package provides only TrueType files (TTF).")
1769 (home-page "https://software.sil.org/gentium/")
1770 (license license:silofl1.1)))
1771
1772 (define-public font-sil-andika
1773 (package
1774 (name "font-sil-andika")
1775 (version "5.000")
1776 (source (origin
1777 (method url-fetch)
1778 (uri (string-append
1779 "https://software.sil.org/downloads/r/andika/Andika-"
1780 version ".zip"))
1781 (sha256
1782 (base32
1783 "01zm7p32gxfwmv7h3cfj2vx59846w2y6rxqy67grn2dyjh8pljv0"))))
1784 ;; As for Gentium (see above), the TTF files are considered source.
1785 (build-system font-build-system)
1786 (synopsis "Sans serif font designed especially for literacy use")
1787 (description
1788 "Andika SIL is a sans serif, Unicode-compliant font designed especially
1789 for literacy use, taking into account the needs of beginning readers. The
1790 focus is on clear, easy-to-perceive letterforms that will not be readily
1791 confused with one another. This package provides only TrueType files (TTF).")
1792 (home-page "https://software.sil.org/andika/")
1793 (license license:silofl1.1)))
1794
1795 (define-public font-sil-charis
1796 (package
1797 (name "font-sil-charis")
1798 (version "5.000")
1799 (source (origin
1800 (method url-fetch)
1801 (uri (string-append
1802 "https://software.sil.org/downloads/r/charis/CharisSIL-"
1803 version ".zip"))
1804 (sha256
1805 (base32
1806 "1zcvw37f1a7gkml3yfm6hxh93844llm7xj4w52600qq3ndrm8gjy"))))
1807 ;; As for Gentium (see above), the TTF files are considered source.
1808 (build-system font-build-system)
1809 (synopsis "Serif font for the Cyrillic and Latin alphabets")
1810 (description
1811 "Charis SIL is a Unicode-based font family that supports the wide range
1812 of languages that use the Latin and Cyrillic scripts. It is specially
1813 designed to make long texts pleasant and easy to read, even in less than ideal
1814 reproduction and display environments. This package provides only TrueType
1815 files (TTF).")
1816 (home-page "https://software.sil.org/charis/")
1817 (license license:silofl1.1)))
1818
1819 (define-public font-mononoki
1820 (package
1821 (name "font-mononoki")
1822 (version "1.3")
1823 (source (origin
1824 (method git-fetch)
1825 (uri (git-reference
1826 (url "https://github.com/madmalik/mononoki/")
1827 (commit version)))
1828 (sha256
1829 (base32
1830 "07gh84iw84g8fha3gx4yjyl1rsksqhy2kk38f01m048sgjp6ww5j"))
1831 (file-name (git-file-name name version))))
1832 (build-system font-build-system)
1833 (arguments
1834 `(#:phases
1835 (modify-phases %standard-phases
1836 (add-after 'unpack 'make-files-writable
1837 (lambda _
1838 (for-each make-file-writable (find-files ".")))))))
1839 (synopsis "Font for programming and code review")
1840 (description
1841 "Mononoki is a typeface by Matthias Tellen, created to enhance code
1842 formatting.")
1843 (home-page "https://madmalik.github.io/mononoki/")
1844 (license license:silofl1.1)))
1845
1846 (define-public font-public-sans
1847 (package
1848 (name "font-public-sans")
1849 (version "1.008")
1850 (source
1851 (origin
1852 (method git-fetch)
1853 (uri (git-reference
1854 (url "https://github.com/uswds/public-sans")
1855 (commit (string-append "v" version))))
1856 (file-name (git-file-name name version))
1857 (sha256
1858 (base32 "1qhyxbjv1rnydfpqzd18fbiyz75p4sabphy8yj07hyq0hidp5xsf"))))
1859 (build-system font-build-system)
1860 (home-page "https://public-sans.digital.gov/")
1861 (synopsis "Neutral typeface for interfaces, text, and headings")
1862 (description
1863 "Public Sans is a strong, neutral, sans-serif typeface for text or
1864 display based on Libre Franklin.")
1865 (license license:silofl1.1)))
1866
1867 (define-public font-hermit
1868 (package
1869 (name "font-hermit")
1870 (version "2.0")
1871 (source (origin
1872 (method url-fetch/tarbomb)
1873 (uri (string-append "https://pcaro.es/d/otf-hermit-" version
1874 ".tar.gz"))
1875 (sha256
1876 (base32
1877 "09rmy3sbf1j1hr8zidighjgqc8kp0wsra115y27vrnlf10ml6jy0"))))
1878 (build-system font-build-system)
1879 (arguments
1880 `(#:tests? #f))
1881 (home-page "https://pcaro.es/p/hermit/")
1882 (synopsis "Monospace font")
1883 (description
1884 "Hermit is a monospace font designed to be clear, pragmatic and very
1885 readable. Its creation has been focused on programming. Every glyph was
1886 carefully planned and calculated, according to defined principles and rules.
1887 For this reason, Hermit is coherent and regular.
1888
1889 Symbols stand out from common text. Dots and commas are easily seen, and
1890 operators are clear even when not surrounded by spaces. Similar characters
1891 have been designed to be very distinguishable from each other.")
1892 (license license:silofl1.1)))
1893
1894 (define-public font-dseg
1895 (package
1896 (name "font-dseg")
1897 (version "0.46")
1898 (source
1899 (origin
1900 (method url-fetch/zipbomb)
1901 (uri
1902 (string-append "https://github.com/keshikan/DSEG/"
1903 "releases/download/v" version
1904 "/fonts-DSEG_v"
1905 (string-concatenate (string-split version #\.))
1906 ".zip"))
1907 (sha256
1908 (base32 "13133kpa1ndsji9yq5ppkds5yq2y094qvrv2f83ah74p40sz9hm6"))))
1909 (build-system font-build-system)
1910 (arguments
1911 `(#:phases
1912 (modify-phases %standard-phases
1913 (replace 'install
1914 (lambda* (#:key outputs #:allow-other-keys)
1915 (let* ((out (assoc-ref outputs "out"))
1916 (font-dir (string-append out "/share/fonts"))
1917 (truetype-dir (string-append font-dir "/truetype")))
1918 (with-directory-excursion
1919 (string-append "fonts-DSEG_v"
1920 (apply string-append (string-split ,version
1921 #\.)))
1922 (for-each (lambda (f) (install-file f truetype-dir))
1923 (find-files "." "\\.ttf$"))
1924 #t)))))))
1925 (home-page "https://www.keshikan.net/fonts-e.html")
1926 (synopsis "DSEG: 7-segment and 14-segment fonts")
1927 (description
1928 "DSEG is a font family that imitates seven- and fourteen-segment LCD
1929 displays (7SEG, 14SEG). DSEG includes the roman alphabet and symbol glyphs.
1930 This package provides the TrueType fonts.")
1931 (license license:silofl1.1)))
1932
1933 (define-public font-jetbrains-mono
1934 (package
1935 (name "font-jetbrains-mono")
1936 (version "2.221")
1937 (source
1938 (origin
1939 (method url-fetch)
1940 (uri
1941 (string-append "https://github.com/JetBrains/JetBrainsMono/releases/"
1942 "download/v" version "/JetBrainsMono-" version ".zip"))
1943 (sha256
1944 (base32 "1acrgv2q9vxviirpi01xy67pkkswyssw4dn5pgyvrnjxr85cgjrg"))))
1945 (build-system font-build-system)
1946 (arguments
1947 `(#:phases
1948 (modify-phases %standard-phases
1949 (add-before 'install-license-files 'change-directory-to-archive-root
1950 ;; Find the license file outside of the default subdirectory.
1951 (lambda _
1952 (chdir "..")
1953 #t))
1954 (replace 'install-license-files
1955 (lambda* (#:key outputs #:allow-other-keys)
1956 (let* ((out (assoc-ref outputs "out"))
1957 (doc (string-append out "/share/doc/" ,name "-" ,version)))
1958 (install-file "OFL.txt" doc)
1959 #t))))))
1960 (home-page "https://www.jetbrains.com/lp/mono/")
1961 (synopsis "Mono typeface for developers")
1962 (description
1963 "JetBrains Mono is a font family dedicated to developers. JetBrains
1964 Mono’s typeface forms are simple and free from unnecessary details. Rendered
1965 in small sizes, the text looks crisper.")
1966 (license license:asl2.0)))
1967
1968 (define-public font-juliamono
1969 (package
1970 (name "font-juliamono")
1971 (version "0.031")
1972 (source
1973 (origin
1974 (method git-fetch)
1975 (uri (git-reference
1976 (url "https://github.com/cormullion/juliamono")
1977 (commit (string-append "v" version))))
1978 (file-name (git-file-name name version))
1979 (sha256
1980 (base32 "0pcz2qaw0g0gak4plvhgg3m76h4gamffa373r52dzx0qwn1i1cf1"))))
1981 (build-system font-build-system)
1982 (arguments
1983 `(#:phases
1984 (modify-phases %standard-phases
1985 (add-after 'unpack 'delete-website-folder
1986 ;; This folder contains other unrelated fonts.
1987 (lambda _
1988 (delete-file-recursively "website")
1989 #t)))))
1990 (home-page "https://github.com/cormullion/juliamono")
1991 (synopsis "Monospaced font for programming")
1992 (description
1993 "JuliaMono is a monospaced font for scientific and technical computing,
1994 designed to work for programming in the Julia Programming Language and other
1995 text environments.")
1996 (license license:silofl1.1)))
1997
1998 (define-public font-vazir
1999 (package
2000 (name "font-vazir")
2001 (version "22.1.0")
2002 (source
2003 (origin
2004 (method url-fetch/zipbomb)
2005 (uri
2006 (string-append "https://github.com/rastikerdar/vazir-font/"
2007 "releases/download/v" version
2008 "/vazir-font-v" version ".zip"))
2009 (sha256
2010 (base32
2011 "0w3gwb5q33x5llw7cfs8qhaxr4ssg6rsx4b9day3993zn24xq031"))))
2012 (build-system font-build-system)
2013 (home-page "https://rastikerdar.github.io/vazir-font/")
2014 (synopsis "Vazir Persian typeface")
2015 (description
2016 "Vazir is a beautiful and elegant Persian typeface originally based on
2017 DejaVu, and comes in six variants: Thin, Light, Normal, Medium, Bold, and
2018 Black. This package provides four versions of Vazir:
2019
2020 @itemize
2021 @item @code{Vazir}: The main version; includes Latin glyphs from Roboto.
2022 @item @code{Vazir-FD}: Like @code{Vazir}, but (always) uses Farsi digit glyphs
2023 instead of Latin ones.
2024 @item @code{Vazir-WOL}: Like @code{Vazir}, but without Roboto's Latin glyphs.
2025 @item @code{Vazir-FD-WOL}: Combination of @code{Vazir-FD} and @code{Vazir-WOL}:
2026 always uses Farsi digits, and does not include Latin glyphs from Roboto.
2027 @end itemize\n")
2028 (license
2029 ;; See https://github.com/rastikerdar/vazir-font/blob/master/LICENSE for
2030 ;; details.
2031 (list license:public-domain ; the Vazir modifications to DejaVu
2032 ; and the DejaVu modifications to...
2033 (license:x11-style ; ...the Bitstream Vera typeface
2034 "file://LICENSE" "Bitstream Vera License")
2035 license:asl2.0)))) ; Latin glyphs from Roboto
2036
2037 (define-public font-victor-mono
2038 (package
2039 (name "font-victor-mono")
2040 (version "1.4.2")
2041 (source (origin
2042 (method url-fetch/zipbomb)
2043 (uri (string-append
2044 "https://github.com/rubjo/victor-mono/raw/v"
2045 version
2046 "/public/VictorMonoAll.zip"))
2047 (sha256 "01260vja0d22mcvkzspf0xnl7b851r0265arqkm12q1vagzyxvkm")))
2048 (build-system font-build-system)
2049 (synopsis "Font with support for italics and ligatures")
2050 (description "Victor Mono is an open-source monospaced font with
2051 optional semi-connected cursive italics and programming symbol ligatures.
2052 This package provides only TrueType files (TTF).
2053 It comes in seven weights and Roman, Italic and Oblique styles.")
2054 (home-page "https://rubjo.github.io/victor-mono/")
2055 (license license:expat)))
2056
2057 (define-public font-meera-inimai
2058 (package
2059 (name "font-meera-inimai")
2060 (version "2.0")
2061 (source
2062 (origin
2063 (method git-fetch)
2064 (uri (git-reference
2065 (url "https://gitlab.com/smc/meera-inimai")
2066 (commit "0f39cdd7dbf1b6d1bed7df85834d33789dce20a7")))
2067 (file-name (git-file-name name version))
2068 (sha256
2069 (base32
2070 "1x5mhrpx24imh0r4l83mkaiszxgwi1q4ppyyvq63h3ddwk20cwdg"))))
2071 (build-system gnu-build-system)
2072 (native-inputs
2073 `(("fontforge" ,fontforge)
2074 ("harfbuzz" ,harfbuzz "bin")
2075 ("python" ,python-minimal)
2076 ("python-fonttools" ,python-fonttools)
2077 ("python-brotli" ,python-brotli)))
2078 (arguments
2079 `(#:make-flags (list "PY=python3"
2080 (string-append "DESTDIR=" %output)
2081 "fontpath=/share/fonts/truetype")
2082 #:test-target "test"
2083 #:phases
2084 (modify-phases %standard-phases
2085 (delete 'configure))))
2086 (home-page "https://gitlab.com/smc/meera-inimai")
2087 (synopsis "Meera Inimai Tamil font")
2088 (description "Meera Inimai is a Unicode font for the Tamil Script. Meera
2089 Inimai is a san-serif typeface. It is best used as a screen font for body
2090 text. It is also useful for body text of printed pamphlets or single page
2091 designs. Meera Inimai can be thought of as similar to Helvetica and its
2092 variation Arial. Tamil characters are inherently vertically-elliptical. The
2093 orthography of Roman glyphs of Meera Inimai are also based on this
2094 characteristic so that they sit smoothly with the Tamil glyphs.")
2095 (license license:silofl1.1)))
2096
2097 (define-public font-ipa-mj-mincho
2098 (package
2099 (name "font-ipa-mj-mincho")
2100 (version "006.01")
2101 (source (origin
2102 (method url-fetch/zipbomb)
2103 (uri (string-append "https://mojikiban.ipa.go.jp/OSCDL/IPAmjMincho"
2104 "/ipamjm" (string-join (string-split version #\.) "")
2105 ".zip"))
2106 (sha256
2107 (base32
2108 "0s2vs9p7vd7ajnn6c2icli069sjwi4d45a39fczqpwwn507lwj9m"))))
2109 (build-system font-build-system)
2110 (arguments
2111 `(#:phases
2112 (modify-phases %standard-phases
2113 (add-after 'install 'install-doc
2114 (lambda* (#:key outputs #:allow-other-keys)
2115 (let ((doc-dir (string-append (assoc-ref outputs "out")
2116 "/share/doc/font-ipa-mj-mincho")))
2117 (mkdir-p doc-dir)
2118 (copy-file "Readme.txt" (string-append doc-dir "/README"))
2119 (copy-file "IPA_Font_License_Agreement_v1.0.txt"
2120 (string-append doc-dir "/LICENSE"))
2121 #t))))))
2122 (home-page "https://mojikiban.ipa.go.jp/1300.html")
2123 (synopsis "Japanese font from the Information-technology Promotion Agency")
2124 (description "MJM Mincho is a font that aims at, for example, allowing you
2125 to write people's name, or for formal business situations where it is necessary
2126 to have a detailed and proper character style.")
2127 (license license:ipa)))
2128
2129 (define-public font-fontna-yasashisa-antique
2130 (package
2131 (name "font-fontna-yasashisa-antique")
2132 (version "0")
2133 (source (origin
2134 (method url-fetch)
2135 (uri (string-append "http://flop.sakura.ne.jp/font/fontna-op/"
2136 "YasashisaAntiqueFont.zip"))
2137 (sha256
2138 (base32
2139 "1hl2qk3lzmh9h2vv5647vhlslkn3vqbq9rqgp4wzybajafx8c6nj"))))
2140 (build-system font-build-system)
2141 (arguments
2142 `(#:phases
2143 (modify-phases %standard-phases
2144 ;; encoding issues cause many phases to fail
2145 (add-after 'unpack 'fix-encoding
2146 (lambda _
2147 ;; This directory, TrueType(サポート外), is not properly encoded,
2148 ;; which makes rename-file fail. Instead, use shell globbing to
2149 ;; select and rename the directory.
2150 (invoke "sh" "-c" "mv TrueType* TrueType")
2151 #t)))))
2152 (native-inputs
2153 `(("bash" ,bash-minimal)
2154 ("coreutils" ,coreutils)))
2155 (home-page "http://www.fontna.com/blog/1122/")
2156 (synopsis "Mix font of gothic kanji and minchou kana")
2157 (description "Antique is a font that is popular to write manga bubbles,
2158 dictionary headwords and picture books. This font reduces the thickness
2159 differences in characters compared to other antique fonts.")
2160 (license (list license:ipa
2161 (license:non-copyleft "mplus-TESTFLIGHT-057/LICENSE_E")))))
2162
2163 (define-public font-mplus-testflight
2164 (package
2165 (name "font-mplus-testflight")
2166 (version "063a")
2167 (source (origin
2168 (method url-fetch)
2169 (uri (string-append "https://osdn.net/frs/redir.php?"
2170 "m=gigenet&f=mplus-fonts%2F62344%2Fmplus-TESTFLIGHT-"
2171 version ".tar.xz"))
2172 (file-name (string-append name "-" version ".tar.xz"))
2173 (sha256
2174 (base32
2175 "0yfx9i77638yrgclnwwl4af79ri3vifi1nslwi6mgzva9cxrgss4"))))
2176 (build-system font-build-system)
2177 (home-page "https://mplus-fonts.osdn.jp/index.html")
2178 (synopsis "Japanese font collection")
2179 (description "M+ is a collection of Japanese fonts with all Latin glyph
2180 sets, with Basic Latin, Latin-1 Supplement, Latin Extended-A, and IPA
2181 Extensions. In addition to European letters used in many Western European
2182 languages, it contains Japanese characters, including Kana glyphs and more
2183 than 5,300 Kanji glyphs, as well major international phonetic symbols,
2184 operators and special symbols.")
2185 (license (license:non-copyleft "file:///LICENSE_E"))))
2186
2187 (define-public font-catamaran
2188 (let ((commit "7559b4906f9c9148fb22c6f89508c3053a78a296")
2189 (revision "1"))
2190 (package
2191 (name "font-catamaran")
2192 (version (git-version "0.0.0" revision commit))
2193 (source
2194 (origin
2195 (method git-fetch)
2196 (uri (git-reference
2197 (url "https://github.com/VanillaandCream/Catamaran-Tamil")
2198 (commit commit)))
2199 (file-name (git-file-name name version))
2200 (sha256
2201 (base32
2202 "1wpp41l7j2kpgnyavhgxcc5wp852a4wqsnwravn39gp980s84yxw"))))
2203 (build-system font-build-system)
2204 (home-page "https://github.com/VanillaandCream/Catamaran-Tamil")
2205 (synopsis "9 weight Tamil and Latin type")
2206 (description "Catamaran is a 9 weight Tamil and Latin type. Catamaran
2207 is a stylish type with a polished yet relaxed feel. Its versatility makes it
2208 suitable for a wide range of uses.")
2209 (license license:silofl1.1))))
2210
2211 (define-public font-cozette
2212 (package
2213 (name "font-cozette")
2214 (version "1.9.3")
2215 (source (origin
2216 (method git-fetch)
2217 (uri (git-reference
2218 (url "https://github.com/slavfox/Cozette")
2219 (commit (string-append "v." version))))
2220 (file-name (git-file-name name version))
2221 (sha256
2222 (base32
2223 "0mb5ns6705piwgjw1g10czsakhyc1jnvxh342ixw8m5f1gf4595n"))))
2224 (build-system font-build-system)
2225 (arguments
2226 `(#:phases
2227 (modify-phases %standard-phases
2228 (add-before 'install 'build
2229 (lambda _
2230 (invoke "python3" "build.py" "fonts"))))))
2231 (native-inputs
2232 `(("fontforge" ,fontforge)
2233 ("python" ,python)
2234 ("python-crayons" ,python-crayons)
2235 ("python-fonttools" ,python-fonttools)
2236 ("python-numpy" ,python-numpy)
2237 ("python-pillow" ,python-pillow)))
2238 (home-page "https://github.com/slavfox/Cozette")
2239 (synopsis "Bitmap programming font")
2240 (description "Cozette is a 6x13px (bounding box) bitmap font based on Dina
2241 and heavily inspired by Creep.")
2242 (license license:expat)))
2243
2244 (define-public font-montserrat
2245 (package
2246 (name "font-montserrat")
2247 (version "7.210")
2248 (source (origin
2249 (method git-fetch)
2250 (uri (git-reference
2251 (url "https://github.com/JulietaUla/Montserrat")
2252 (commit (string-append "v" version))))
2253 (file-name (git-file-name name version))
2254 (sha256
2255 (base32
2256 "0jn1yvfamq5xazw85sfnxgriji60g7mkss9mkf8d0117vdk838bn"))))
2257 (build-system font-build-system)
2258 (home-page "https://github.com/JulietaUla/Montserrat")
2259 (synopsis "The Montserrat font")
2260 (description "The old posters and signs in the traditional Montserrat
2261 neighborhood of Buenos Aires inspired Julieta Ulanovsky to design this
2262 typeface and rescue the beauty of urban typography that emerged in the first
2263 half of the twentieth century.")
2264 (license license:silofl1.1)))
2265
2266 (define-public font-overpass
2267 (package
2268 (name "font-overpass")
2269 (version "3.0.5")
2270 (source
2271 (origin
2272 (method git-fetch)
2273 (uri (git-reference
2274 (url "https://github.com/RedHatOfficial/Overpass")
2275 (commit (string-append "v" version))))
2276 (file-name (git-file-name name version))
2277 (sha256
2278 (base32 "1vsp94h7v5sn29hajv2ng94gyx4pqb0xgvn3gf7jp2q80gdv8pkm"))))
2279 (build-system font-build-system)
2280 (arguments
2281 `(#:phases
2282 (modify-phases %standard-phases
2283 (add-after 'unpack 'delete-webfonts
2284 (lambda _
2285 (delete-file-recursively "webfonts"))))))
2286 (home-page "https://overpassfont.org")
2287 (synopsis "Sans serif font family inspired by Highway Gothic")
2288 (description
2289 "Overpass is a sans-serif typeface based on the U.S. interstate highway
2290 road signage typefaces, adapted for on-screen display and user interfaces.
2291 Overpass includes proportional and monospace variants.")
2292 (license (list license:silofl1.1
2293 license:lgpl2.1))))