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