gnu: mate-terminal: Update to 1.23.0.
[jackhill/guix/guix.git] / gnu / packages / fonts.scm
CommitLineData
86f1537d 1;;; GNU Guix --- Functional package management for GNU
4c89dc35 2;;; Copyright © 2013, 2014, 2015, 2016, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
b18e5945 3;;; Copyright © 2014, 2017 Mark H Weaver <mhw@netris.org>
822efdff 4;;; Copyright © 2014 Joshua Grant <tadni@riseup.net>
16191117 5;;; Copyright © 2014 Alex Kost <alezost@gmail.com>
692784dd 6;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
e93b88f7 7;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
d28fa5cc 8;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado@elephly.net>
df320991 9;;; Copyright © 2015, 2016 Leo Famulari <leo@famulari.name>
47956fa0 10;;; Copyright © 2016, 2017, 2018 ng0 <ng0@n0.is>
b6ecac93 11;;; Copyright © 2016 Jookia <166291@gmail.com>
f85cafde 12;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
73c8d39c 13;;; Copyright © 2016 Dmitry Nikolaev <cameltheman@gmail.com>
d2b38df6 14;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
6e1d7aa9 15;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
c3e2a247 16;;; Copyright © 2016 Toni Reina <areina@riseup.net>
9296d4b6 17;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
83421fc7 18;;; Copyright © 2017 José Miguel Sánchez García <jmi2k@openmailbox.com>
446e1d51 19;;; Copyright © 2017 Alex Griffin <a@ajgrf.com>
d5b09129 20;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
dcfa0acd 21;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot>
6aa4f09e 22;;; Copyright © 2017, 2018, 2019 Arun Isaac <arunisaac@systemreboot.net>
42ecb96e 23;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
270750d4 24;;; Copyright © 2018 Charlie Ritter <chewzerita@posteo.net>
3c5e1364 25;;; Copyright © 2018 Gabriel Hondet <gabrielhondet@gmail.com>
27e65afc 26;;; Copyright © 2019 Jens Mølgaard <jens@zete.tk>
1a6482d4 27;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
50867421 28;;; Copyright © 2019 Baptiste Strazzulla <bstrazzull@hotmail.fr>
93b3ef19 29;;; Copyright © 2019 Alva <alva@skogen.is>
600f680d 30;;; Copyright © 2019 Alexandros Theodotou <alex@zrythm.org>
86f1537d
AE
31;;;
32;;; This file is part of GNU Guix.
33;;;
34;;; GNU Guix is free software; you can redistribute it and/or modify it
35;;; under the terms of the GNU General Public License as published by
36;;; the Free Software Foundation; either version 3 of the License, or (at
37;;; your option) any later version.
38;;;
39;;; GNU Guix is distributed in the hope that it will be useful, but
40;;; WITHOUT ANY WARRANTY; without even the implied warranty of
41;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42;;; GNU General Public License for more details.
43;;;
44;;; You should have received a copy of the GNU General Public License
45;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
46
47(define-module (gnu packages fonts)
6e1d7aa9 48 #:use-module (ice-9 regex)
71be99b8 49 #:use-module (guix utils)
b5b73a82 50 #:use-module ((guix licenses) #:prefix license:)
86f1537d
AE
51 #:use-module (guix packages)
52 #:use-module (guix download)
49dbae54 53 #:use-module (guix git-download)
b2f89c19 54 #:use-module (guix build-system font)
d41bb065 55 #:use-module (guix build-system gnu)
bd15da3a 56 #:use-module (guix build-system meson)
86f1537d 57 #:use-module (guix build-system trivial)
56b7a338 58 #:use-module (gnu packages base)
d41bb065 59 #:use-module (gnu packages compression)
47268eec 60 #:use-module (gnu packages fontutils)
bd15da3a
KK
61 #:use-module (gnu packages gettext)
62 #:use-module (gnu packages glib)
d41bb065 63 #:use-module (gnu packages perl)
47268eec
AE
64 #:use-module (gnu packages pkg-config)
65 #:use-module (gnu packages python)
148585c2 66 #:use-module (gnu packages xorg))
86f1537d 67
270750d4
CR
68(define-public font-ibm-plex
69 (package
70 (name "font-ibm-plex")
93b3ef19 71 (version "2.0.0")
270750d4
CR
72 (source (origin
73 (method url-fetch)
74 (uri (string-append
75 "https://github.com/IBM/plex/releases/download/"
76 "v" version "/OpenType.zip"))
77 (sha256
78 (base32
93b3ef19 79 "1lv65z3qnqgh2w36daf5wyz0ma9rg1qj9s9lzlnva8l7q3h8c9b8"))))
270750d4
CR
80 (build-system font-build-system)
81 (home-page "https://github.com/IBM/plex")
82 (synopsis "IBM Plex typeface")
83 (description "This package provides the Plex font family. It comes in a
84Sans, Serif, Mono and Sans Condensed, all with roman and true italics. The
85fonts have been designed to work well in user interface (UI) environments as
86well as other mediums.")
87 (license license:silofl1.1)))
88
477ac94b 89(define-public font-inconsolata
dede51a1
ED
90 (package
91 (name "font-inconsolata")
92 (version "0.80")
93 (source (origin
94 (method url-fetch)
95 (uri "http://www.levien.com/type/myfonts/Inconsolata.otf")
96 (sha256
97 (base32
98 "06js6znbcf7swn8y3b8ki416bz96ay7d3yvddqnvi88lqhbfcq8m"))))
b2f89c19 99 (build-system font-build-system)
dede51a1
ED
100 (home-page "http://levien.com/type/myfonts/inconsolata.html")
101 (synopsis "Monospace font")
102 (description "A monospace font, designed for code listings and the like,
103in print. With attention to detail for high resolution rendering.")
104 (license license:silofl1.1)))
105
e93b88f7
ED
106(define-public font-ubuntu
107 (package
108 (name "font-ubuntu")
29f9abb4 109 (version "0.83")
e93b88f7 110 (source (origin
96cae1b4
JN
111 (method git-fetch)
112 (uri (git-reference
113 (url "https://salsa.debian.org/fonts-team/fonts-ubuntu")
114 (commit (string-append "upstream/" version))))
115 (file-name (git-file-name name version))
e93b88f7
ED
116 (sha256
117 (base32
96cae1b4 118 "1d2xrjpxy70f3nsgqiggwv6pj06qglf5vj2847pqx60w3ygi903g"))))
59786588 119 (build-system font-build-system)
e93b88f7
ED
120 (home-page "http://font.ubuntu.com/")
121 (synopsis "The Ubuntu Font Family")
122 (description "The Ubuntu Font Family is a unique, custom designed font
123that has a very distinctive look and feel. This package provides the
124TrueType (TTF) files.")
125 (license
126 (license:non-copyleft
127 "http://font.ubuntu.com/ufl/ubuntu-font-licence-1.0.txt"
128 "Ubuntu Font License v1.0"))))
129
5e6bdf06 130(define-public font-dejavu
72f210ea 131 (package
5e6bdf06 132 (name "font-dejavu")
d7284b6a 133 (version "2.37")
72f210ea
MW
134 (source (origin
135 (method url-fetch)
de67e922 136 (uri (string-append "mirror://sourceforge/dejavu/dejavu/"
72f210ea
MW
137 version "/dejavu-fonts-ttf-"
138 version ".tar.bz2"))
139 (sha256
140 (base32
d7284b6a 141 "1mqpds24wfs5cmfhj57fsfs07mji2z8812i5c4pi5pbi738s977s"))))
2e884019 142 (build-system font-build-system)
72f210ea 143 (arguments
2e884019
AI
144 `(#:phases
145 (modify-phases %standard-phases
146 (add-after 'install 'install-conf
147 (lambda* (#:key outputs #:allow-other-keys)
148 (let ((conf-dir (string-append (assoc-ref outputs "out")
149 "/share/fontconfig/conf.avail")))
38ef437b
MW
150 (copy-recursively "fontconfig" conf-dir)
151 #t))))))
db369e91 152 (home-page "https://dejavu-fonts.github.io/")
72f210ea
MW
153 (synopsis "Vera font family derivate with additional characters")
154 (description "DejaVu provides an expanded version of the Vera font family
155aiming for quality and broader Unicode coverage while retaining the original
b4774d87 156Vera style. DejaVu currently works towards conformance to the Multilingual
72f210ea
MW
157European Standards (MES-1 and MES-2) for Unicode coverage. The DejaVu fonts
158provide serif, sans and monospaced variants.")
159 (license
160 (license:x11-style
161 "http://dejavu-fonts.org/"))))
162
5e6bdf06 163(define-public font-bitstream-vera
86f1537d 164 (package
5e6bdf06 165 (name "font-bitstream-vera")
86f1537d
AE
166 (version "1.10")
167 (source (origin
168 (method url-fetch)
169 (uri (string-append "mirror://gnome/sources/ttf-bitstream-vera/"
170 version "/ttf-bitstream-vera-"
171 version ".tar.bz2"))
172 (sha256
173 (base32
174 "1p3qs51x5327gnk71yq8cvmxc6wgx79sqxfvxcv80cdvgggjfnyv"))))
e46e0de1 175 (build-system font-build-system)
f032d0be 176 (home-page "https://www.gnome.org/fonts/")
86f1537d
AE
177 (synopsis "Bitstream Vera sans-serif typeface")
178 (description "Vera is a sans-serif typeface from Bitstream, Inc. This
179package provides the TrueType (TTF) files.")
180 (license
d5b09129
CL
181 (license:fsdg-compatible
182 "https://www.gnome.org/fonts/#Final_Bitstream_Vera_Fonts"
183 "The Font Software may be sold as part of a larger software package but
184no copy of one or more of the Font Software typefaces may be sold by
185itself."))))
86f1537d 186
71be99b8
LC
187(define-public font-cantarell
188 (package
189 (name "font-abattis-cantarell")
bd15da3a 190 (version "0.111")
71be99b8
LC
191 (source (origin
192 (method url-fetch)
193 (uri (string-append "mirror://gnome/sources/cantarell-fonts/"
194 (version-major+minor version)
195 "/cantarell-fonts-" version ".tar.xz"))
196 (sha256
197 (base32
bd15da3a
KK
198 "05hpnhihwm9sxlq1qn993g03pwkmpjbn0dvnba71r1gfjv0jp2w5"))))
199 (build-system meson-build-system)
200 (native-inputs
201 `(("appstream-glib" ,appstream-glib)
202 ("gettext" ,gettext-minimal))) ;for msgfmt
71be99b8
LC
203 (home-page "https://wiki.gnome.org/Projects/CantarellFonts")
204 (synopsis "Cantarell sans-serif typeface")
205 (description "The Cantarell font family is a contemporary Humanist
206sans-serif designed for on-screen reading. It is used by GNOME@tie{}3.")
207 (license license:silofl1.1)))
208
4eb47420 209(define-public font-lato
210 (package
211 (name "font-lato")
253a4bb2 212 (version "2.010") ; also update description
4eb47420 213 (source (origin
803b9e8b 214 (method url-fetch/zipbomb)
253a4bb2 215 (uri (string-append "https://www.latofonts.com/download/Lato2OFL.zip"))
4eb47420 216 (sha256
217 (base32
218 "1f5540g0ja1nx3ddd3ywn77xc81ssrxpq8n3gyb9sabyq2b4xda2"))))
803b9e8b 219 (build-system font-build-system)
253a4bb2 220 (home-page "https://www.latofonts.com/lato-free-fonts/")
4eb47420 221 (synopsis "Lato sans-serif typeface")
222 (description
223 "Lato is a sanserif typeface family. It covers over 3000 glyphs per style.
224The Lato 2.010 family supports more than 100 Latin-based languages, over
22550 Cyrillic-based languages as well as Greek and IPA phonetics.")
226 (license license:silofl1.1)))
227
5e6bdf06 228(define-public font-gnu-freefont-ttf
86f1537d 229 (package
5e6bdf06 230 (name "font-gnu-freefont-ttf")
47268eec 231 (version "20120503")
86f1537d
AE
232 (source (origin
233 (method url-fetch)
47268eec 234 (uri (string-append "mirror://gnu/freefont/freefont-src-"
86f1537d
AE
235 version ".tar.gz"))
236 (sha256
237 (base32
47268eec
AE
238 "0yk58blhcd4hm7nyincmqq4jrzjjk82wif2zmk1l3y2m4vif4qhd"))))
239 (build-system gnu-build-system)
86f1537d 240 (arguments
47268eec
AE
241 `(#:phases (modify-phases %standard-phases
242 (delete 'configure)
243 (replace 'install
244 (lambda _
245 (let ((doc-dir (string-append %output "/share/doc/"
246 ,name "-" ,version))
247 (font-dir (string-append %output
248 "/share/fonts/truetype")))
249 (mkdir-p doc-dir)
250 (substitute* "Makefile"
251 (("\\$\\(TMPDIR\\)") doc-dir)
252 (("sfd/\\*.ttf") ""))
253 (system* "make" "ttftar")
254 (mkdir-p font-dir)
255 (for-each (lambda (file)
8837860c 256 (install-file file font-dir))
47268eec
AE
257 (filter
258 (lambda (file) (string-suffix? "ttf" file))
259 (find-files "." "")))))))
260 #:test-target "tests"))
261 ;; replace python 3 with python 2
262 ;; python 3 support commits aren't yet released in 20120503
263 ;; so freefont needs python 2 support in fontforge
264 (native-inputs `(("fontforge" ,(package (inherit fontforge)
265 (inputs `(("python-2" ,python-2)
266 ,@(package-inputs fontforge)))))))
6fd52309 267 (home-page "https://www.gnu.org/software/freefont/")
86f1537d
AE
268 (synopsis "Unicode-encoded outline fonts")
269 (description
270 "The GNU Freefont project aims to provide a set of free outline
271 (PostScript Type0, TrueType, OpenType...) fonts covering the ISO
27210646/Unicode UCS (Universal Character Set).")
63e8bb12
LC
273 (license license:gpl3+)
274 (properties '((upstream-name . "freefont")
275 (ftp-directory . "/gnu/freefont")))))
d41bb065 276
16191117
AK
277(define-public font-liberation
278 (package
279 (name "font-liberation")
0754f29a
TGR
280 (version "2.00.5")
281 (source
282 (origin
283 (method url-fetch)
284 (uri (string-append "https://github.com/liberationfonts/liberation-fonts/"
285 "files/2926169/liberation-fonts-ttf-" version ".tar.gz"))
286 (sha256
287 (base32 "0kdjsbf0y716k1kv0i0ixdpvg7b9b8xkcsg6favaxdc7pshg0kzi"))))
45d32e24 288 (build-system font-build-system)
0754f29a
TGR
289 (home-page "https://github.com/liberationfonts")
290 (synopsis "Fonts compatible with Arial, Times New Roman, and Courier New")
16191117
AK
291 (description
292 "The Liberation font family aims at metric compatibility with
293Arial, Times New Roman, and Courier New.
16191117
AK
294There are three sets:
295
0102fba2 296@enumerate
ec460a2a 297@item Sans (a substitute for Arial, Albany, Helvetica, Nimbus Sans L, and
16191117 298Bitstream Vera Sans);
ec460a2a 299@item Serif (a substitute for Times New Roman, Thorndale, Nimbus Roman, and
16191117 300Bitstream Vera Serif);
ec460a2a 301@item Mono (a substitute for Courier New, Cumberland, Courier, Nimbus Mono L,
16191117 302and Bitstream Vera Sans Mono).
0102fba2 303@end enumerate
16191117
AK
304
305The Liberation Fonts are sponsored by Red Hat.")
306 (license license:silofl1.1)))
307
d28fa5cc
RW
308(define-public font-linuxlibertine
309 (package
310 (name "font-linuxlibertine")
311 (version "5.3.0")
312 (source (origin
313 (method url-fetch/tarbomb)
314 (uri (string-append "mirror://sourceforge/linuxlibertine/"
315 "linuxlibertine/" version
316 "/LinLibertineSRC_" version "_2012_07_02.tgz"))
317 (sha256
318 (base32
319 "0x7cz6hvhpil1rh03rax9zsfzm54bh7r4bbrq8rz673gl9h47v0v"))))
15795e07 320 (build-system font-build-system)
d28fa5cc 321 (arguments
15795e07 322 `(#:phases
d28fa5cc 323 (modify-phases %standard-phases
15795e07 324 (add-before 'install 'build
d28fa5cc
RW
325 (lambda _
326 (let ((compile
327 (lambda (name ext)
15795e07
AI
328 (invoke
329 "fontforge" "-lang=ff"
330 "-c" (string-append "Open('" name "');"
331 "Generate('"
332 (basename name "sfd") ext
333 "')")))))
334 (for-each (lambda (name)
335 (and (compile name "ttf")
336 (compile name "otf")))
337 (find-files "." "\\.sfd$"))
d28fa5cc
RW
338 #t))))))
339 (native-inputs
340 `(("fontforge" ,fontforge)))
341 (home-page "http://www.linuxlibertine.org/")
342 (synopsis "Serif and sans serif typefaces")
343 (description "The Linux Libertine fonts is a set of typefaces containing
344both a Serif version (\"Linux Libertine\") and a Sans Serif (\"Linux
345Biolinum\") designed to be used together as an alternative for Times/Times New
346Roman and Helvetica/Arial. The Serif typeface comes in two shapes and two
347weights, and with a Small Capitals version of the regular typeface. Linux
348Biolinum is available in both Regular and Bold weights.")
349 ;; The fonts are released under either of these licenses.
350 (license (list license:gpl2+ license:silofl1.1))))
351
5e6bdf06 352(define-public font-terminus
d41bb065 353 (package
5e6bdf06 354 (name "font-terminus")
73c5c482 355 (version "4.47")
d41bb065 356 (source
73c5c482
TGR
357 (origin
358 (method url-fetch)
359 (uri (string-append "mirror://sourceforge/terminus-font/terminus-font-"
360 version "/terminus-font-" version ".tar.gz"))
361 (sha256
362 (base32 "15qjcpalcxjiwsjgjg5k88vkwp56cs2nnx4ghya6mqp4i1c206qg"))))
d41bb065 363 (build-system gnu-build-system)
a431e213
TGR
364 (outputs (list "out" "pcf-8bit"))
365 (arguments
366 `(#:tests? #f ; no test target in tarball
367 #:phases
368 (modify-phases %standard-phases
369 (add-after 'build 'build-more-bits
370 ;; X11 8-bit code pages aren't installed by default (they were
371 ;; until version 4.46). Build and install them separately.
372 (lambda* (#:key make-flags #:allow-other-keys)
373 (apply invoke "make" "pcf-8bit" make-flags)))
374 (add-after 'install 'install-more-bits
375 (lambda* (#:key make-flags outputs #:allow-other-keys)
376 (let ((pcf-8bit (assoc-ref outputs "pcf-8bit")))
377 (apply invoke "make" "install-pcf-8bit" (string-append "prefix="
378 pcf-8bit)
379 make-flags)))))))
d41bb065 380 (native-inputs
73c5c482 381 `(("bdftopcf" ,bdftopcf)
b3546174 382 ("font-util" ,font-util)
73c5c482
TGR
383 ("mkfontdir" ,mkfontdir)
384 ("pkg-config" ,pkg-config)
385 ("python" ,python)))
d41bb065
JG
386 (home-page "http://terminus-font.sourceforge.net/")
387 (synopsis "Simple bitmap programming font")
b4774d87
TGR
388 (description "Terminus Font is a clean, fixed-width bitmap font, designed
389for long periods of working with computers (8 or more hours per day).")
380f2ab6 390 (license license:silofl1.1)))
692784dd
SB
391
392(define-public font-adobe-source-han-sans
393 (package
394 (name "font-adobe-source-han-sans")
2666a126 395 (version "1.004")
692784dd 396 (source (origin
8f4dccf7
EF
397 (method git-fetch)
398 (uri (git-reference
399 (url "https://github.com/adobe-fonts/source-han-sans.git")
400 (commit (string-append version "R"))))
401 (file-name (git-file-name name version))
692784dd
SB
402 (sha256
403 (base32
8f4dccf7 404 "0zm884d8fp5gvirq324050kqv7am9khyqhs9kk4r4rr3jzn61jpk"))))
2666a126 405 (outputs '("out" ; OpenType/CFF Collection (OTC), 121 MiB.
692784dd
SB
406 "cn" "jp" "kr" "tw")) ; Region-specific Subset OpenType/CFF.
407 (build-system trivial-build-system)
408 (arguments
409 `(#:modules ((guix build utils))
410 #:builder
411 (begin
412 (use-modules (guix build utils))
8f4dccf7 413 (let ((install-opentype-fonts
692784dd
SB
414 (lambda (fonts-dir out)
415 (copy-recursively fonts-dir
416 (string-append (assoc-ref %outputs out)
417 "/share/fonts/opentype")))))
8f4dccf7 418 (chdir (assoc-ref %build-inputs "source"))
692784dd
SB
419 (install-opentype-fonts "OTC" "out")
420 (install-opentype-fonts "SubsetOTF/CN" "cn")
421 (install-opentype-fonts "SubsetOTF/JP" "jp")
422 (install-opentype-fonts "SubsetOTF/KR" "kr")
2666a126 423 (install-opentype-fonts "SubsetOTF/TW" "tw")
e3cfef22
MW
424 (for-each delete-file (find-files %output "\\.zip$"))
425 #t))))
692784dd
SB
426 (home-page "https://github.com/adobe-fonts/source-han-sans")
427 (synopsis "Pan-CJK fonts")
428 (description
429 "Source Han Sans is a sans serif Pan-CJK font family that is offered in
430seven weights: ExtraLight, Light, Normal, Regular, Medium, Bold, and Heavy.
431And in several OpenType/CFF-based deployment configurations to accommodate
432various system requirements or limitations. As the name suggests, Pan-CJK
433fonts are intended to support the characters necessary to render or display
e881752c 434text in Simplified Chinese, Traditional Chinese, Japanese, and Korean.")
2666a126 435 (license license:silofl1.1)))
192b4802 436
840b7136 437(define-public font-cns11643
377fad00
BT
438 ;; Since upstream doesn't provide any version numbers, the date of the last
439 ;; edit is used, taken from https://data.gov.tw/dataset/5961
440 ;; XXX: The source is also updated in-place, so it may be desirable to mirror
441 ;; it elsewhere to avoid suddenly losing the current source file.
840b7136
BT
442 (package
443 (name "font-cns11643")
377fad00 444 (version "98.1.20180605")
840b7136
BT
445 (source (origin
446 (method url-fetch)
447 (uri "http://www.cns11643.gov.tw/AIDB/Open_Data.zip")
448 (sha256
449 (base32
377fad00 450 "000a9whrjr1cd4pjc23pbl60zwkq3wcb5g61p9qi7fn3hwkp0kyw"))))
8c5ad448 451 (build-system font-build-system)
840b7136
BT
452 (home-page "http://www.cns11643.gov.tw/AIDB/welcome.do")
453 (synopsis "CJK TrueType fonts, TW-Kai and TW-Sung")
454 (description
455 "@code{CNS 11643} character set (Chinese National Standard, or Chinese
456Standard Interchange Code) is the standard character set of the Republic of
457China (Taiwan) for Chinese Characters and other Unicode symbols. Contained
458are six TrueType fonts based on two script styles, Regular script (Kai), and
459Sung/Ming script, each with three variants:
460
461@itemize
462@item @code{CNS 11643} (@code{TW-Kai} and @code{TW-Sung}): Tens of thousands
463of CJK characters from frequency tables published by the Taiwanese
464Ministry of Education. ISO 10646 and Unicode compatible encoding.
465@item @code{Big-5 Plus}: Several thousand frequently used CJK characters
466encoded in the user defined area of the Big-5 code.
467@item @code{Big-5 Extended}: A Big-5 character set based on the
468@code{Big-5 Plus} and @code{CNS 11643} character sets.
469@end itemize\n")
470 (license (license:non-copyleft
471 "http://data.gov.tw/license")))) ; CC-BY 4.0 compatible
472
f3744a01
BT
473(define-public font-cns11643-swjz
474 (package
475 (name "font-cns11643-swjz")
476 (version "1")
477 (source
478 (origin
479 (method url-fetch)
480 (uri "https://www.moedict.tw/fonts/truetype/cns11643/ebas927.ttf")
481 (sha256
482 (base32
483 "1qkljldbmb53zp1rcmpsb8rzy67rnsqcjxi549m9743ifk4isl78"))))
a5ce48c8 484 (build-system font-build-system)
f3744a01
BT
485 (home-page
486 (string-append "http://www.cns11643.gov.tw/AIDB/download.do"
487 "?name=%E5%AD%97%E5%9E%8B%E4%B8%8B%E8%BC%89"))
488 (synopsis "TrueType seal script font")
489 (description
490 "@code{Shuowen Jiezi} is a TrueType seal script font based on the ancient
491text of the same name published by the Executive Yuan of Taiwan. 6721 glyphs
492are included, at Unicode compatible code points corresponding to their modern
493variants.")
494 ;; Original text only available in Chinese. More info at
495 ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26703#11
496 (license (license:non-copyleft
497 "http://www.cns11643.gov.tw/AIDB/copyright.do"))))
498
192b4802
RW
499(define-public font-wqy-zenhei
500 (package
501 (name "font-wqy-zenhei")
502 (version "0.9.45")
503 (source (origin
504 (method url-fetch)
505 (uri (string-append
de67e922
LF
506 "mirror://sourceforge/wqy/wqy-zenhei/" version
507 "%20%28Fighting-state%20RC1%29/wqy-zenhei-"
192b4802 508 version ".tar.gz"))
192b4802
RW
509 (sha256
510 (base32
511 "1mkmxq8g2hjcglb3zajfqj20r4r88l78ymsp2xyl5yav8w3f7dz4"))))
371ca85f 512 (build-system font-build-system)
78cda0bc 513 (home-page "https://wenq.org/wqy2/")
192b4802
RW
514 (synopsis "CJK font")
515 (description
516 "WenQuanYi Zen Hei is a Hei-Ti style (sans-serif type) Chinese outline
517font. It is designed for general purpose text formatting and on-screen
518display of Chinese characters and symbols from many other languages.
b4774d87 519WenQuanYi Zen Hei provides a rather complete coverage of Chinese Hanzi glyphs,
192b4802
RW
520including both simplified and traditional forms. The total glyph number in
521this font is over 35,000, including over 21,000 Chinese Hanzi. This font has
b4774d87
TGR
522full coverage of the GBK (CP936) charset, CJK Unified Ideographs, as well as
523the code-points needed for zh_cn, zh_sg, zh_tw, zh_hk, zh_mo, ja (Japanese) and
524ko (Korean) locales for @code{fontconfig}.")
78cda0bc 525 ;; GPLv2 with font embedding exception.
192b4802 526 (license license:gpl2)))
3f88152d 527
12b8f6b4
FS
528(define-public font-wqy-microhei
529 (package
530 (name "font-wqy-microhei")
531 (version "0.2.0-beta")
532 (source (origin
533 (method url-fetch)
534 (uri (string-append "mirror://sourceforge/wqy/wqy-microhei/"
535 version "/wqy-microhei-" version ".tar.gz"))
536 (sha256
537 (base32
538 "0gi1yxqph8xx869ichpzzxvx6y50wda5hi77lrpacdma4f0aq0i8"))))
7fc6ce46 539 (build-system font-build-system)
12b8f6b4
FS
540 (home-page "http://wenq.org/wqy2/")
541 (synopsis "CJK font")
542 (description
543 "WenQuanYi Micro Hei is a Sans-Serif style (also known as Hei, Gothic or
544Dotum among the Chinese/Japanese/Korean users) high quality CJK outline font.
545It was derived from \"Droid Sans Fallback\" and \"Droid Sans\" released by
546Google Inc. This font contains all the unified CJK Han glyphs in the range of
547U+4E00-U+9FC3 defined in Unicode Standard 5.1, together with many other
548languages unicode blocks, including Latins, Extended Latins, Hanguls and
549Kanas. The font file is extremely compact (~4M) compared with most known CJK
550fonts.")
551 ;; This font is licensed under Apache2.0 or GPLv3 with font embedding
552 ;; exceptions.
553 (license license:gpl3)))
554
42ecb96e
MS
555(define-public font-rachana
556 (package
557 (name "font-rachana")
558 (version "7.0")
559 (source
560 (origin
561 (method url-fetch)
562 (uri (string-append
563 "https://gitlab.com/smc/rachana/repository/archive.tar.gz?ref=Version"
564 version))
565 (file-name (string-append name "-" version ".tar.gz"))
566 (sha256
567 (base32
568 "0jc091gshna6p1dd6lf507jxkgk6rsja835fc9dm71mcplq53bm1"))))
569 (build-system font-build-system)
570 (home-page "https://smc.org.in")
571 (synopsis "Malayalam font")
572 (description
573 "Rachana is a Malayalam font designed by Hussain K H. The project was
574part of Rachana Aksharavedi for the original script of Malayalam in computing.
575Rachana has about 1,200+ glyphs for Malayalam and contains glyphs required for
576printing old Malayalam books without compromising the writing style.")
577 ;; This font is licensed under SIL 1.1 or GPLv3+ with font embedding
578 ;; exceptions.
579 (license (list license:silofl1.1 license:gpl3+))))
580
3f88152d
RW
581(define-public font-tex-gyre
582 (package
583 (name "font-tex-gyre")
584 (version "2.005")
585 (source
586 (origin
c226f06c 587 (method url-fetch/zipbomb)
3f88152d
RW
588 (uri (string-append "http://www.gust.org.pl/projects/e-foundry/"
589 "tex-gyre/whole/tg-" version "otf.zip"))
590 (sha256
591 (base32
592 "0kph9l3g7jb2bpmxdbdg5zl56wacmnvdvsdn7is1gc750sqvsn31"))))
c226f06c 593 (build-system font-build-system)
3f88152d
RW
594 (home-page "http://www.gust.org.pl/projects/e-foundry/tex-gyre/")
595 (synopsis "Remake of Ghostscript fonts")
596 (description "The TeX Gyre collection of fonts is the result of an
597extensive remake and extension of the freely available base PostScript fonts
598distributed with Ghostscript version 4.00. The collection contains the
599following fonts in the OpenType format: Adventor, Bonum, Chorus, Cursor,
600Heros, Pagella, Schola, Termes.")
601 (license license:gfl1.0)))
761b3d44
LF
602
603(define-public font-anonymous-pro
604 (package
605 (name "font-anonymous-pro")
606 (version "1.002")
607 (source (origin
608 (method url-fetch)
609 (uri (string-append
bba5bb30 610 "https://www.marksimonson.com/assets/content/fonts/"
761b3d44
LF
611 "AnonymousPro-" version ".zip"))
612 (sha256
613 (base32
614 "1asj6lykvxh46czbal7ymy2k861zlcdqpz8x3s5bbpqwlm3mhrl6"))))
bbb1a1d2 615 (build-system font-build-system)
bba5bb30 616 (home-page "https://www.marksimonson.com/fonts/view/anonymous-pro")
761b3d44
LF
617 (synopsis "Fixed-width fonts designed with coding in mind")
618 (description "Anonymous Pro is a family of four fixed-width fonts designed
619with coding in mind. Anonymous Pro features an international, Unicode-based
620character set, with support for most Western and Central European Latin-based
621languages, plus Greek and Cyrillic.")
622 (license license:silofl1.1)))
d032d965 623
4fce1ff1
TGR
624(define-public font-anonymous-pro-minus
625 (package
626 (inherit font-anonymous-pro)
627 (name "font-anonymous-pro-minus")
628 ;; The -Minus variant doesn't necessarily track the regular version above.
629 (version "1.003")
630 (source
631 (origin
632 (method url-fetch)
633 (uri (string-append "https://www.marksimonson.com/assets/content/fonts/"
634 "AnonymousProMinus-" version ".zip"))
635 (sha256
636 (base32 "1p2n91jja37d2cshp5pjwld9lq0v7gnpk7ywwn2blq7k46q6vq38"))))
637 (synopsis "Fixed-width fonts designed with coding in mind, without bitmaps")
638 (description "Anonymous Pro is a family of four fixed-width fonts designed
639with coding in mind. Anonymous Pro features an international, Unicode-based
640character set, with support for most Western and Central European Latin-based
641languages, plus Greek and Cyrillic.
642
643Anonymous Pro Minus is identical to Anonymous Pro, minus its embedded bitmaps
644for use at smaller text sizes")))
645
d032d965
SB
646(define-public font-gnu-unifont
647 (package
648 (name "font-gnu-unifont")
e203e57b 649 (version "12.1.03")
f990bda4
TGR
650 (source
651 (origin
652 (method url-fetch)
653 (uri (list
654 (string-append "http://unifoundry.com/pub/unifont/unifont-"
655 version "/unifont-" version ".tar.gz")
656 (string-append "mirror://gnu/unifont/unifont-"
657 version "/unifont-" version ".tar.gz")))
658 (sha256
e203e57b 659 (base32 "10mr3ax19v5pa6a791fk2j3k45fpa8n5r36kq9gs8lk95wfnxmf1"))))
d032d965 660 (build-system gnu-build-system)
f21058dc
EF
661 (outputs '("out" ; TrueType version
662 "pcf" ; PCF (bitmap) version
663 "psf" ; PSF (console) version
664 "bin")) ; Utilities to manipulate '.hex' format
d032d965 665 (arguments
f21058dc 666 '(#:tests? #f ; no check target
d032d965
SB
667 #:phases
668 (modify-phases %standard-phases
c88bee0a
EF
669 (replace
670 'configure
671 (lambda _ (setenv "CC" "gcc") #t))
d032d965
SB
672 (replace
673 'install
674 (lambda* (#:key outputs #:allow-other-keys)
675 (let* ((ttf (string-append (assoc-ref outputs "out")
676 "/share/fonts/truetype"))
677 (pcf (string-append (assoc-ref outputs "pcf")
678 "/share/fonts/misc"))
679 (psf (string-append (assoc-ref outputs "psf")
680 "/share/consolefonts"))
681 (bin (assoc-ref outputs "bin")))
5b47ea94
EF
682 (invoke "make"
683 (string-append "PREFIX=" bin)
684 (string-append "TTFDEST=" ttf)
685 (string-append "PCFDEST=" pcf)
686 (string-append "CONSOLEDEST=" psf)
687 "install")
d032d965
SB
688 ;; Move Texinfo file to the right place.
689 (mkdir (string-append bin "/share/info"))
c1352b4b
LC
690 (invoke "gzip" "-9n" "doc/unifont.info")
691 (install-file "doc/unifont.info.gz"
692 (string-append bin "/share/info"))
d032d965
SB
693 #t))))))
694 (inputs
695 `(("perl" ,perl))) ; for utilities
696 (synopsis
697 "Large bitmap font covering Unicode's Basic Multilingual Plane")
698 (description
699 "GNU Unifont is a bitmap font covering essentially all of
700Unicode's Basic Multilingual Plane. The package also includes
701utilities to ease adding new glyphs to the font.")
702 (home-page "http://unifoundry.com/unifont.html")
fc19cee1 703 (properties '((upstream-name . "unifont")))
d032d965 704 (license license:gpl2+)))
b6ecac93
J
705
706(define-public font-google-noto
707 (package
708 (name "font-google-noto")
66d6b7c3
TGR
709 (version "20171025")
710 (source
711 (origin
712 (method url-fetch/zipbomb)
713 (uri (string-append "https://noto-website-2.storage.googleapis.com/"
714 "pkgs/Noto-hinted.zip"))
715 (file-name (string-append name "-" version ".zip"))
716 (sha256
717 (base32 "1bp42whyin7xcgmrbnfvz3rvd98xmxaz3ywqybbjmqzwaa9llyw3"))))
2f7966c8 718 (build-system font-build-system)
b6ecac93 719 (home-page "https://www.google.com/get/noto/")
b4774d87
TGR
720 (synopsis "Fonts to cover all languages")
721 (description "Google Noto Fonts is a family of fonts designed to support
722all languages with a consistent look and aesthetic. Its goal is to properly
723display all Unicode symbols.")
b6ecac93 724 (license license:silofl1.1)))
aae6b4b9 725
bb0756c7 726(define-public font-google-roboto
727 (package
728 (name "font-google-roboto")
729 (version "2.136")
730 (source
731 (origin
732 (method url-fetch)
733 (uri (string-append "https://github.com/google/roboto/releases/download/"
734 "v" version "/roboto-hinted.zip"))
735 (file-name (string-append name "-" version ".zip"))
736 (sha256
737 (base32
738 "0spscx08fad7i8qs7icns96iwcapniq8lwwqqvbf7bamvs8qfln4"))))
9713b31e 739 (build-system font-build-system)
bb0756c7 740 (home-page "https://github.com/google/roboto")
741 (synopsis "The Roboto family of fonts")
742 (description
743 "Roboto is Google’s signature family of fonts, the default font on Android
744and Chrome OS, and the recommended font for the
745visual language \"Material Design\".")
746 (license license:asl2.0)))
747
aae6b4b9 748(define-public font-un
749 (package
750 (name "font-un")
751 (version "1.0.2-080608")
aae6b4b9 752 (source (origin
753 (method url-fetch)
99a61dad 754 (uri (string-append
755 "https://kldp.net/unfonts/release/2607-"
756 "un-fonts-core-" version ".tar.gz"))
aae6b4b9 757 (file-name (string-append name "-" version ".tar.gz"))
758 (sha256
759 (base32
760 "13liaz2pmww3aqabm55la5npd08m1skh334ky7qfidxaz5s742iv"))))
6084d9b4 761 (build-system font-build-system)
aae6b4b9 762 (home-page "https://kldp.net/projects/unfonts/")
763 (synopsis "Collection of Korean fonts")
764 (description
765 "Un-fonts is a family of mainly Korean fonts.
766It contains the following fonts and styles:
767
768@enumerate
769@item UnBatang, UnBatangBold: serif;
770@item UnDotum, UnDotumBold: sans-serif;
771@item UnGraphic, UnGraphicBold: sans-serif style;
772@item UnDinaru, UnDinaruBold, UnDinaruLight;
773@item UnPilgi, UnPilgiBold: script;
774@item UnGungseo: cursive, brush-stroke.
775@end enumerate\n")
776 (license license:gpl2+)))
f85cafde
EB
777
778(define-public font-fantasque-sans
779 (package
780 (name "font-fantasque-sans")
5882078e 781 (version "1.7.2")
f85cafde
EB
782 (source
783 (origin
5882078e
EB
784 (method git-fetch)
785 (uri (git-reference
786 (url "https://github.com/belluzj/fantasque-sans.git")
787 (commit (string-append "v" version))))
788 (file-name (git-file-name name version))
f85cafde
EB
789 (sha256
790 (base32
5882078e 791 "1gjranq7qf20rfxnpxsckv1hl35nzsal0rjs475nhfbpqy5wmly6"))))
f85cafde
EB
792 (build-system gnu-build-system)
793 (native-inputs
794 `(("ttfautohint" ,ttfautohint)
795 ("woff-tools" ,woff-tools)
796 ("fontforge" ,fontforge)
797 ("woff2" ,woff2)
5882078e
EB
798 ("ttf2eot" ,ttf2eot)
799 ("zip" ,zip)))
f85cafde
EB
800 (arguments
801 `(#:tests? #f ;test target intended for visual inspection
802 #:phases (modify-phases %standard-phases
803 (delete 'configure) ;no configuration
5882078e
EB
804 (add-before 'build 'xrange->range
805 ;; Rather than use a python2 fontforge, just replace the
806 ;; offending function.
807 (lambda _
808 (substitute* "Scripts/fontbuilder.py"
809 (("xrange") "range"))
810 #t))
f85cafde
EB
811 (replace 'install
812 ;; 'make install' wants to install to ~/.fonts, install to
5882078e 813 ;; output instead. Install only the "Normal" variant.
f85cafde
EB
814 (lambda* (#:key outputs #:allow-other-keys)
815 (let* ((out (assoc-ref outputs "out"))
816 (font-dir (string-append out "/share/fonts"))
817 (truetype-dir (string-append font-dir "/truetype"))
818 (opentype-dir (string-append font-dir "/opentype"))
819 (webfonts-dir (string-append font-dir "/webfonts")))
5882078e
EB
820 (with-directory-excursion "Variants/Normal"
821 (copy-recursively "OTF" opentype-dir)
822 (for-each (lambda (f) (install-file f truetype-dir))
823 (find-files "." "\\.ttf$"))
824 (copy-recursively "Webfonts" webfonts-dir)
825 #t)))))))
f85cafde
EB
826 (synopsis "Font family with a monospaced variant for programmers")
827 (description
828 "Fantasque Sans Mono is a programming font designed with functionality in
829mind. The font includes a bold version and a good italic version with new
830glyph designs, not just an added slant.")
831 (home-page "https://fontlibrary.org/en/font/fantasque-sans-mono")
832 (license license:silofl1.1)))
73c8d39c 833
834(define-public font-hack
835 (package
836 (name "font-hack")
9296d4b6 837 (version "3.003")
73c8d39c 838 (source (origin
8069f889 839 (method url-fetch/zipbomb)
73c8d39c 840 (uri (string-append
77aa706a
TGR
841 "https://github.com/source-foundry/Hack/releases/download/v"
842 version "/Hack-v" version "-ttf.zip"))
73c8d39c 843 (sha256
844 (base32
9296d4b6 845 "1b4hh8zkrx92m2v2vfkja1napb0192p0j3laqr0m018z3dih89hc"))))
8069f889 846 (build-system font-build-system)
73c8d39c 847 (home-page "https://sourcefoundry.org/hack/")
b4774d87 848 (synopsis "Typeface designed for source code")
73c8d39c 849 (description
b4774d87 850 "Hack is designed to be a workhorse typeface for code. It expands upon
d083a823 851the Bitstream Vera & DejaVu projects, provides over 1,500 glyphs, and includes
b4774d87 852Powerline support.")
77aa706a
TGR
853 (license
854 ;; See https://github.com/source-foundry/Hack/issues/271 for details.
855 (list license:expat ; the Hack modifications to...
856 license:public-domain ; ...the DejaVu modifications to...
857 (license:x11-style ; ...the Bitstream Vera typeface
858 "file://LICENSE.md" "Bitstream Vera License")))))
6e1d7aa9
MB
859
860(define-public font-adobe-source-code-pro
861 (package
862 (name "font-adobe-source-code-pro")
863 (version "2.030R-ro-1.050R-it")
864 (source (origin
865 (method url-fetch)
866 (uri (string-append
867 "https://github.com/adobe-fonts/source-code-pro/archive/"
868 (regexp-substitute/global
869 ;; The upstream tag uses "/" between the roman and italic
870 ;; versions, so substitute our "-" separator here.
871 #f "R-ro-" version 'pre "R-ro/" 'post) ".tar.gz"))
872 (file-name (string-append name "-" version ".tar.gz"))
873 (sha256
874 (base32
875 "0arhhsf3i7ss39ykn73d1j8k4n8vx7115xph6jwkd970p1cxvr54"))))
b41704cd 876 (build-system font-build-system)
6e1d7aa9
MB
877 (home-page "https://github.com/adobe-fonts/source-code-pro")
878 (synopsis
879 "Monospaced font family for user interface and coding environments")
880 (description
881 "Source Code Pro is a set of monospaced OpenType fonts that have been
882designed to work well in user interface environments.")
883 (license license:silofl1.1)))
c3e2a247 884
27e65afc
J
885(define-public font-adobe-source-sans-pro
886 (package
887 (name "font-adobe-source-sans-pro")
888 (version "2.040R-ro-1.090R-it")
889 (source (origin
890 (method url-fetch)
891 (uri (string-append
892 "https://github.com/adobe-fonts/source-sans-pro/archive/"
893 (regexp-substitute/global
894 ;; The upstream tag uses "/" between the roman and italic
895 ;; versions, so substitute our "-" separator here.
896 #f "R-ro-" version 'pre "R-ro/" 'post) ".tar.gz"))
897 (file-name (string-append name "-" version ".tar.gz"))
898 (sha256
899 (base32
900 "1wpbhd2idps53ph8rg1mhr3vz4lsgbpjprcq10nliwcxdz9d8lv0"))))
901 (build-system font-build-system)
902 (home-page "https://github.com/adobe-fonts/source-sans-pro")
903 (synopsis
904 "Sans serif font family for user interface environments")
905 (description
906 "Source Sans Pro is a set of OpenType fonts that have been designed to
907work well in user interface (UI) environments.")
908 (license license:silofl1.1)))
909
3cdd2e95
J
910(define-public font-adobe-source-serif-pro
911 (package
912 (name "font-adobe-source-serif-pro")
913 (version "2.007R-ro-1.007R-it")
914 (source (origin
915 (method url-fetch)
916 (uri (string-append
917 "https://github.com/adobe-fonts/source-serif-pro/archive/"
918 (regexp-substitute/global
919 ;; The upstream tag uses "/" between the roman and italic
920 ;; versions, so substitute our "-" separator here.
921 #f "R-ro-" version 'pre "R-ro/" 'post) ".tar.gz"))
922 (file-name (string-append name "-" version ".tar.gz"))
923 (sha256
924 (base32
925 "1sws9k26ldqk375qsigk1zv8cq1xlvadjwvv3dqrcc3qzm1c7hwc"))))
926 (build-system font-build-system)
927 (home-page "https://github.com/adobe-fonts/source-serif-pro")
928 (synopsis
929 "Serif typeface to complement Source Sans Pro for setting text")
930 (description
931 "Source Serif Pro is a set of OpenType fonts to complement the Source
932Sans Pro family.")
933 (license license:silofl1.1)))
934
c3e2a247
TR
935(define-public font-fira-mono
936 (package
937 (name "font-fira-mono")
938 (version "3.206")
939 (source (origin
940 (method url-fetch)
941 (uri (string-append "https://carrois.com/downloads/fira_mono_3_2/"
942 "FiraMonoFonts"
943 (string-replace-substring version "." "")
944 ".zip"))
945 (sha256
946 (base32
947 "1z65x0dw5dq6rs6p9wyfrir50rlh95vgzsxr8jcd40nqazw4jhpi"))))
3a722dde 948 (build-system font-build-system)
b253e7b9 949 (home-page "https://mozilla.github.io/Fira/")
c3e2a247
TR
950 (synopsis "Mozilla's monospace font")
951 (description "This is the typeface used by Mozilla in Firefox OS.")
952 (license license:silofl1.1)))
83421fc7 953
0ee27df0 954(define-public font-fira-sans
955 (package
956 (name "font-fira-sans")
957 (version "4.202")
958 (source (origin
c2426dbd
EF
959 (method git-fetch)
960 (uri (git-reference
961 (url "https://github.com/mozilla/Fira.git")
962 (commit version)))
963 (file-name (git-file-name name version))
0ee27df0 964 (sha256
965 (base32
c2426dbd 966 "116j26gdj5g1r124b4669372f7490vfjqw7apiwp2ggl0am5xd0w"))))
0ee27df0 967 (build-system font-build-system)
b253e7b9 968 (home-page "https://mozilla.github.io/Fira/")
0ee27df0 969 (synopsis "Mozilla's Fira Sans Font")
970 (description "This is the typeface used by Mozilla in Firefox OS.")
971 (license license:silofl1.1)))
972
760e34b2 973(define-public font-fira-code
974 (package
975 (name "font-fira-code")
76498783 976 (version "1.206")
760e34b2 977 (source (origin
978 (method url-fetch/zipbomb)
979 (uri (string-append "https://github.com/tonsky/FiraCode/releases/"
980 "download/" version
981 "/FiraCode_" version ".zip"))
982 (sha256
983 (base32
76498783 984 "02r1lcp0c9135ps71v66wdvbsrcxwirrp0blqsa1xbjkkq2rwgj3"))))
760e34b2 985 (build-system font-build-system)
986 (home-page "https://mozilla.github.io/Fira/")
987 (synopsis "Monospaced font with programming ligatures")
988 (description
989 "Fira Code is an extension of the Fira Mono font containing a set of ligatures
990for common programming multi-character combinations. This is just a font rendering
991feature: underlying code remains ASCII-compatible. This helps to read and understand
992code faster. For some frequent sequences like .. or //, ligatures allow us to
993correct spacing.")
994 (license license:silofl1.1)))
995
83421fc7
JMSG
996(define-public font-awesome
997 (package
998 (name "font-awesome")
848b3749
LF
999 ;; XXX The build scripts of version 5 are not freely licensed and
1000 ;; so we have to stick with version 4 for now:
1001 ;; <https://bugs.gnu.org/32916>
1002 (version "4.7.0")
83421fc7 1003 (source (origin
6fc9c6f7
EF
1004 (method git-fetch)
1005 (uri (git-reference
1006 (url "https://github.com/FortAwesome/Font-Awesome.git")
1007 (commit (string-append "v" version))))
1008 (file-name (git-file-name name version))
83421fc7
JMSG
1009 (sha256
1010 (base32
6fc9c6f7 1011 "0w30y26jp8nvxa3iiw7ayl6rkza1rz62msl9xw3srvxya1c77grc"))))
278c608a 1012 (build-system font-build-system)
6fc9c6f7
EF
1013 (arguments
1014 '(#:phases
1015 (modify-phases %standard-phases
1016 (replace 'install
1017 (lambda* (#:key outputs #:allow-other-keys)
1018 (let* ((out (assoc-ref outputs "out"))
1019 (source (string-append (getcwd) "/fonts"))
1020 (fonts (string-append out "/share/fonts")))
1021 (for-each (lambda (file)
1022 (install-file file (string-append fonts "/truetype")))
1023 (find-files source "\\.(ttf|ttc)$"))
1024 (for-each (lambda (file)
1025 (install-file file (string-append fonts "/opentype")))
1026 (find-files source "\\.(otf|otc)$"))
1027 #t))))))
1028 (home-page "https://fontawesome.com/")
83421fc7
JMSG
1029 (synopsis "Font that contains a rich iconset")
1030 (description
1031 "Font Awesome is a full suite of pictographic icons for easy scalable
1032vector graphics.")
1033 (license license:silofl1.1)))
446e1d51 1034
f2a7ce50 1035(define-public font-tamzen
1036 (package
1037 (name "font-tamzen")
1038 (version "1.11.4")
1039 (source
1040 (origin
1f07550c
EF
1041 (method git-fetch)
1042 (uri (git-reference
1043 (url "https://github.com/sunaku/tamzen-font.git")
1044 (commit (string-append "Tamzen-" version))))
1045 (file-name (git-file-name name version))
f2a7ce50 1046 (sha256
1047 (base32
1f07550c 1048 "17kgmvg6q32mqhx9g44hjvzv0si0mnpprga4z7na930g2zdd8846"))))
f2a7ce50 1049 (build-system trivial-build-system)
1050 (arguments
1051 `(#:modules ((guix build utils))
1052 #:builder
1053 (begin
1054 (use-modules (guix build utils))
1055
1f07550c
EF
1056 (let* ((out (assoc-ref %outputs "out"))
1057 (font-dir (string-append out "/share/fonts/misc"))
1058 (psf-dir (string-append out "/share/kbd/consolefonts")))
1059 (chdir (assoc-ref %build-inputs "source"))
f2a7ce50 1060 (mkdir-p font-dir)
1061 (mkdir-p psf-dir)
f2a7ce50 1062 (for-each (lambda (pcf)
1063 (install-file pcf font-dir))
1f07550c 1064 (find-files "pcf" "\\.pcf$"))
f2a7ce50 1065 (for-each (lambda (psf)
1066 (install-file psf psf-dir))
1f07550c 1067 (find-files "psf" "\\.psf$"))
f2a7ce50 1068 #t))))
f2a7ce50 1069 (home-page "https://github.com/sunaku/tamzen-font")
1070 (synopsis "Monospaced bitmap font for console and X11")
1071 (description
e16b44a2 1072 "Tamzen is a fork of the @code{Tamsyn} font. It is programmatically forked
f2a7ce50 1073from @code{Tamsyn} version 1.11, backporting glyphs from older versions while
1074deleting deliberately empty glyphs (which are marked as unimplemented) to
1075allow secondary/fallback fonts to provide real glyphs at those codepoints.
1076
1077The @code{TamzenForPowerline} fonts provide additional @code{Powerline} symbols,
e16b44a2 1078which are programmatically injected with @code{bitmap-font-patcher} and
f2a7ce50 1079later hand-tweaked with the gbdfed(1) editor:
1080
1081@enumerate
1082@item all icons are expanded to occupy the maximum available space
1083@item the branch of the fork icon ( U+E0A0) was made larger than the trunk
1084@item for the newline icon ( U+E0A1), the @emph{N} was made larger at the bottom
1085@item the keyhole in the padlock icon ( U+E0A2) was replaced with @emph{//} lines.
1086@end enumerate\n")
1087 (license (license:non-copyleft "file://LICENSE"))))
1088
446e1d51
AG
1089(define-public font-comic-neue
1090 (package
b963d8c2
AG
1091 (name "font-comic-neue")
1092 (version "2.3")
1093 (source (origin
1094 (method url-fetch/zipbomb)
1095 (uri (string-append
1096 "http://www.comicneue.com/comic-neue-" version ".zip"))
1097 (sha256
1098 (base32
1099 "1695hkpd8kqnr2a88p8xs496slgzxjjkzpa9aa33ml3pnh7519zk"))))
1100 (build-system font-build-system)
1101 (arguments
1102 `(#:phases
1103 (modify-phases %standard-phases
44636f57
AI
1104 ;; Delete Mac OS X specific files. If not deleted, these cause
1105 ;; several hidden files to be installed.
1106 (add-before 'install 'delete-macosx-files
1107 (lambda _
1108 (delete-file-recursively "__MACOSX")
1109 #t))
532f09df
AG
1110 (add-after 'install 'install-conf
1111 (lambda* (#:key outputs #:allow-other-keys)
1112 (let ((conf-dir (string-append (assoc-ref outputs "out")
1113 "/share/fontconfig/conf.avail")))
1114 (mkdir-p conf-dir)
1115 (call-with-output-file
1116 (string-append conf-dir "/30-comic-neue.conf")
1117 (lambda (port)
1118 (format port "<?xml version=\"1.0\"?>
1119<!DOCTYPE fontconfig SYSTEM \"fonts.dtd\">
1120<fontconfig>
1121 <!-- If Comic Sans is missing, use Comic Neue instead. -->
1122 <alias>
1123 <family>Comic Sans MS</family>
1124 <prefer>
1125 <family>Comic Neue</family>
1126 </prefer>
1127 </alias>
1128</fontconfig>\n"))))
b963d8c2
AG
1129 #t)))))
1130 (home-page "http://www.comicneue.com/")
1131 (synopsis "Font that fixes the shortcomings of Comic Sans")
1132 (description
1133 "Comic Neue is a font that attempts to create a respectable casual
446e1d51 1134typeface, by mimicking Comic Sans while fixing its most obvious shortcomings.")
b963d8c2 1135 (license license:silofl1.1)))
de191caf
AG
1136
1137(define-public font-iosevka
1138 (package
208abeca 1139 (name "font-iosevka")
785747a9
TGR
1140 (version "2.2.0")
1141 (source
1142 (origin
1143 (method url-fetch/zipbomb)
1144 (uri (string-append "https://github.com/be5invis/Iosevka"
1145 "/releases/download/v" version
1146 "/ttc-iosevka-" version ".zip"))
1147 (sha256
1148 (base32 "14jfv6pkh1w44m89z2fn44kgmmqaf0057lk71advwfbm3q313y0x"))))
4a9140b1 1149 (build-system font-build-system)
208abeca
AG
1150 (home-page "https://be5invis.github.io/Iosevka/")
1151 (synopsis "Coders' typeface, built from code")
1152 (description
1153 "Iosevka is a slender monospace sans-serif or slab-serif typeface inspired
de191caf
AG
1154by Pragmata Pro, M+, and PF DIN Mono, designed to be the ideal font for
1155programming. Iosevka is completely generated from its source code.")
208abeca
AG
1156 (license (list license:silofl1.1 ; build artifacts (i.e. the fonts)
1157 license:bsd-3)))) ; supporting code
49dbae54 1158
c948cf90
TGR
1159(define-public font-iosevka-slab
1160 (package
1161 (inherit font-iosevka)
1162 (name "font-iosevka-slab")
1163 (version (package-version font-iosevka))
1164 (source
1165 (origin
1166 (method url-fetch/zipbomb)
1167 (uri (string-append "https://github.com/be5invis/Iosevka"
1168 "/releases/download/v" version
1169 "/ttc-iosevka-slab-" version ".zip"))
1170 (sha256
1171 (base32 "186d0pl13znysll3hvzm1ixn7ad616g6dhla55sbh6ki2j04b8ml"))))))
1172
49dbae54 1173(define-public font-go
406c46e2 1174 (let ((commit "f03a046406d4d7fbfd4ed29f554da8f6114049fc")
49dbae54
AG
1175 (revision "1"))
1176 (package
b6726480
AG
1177 (name "font-go")
1178 (version (string-append "20170330-" revision "." (string-take commit 7)))
1179 (source (origin
1180 (file-name (string-append "go-image-" version "-checkout"))
1181 (method git-fetch)
1182 (uri (git-reference
1183 (url "https://go.googlesource.com/image")
1184 (commit commit)))
1185 (sha256
1186 (base32
1187 "1aq6mnjayks55gd9ahavk6jfydlq5lm4xm0xk4pd5sqa74p5p74d"))))
1188 (build-system font-build-system)
1189 (arguments
1190 `(#:phases
1191 (modify-phases %standard-phases
1192 (add-before 'install 'chdir
1193 (lambda _
1194 (chdir "font/gofont/ttfs")
1195 #t)))))
1196 (home-page "https://blog.golang.org/go-fonts")
1197 (synopsis "The Go font family")
1198 (description
1199 "The Go font family is a set of WGL4 TrueType fonts from the Bigelow &
49dbae54
AG
1200Holmes type foundry, released under the same license as the Go programming
1201language. It includes a set of proportional, sans-serif fonts, and a set of
1202monospace, slab-serif fonts.")
87f057c4 1203 (license license:bsd-3))))
824e5fe6
JMSG
1204
1205(define-public font-google-material-design-icons
1206 (package
99e9d598
AI
1207 (name "font-google-material-design-icons")
1208 (version "3.0.1")
1209 (source (origin
1e90e4b0
EF
1210 (method git-fetch)
1211 (uri (git-reference
1212 (url "https://github.com/google/material-design-icons.git")
1213 (commit version)))
1214 (file-name (git-file-name name version))
99e9d598
AI
1215 (sha256
1216 (base32
1e90e4b0 1217 "17q5brcqyyc8gbjdgpv38p89s60cwxjlwy2ljnrvas5cj0s62np0"))))
99e9d598
AI
1218 (build-system font-build-system)
1219 (home-page "http://google.github.io/material-design-icons")
1220 (synopsis "Icon font of Google Material Design icons")
1221 (description
1222 "Material design system icons are simple, modern, friendly, and sometimes
824e5fe6
JMSG
1223quirky. Each icon is created using our design guidelines to depict in simple
1224and minimal forms the universal concepts used commonly throughout a UI.
1225Ensuring readability and clarity at both large and small sizes, these icons
1226have been optimized for beautiful display on all common platforms and display
1227resolutions.")
99e9d598 1228 (license license:asl2.0)))
6bce5955 1229
abd8825f 1230(define-public font-open-dyslexic
1231 (package
1232 (name "font-open-dyslexic")
1233 (version "20160623")
1234 (source
1235 (origin
c6abe904
EF
1236 (method git-fetch)
1237 (uri (git-reference
1238 (url "https://github.com/antijingoist/open-dyslexic.git")
1239 (commit (string-append version "-Stable"))))
1240 (file-name (git-file-name name version))
abd8825f 1241 (sha256
1242 (base32
c6abe904 1243 "0nr7s92nk1kbr459154idnib977ixc70z6g9mbra3lp73nyrmyvz"))))
abd8825f 1244 (build-system font-build-system)
1245 (home-page "https://opendyslexic.org")
1246 (synopsis "Font for dyslexics and high readability")
1247 (description "OpenDyslexic is a font designed to help readability for some
1248of the symptoms of dyslexia. Letters have heavy weighted bottoms to provide
1249an indication of orientation to make it more difficult to confuse with other
1250similar letters. Consistently weighted bottoms can also help reinforce the
1251line of text. The unique shapes of each letter can help prevent flipping and
1252swapping. The italic style for OpenDyslexic has been crafted to be used for
1253emphasis while still being readable.")
1254 (license
1255 (license:fsdg-compatible
1256 "https://www.gnome.org/fonts/#Final_Bitstream_Vera_Fonts"
1257 "The Font Software may be sold as part of a larger software package but
1258no copy of one or more of the Font Software typefaces may be sold by
1259itself."))))
27a10775 1260
1261(define-public font-dosis
1262 (package
1263 (name "font-dosis")
1264 (version "1.7")
1265 (source
1266 (origin
6aa4f09e 1267 (method url-fetch/zipbomb)
27a10775 1268 (uri (string-append "http://www.impallari.com/media/releases/dosis-"
1269 "v" version ".zip"))
1270 (sha256
1271 (base32
1272 "1qhci68f68mf87jd69vjf9qjq3wydgw1q7ivn3amjb65ls1s0c4s"))))
6aa4f09e 1273 (build-system font-build-system)
27a10775 1274 (home-page "http://www.impallari.com/dosis")
1275 (synopsis "Very simple, rounded, sans serif family")
1276 (description
1277 "Dosis is a very simple, rounded, sans serif family.
1278The lighter weights are minimalist. The bolder weights have more personality.
1279The medium weight is nice and balanced. The overall result is a family
1280that's clean and modern, and can express a wide range of voices & feelings.
1281It comes in 7 incremental weights:
1282ExtraLight, Light, Book, Medium, Semibold, Bold & ExtraBold")
1283 (license license:silofl1.1)))
f8602046 1284
733d66a5 1285(define-public font-culmus
f8602046 1286 (package
733d66a5 1287 (name "font-culmus")
cebec8bd 1288 (version "0.133")
f8602046 1289 (source
733d66a5
AI
1290 (origin
1291 (method url-fetch)
1292 (uri (string-append "https://sourceforge.net/projects/"
1293 "culmus/files/culmus/" version "/culmus-src-"
1294 version ".tar.gz"))
1295 (sha256
1296 (base32
cebec8bd 1297 "02akysgsqhi15cck54xcacm16q5raf4l7shgb8fnj7xr3c1pbfyp"))))
0328c514 1298 (build-system font-build-system)
f8602046 1299 (arguments
0328c514 1300 `(#:phases
f8602046 1301 (modify-phases %standard-phases
0328c514 1302 (add-before 'install 'build
f8602046
EF
1303 (lambda _
1304 (let ((compile
1305 (lambda (name ext)
0328c514
AI
1306 (invoke
1307 "fontforge" "-lang=ff"
1308 "-c" (string-append "Open('" name "');"
1309 "Generate('"
1310 (basename name "sfd") ext
1311 "')")))))
f8602046 1312 ;; This part based on the fonts shipped in the non-source package.
0328c514
AI
1313 (for-each (lambda (name)
1314 (compile name "ttf"))
1315 (find-files "." "^[^Nachlieli].*\\.sfd$"))
1316 (for-each (lambda (name)
1317 (compile name "otf"))
1318 (find-files "." "^Nachlieli.*\\.sfd$"))
f8602046
EF
1319 #t))))))
1320 (native-inputs
1321 `(("fontforge" ,fontforge)))
1322 (home-page "http://culmus.sourceforge.net/")
1323 (synopsis "TrueType Hebrew Fonts for X11")
1324 (description "14 Hebrew trivial families. Contain ASCII glyphs from various
1325sources. Those families provide a basic set of a serif (Frank Ruehl), sans
1326serif (Nachlieli) and monospaced (Miriam Mono) trivials. Also included Miriam,
1327Drugulin, Aharoni, David, Hadasim etc. Cantillation marks support is
1328available in Keter YG.")
1329 (license license:gpl2))) ; consult the LICENSE file included
4769ef00
AI
1330
1331(define-public font-lohit
1332 (package
1333 (name "font-lohit")
1334 (version "20140220")
1335 (source
1336 (origin
1337 (method url-fetch)
1338 (uri (string-append "https://releases.pagure.org/lohit/lohit-ttf-"
1339 version ".tar.gz"))
1340 (sha256
1341 (base32
1342 "1rmgr445hw1n851ywy28csfvswz1i6hnc8mzp88qw2xk9j4dn32d"))))
1343 (build-system font-build-system)
1344 (home-page "https://pagure.io/lohit")
1345 (synopsis "Lohit TrueType Indic fonts")
1346 (description "Lohit is a font family designed to cover Indic scripts.
1347Lohit supports the Assamese, Bengali, Devanagari (Hindi, Kashmiri, Konkani,
1348Maithili, Marathi, Nepali, Sindhi, Santali, Bodo, Dogri languages), Gujarati,
1349Kannada, Malayalam, Manipuri, Oriya, Punjabi, Tamil and Telugu scripts.")
1350 (license license:silofl1.1)))
f00d66b1
LC
1351
1352(define-public font-blackfoundry-inria
1353 (package
1354 (name "font-blackfoundry-inria")
1355 (version "1.200")
1356 (home-page "https://github.com/BlackFoundry/InriaFonts")
1357 (source (origin
1358 (method git-fetch)
1359 (uri (git-reference
1360 (url home-page)
1361 (commit (string-append "v" version))))
1362 (sha256
1363 (base32
1364 "06775y99lyh6hj5hzvrx56iybdck8a8xfqkipqd5c4cldg0a9hh8"))
1365 (file-name (string-append name "-" version "-checkout"))))
1366 ;; XXX: There are .ufo directories (the "source") so in theory we should
1367 ;; be able to rebuild TTF and OTF files with FontForge. Unfortunately a
1368 ;; command like:
1369 ;;
1370 ;; fontforge -lang=ff -c "Open('InriaSans-Regular.ufo'); Generate('foo.ttf');"
1371 ;;
1372 ;; segfaults in '_UFOLoadGlyph', which calls out to libpython. :-/
1373 ;; In the meantime we ship the precompiled OTF and TTF files.
1374 (build-system font-build-system)
1375 (synopsis "Inria Sans and Inria Serif type family")
1376 (description
1377 "Inria Sans and Inria Serif are the two members of a type family designed
1378for Inria, a public research institute in computer science and mathematics.")
1379 (license license:silofl1.1)))
1d641734
LC
1380
1381(define-public font-sil-gentium
1382 (package
1383 (name "font-sil-gentium")
1384 (version "5.000")
1385 (source (origin
1386 (method url-fetch)
1387 (uri (string-append
1388 "https://software.sil.org/downloads/r/gentium/GentiumPlus-"
1389 version ".zip"))
1390 (sha256
1391 (base32
1392 "0m7189870hha217n1vgpmf89mwggrxkh679ffi1lxpnjggqi2n9k"))))
1393 ;; Note: The zip file provides TTF files only, but the developer release,
1394 ;; which contains additional files, has a 'SOURCES.txt' file that says
1395 ;; that "the primary source files for the fonts are the fonts themselves".
1396 ;; Thus it looks like the TTF can be considered source.
1397 (build-system font-build-system)
1398 (synopsis "Serif font for the Cyrillic, Greek, and Latin alphabets")
1399 (description
1400 "Gentium is a typeface family designed to enable the diverse ethnic
1401groups around the world who use the Latin, Cyrillic and Greek scripts to
1402produce readable, high-quality publications. The font comes with regular and
1403italics shapes. This package provides only TrueType files (TTF).")
1404 (home-page "https://software.sil.org/gentium/")
1405 (license license:silofl1.1)))
46e78707 1406
4b360985
NG
1407(define-public font-sil-andika
1408 (package
1409 (name "font-sil-andika")
1410 (version "5.000")
1411 (source (origin
1412 (method url-fetch)
1413 (uri (string-append
1414 "https://software.sil.org/downloads/r/andika/Andika-"
1415 version ".zip"))
1416 (sha256
1417 (base32
1418 "01zm7p32gxfwmv7h3cfj2vx59846w2y6rxqy67grn2dyjh8pljv0"))))
1419 ;; As for Gentium (see above), the TTF files are considered source.
1420 (build-system font-build-system)
1421 (synopsis "Sans serif font designed especially for literacy use")
1422 (description
1423 "Andika SIL is a sans serif, Unicode-compliant font designed especially
1424for literacy use, taking into account the needs of beginning readers. The
1425focus is on clear, easy-to-perceive letterforms that will not be readily
1426confused with one another. This package provides only TrueType files (TTF).")
1427 (home-page "https://software.sil.org/andika/")
1428 (license license:silofl1.1)))
1429
46e78707
LC
1430(define-public font-sil-charis
1431 (package
1432 (name "font-sil-charis")
1433 (version "5.000")
1434 (source (origin
1435 (method url-fetch)
1436 (uri (string-append
1437 "https://software.sil.org/downloads/r/charis/CharisSIL-"
1438 version ".zip"))
1439 (sha256
1440 (base32
1441 "1zcvw37f1a7gkml3yfm6hxh93844llm7xj4w52600qq3ndrm8gjy"))))
1442 ;; As for Gentium (see above), the TTF files are considered source.
1443 (build-system font-build-system)
1444 (synopsis "Serif font for the Cyrillic and Latin alphabets")
1445 (description
1446 "Charis SIL is a Unicode-based font family that supports the wide range
1447of languages that use the Latin and Cyrillic scripts. It is specially
1448designed to make long texts pleasant and easy to read, even in less than ideal
1449reproduction and display environments. This package provides only TrueType
1450files (TTF).")
1451 (home-page "https://software.sil.org/charis/")
1452 (license license:silofl1.1)))
3c5e1364
GH
1453
1454(define-public font-mononoki
1455 (package
1456 (name "font-mononoki")
1457 (version "1.2")
1458 (source (origin
1459 (method git-fetch)
1460 (uri (git-reference
1461 (url "https://github.com/madmalik/mononoki/")
1462 (commit version)))
1463 (sha256
1464 (base32
1465 "1rkzyxn30rn8qv2h2xz324j7q15hzg2lci8790a7cdl1dfgic4xi"))
1466 (file-name (git-file-name name version))))
1467 (build-system font-build-system)
1468 (synopsis "Font for programming and code review")
1469 (description
1470 "Mononoki is a typeface by Matthias Tellen, created to enhance code
1471formatting.")
1472 (home-page "https://madmalik.github.io/mononoki/")
1473 (license license:silofl1.1)))
245aa0e3
J
1474
1475(define-public font-public-sans
1476 (package
1477 (name "font-public-sans")
1478 (version "1.0.0")
1479 (source (origin
1480 (method git-fetch)
1481 (uri (git-reference
1482 (url "https://github.com/uswds/public-sans.git")
1483 (commit (string-append "v" version))))
1484 (file-name (git-file-name name version))
1485 (sha256
1486 (base32
1487 "12ccj7ph3pg962d52d3slbvd44gwfm6bb2846dxyf1xc5h2iwhdv"))
1488 (modules '((guix build utils)))
1489 (snippet
1490 '(begin
1491 ;; remove versions of predecessor font
1492 (delete-file-recursively "fonts/_archive")
1493 #t))))
1494 (build-system font-build-system)
1495 (home-page "https://public-sans.digital.gov/")
4c89dc35 1496 (synopsis "Neutral typeface for interfaces, text, and headings")
245aa0e3 1497 (description
4c89dc35
LC
1498 "Public Sans is a strong, neutral, sans-serif typeface for text or
1499display based on Libre Franklin.")
245aa0e3 1500 (license license:silofl1.1)))
50867421
Z
1501
1502(define-public font-hermit
1503 (package
1504 (name "font-hermit")
1505 (version "2.0")
1506 (source (origin
1731b297 1507 (method url-fetch/tarbomb)
50867421
Z
1508 (uri (string-append "https://pcaro.es/d/otf-hermit-" version
1509 ".tar.gz"))
1510 (sha256
1511 (base32
1512 "09rmy3sbf1j1hr8zidighjgqc8kp0wsra115y27vrnlf10ml6jy0"))))
1513 (build-system font-build-system)
1514 (arguments
1731b297 1515 `(#:tests? #f))
50867421
Z
1516 (home-page "https://pcaro.es/p/hermit/")
1517 (synopsis "Monospace font")
1518 (description
1519 "Hermit is a monospace font designed to be clear, pragmatic and very
1520readable. Its creation has been focused on programming. Every glyph was
1521carefully planned and calculated, according to defined principles and rules.
1522For this reason, Hermit is coherent and regular.
1523
1524Symbols stand out from common text. Dots and commas are easily seen, and
1525operators are clear even when not surrounded by spaces. Similar characters
1526have been designed to be very distinguishable from each other.")
1527 (license license:silofl1.1)))
600f680d
AT
1528
1529(define-public font-dseg
1530 (package
1531 (name "font-dseg")
1532 (version "0.45")
1533 (source
1534 (origin
1535 (method url-fetch/zipbomb)
1536 (uri
1537 (string-append "https://github.com/keshikan/DSEG/"
1538 "releases/download/v" version
1539 "/fonts-DSEG_v"
1540 (string-concatenate (string-split version #\.))
1541 ".zip"))
1542 (sha256
1543 (base32
1544 "0v8sghh4vl286faf8pvi74znz07pyf0qii8z4wjllisqwc35sx72"))))
1545 (build-system font-build-system)
1546 (arguments
1547 `(#:phases
1548 (modify-phases %standard-phases
1549 (replace 'install
1550 (lambda* (#:key outputs #:allow-other-keys)
1551 (let* ((out (assoc-ref outputs "out"))
1552 (font-dir (string-append out "/share/fonts"))
1553 (truetype-dir (string-append font-dir "/truetype")))
1554 (with-directory-excursion
1555 (string-append "fonts-DSEG_v"
1556 (apply string-append (string-split ,version
1557 #\.)))
1558 (for-each (lambda (f) (install-file f truetype-dir))
1559 (find-files "." "\\.ttf$"))
1560 #t)))))))
1561 (home-page "https://www.keshikan.net/fonts-e.html")
1562 (synopsis "DSEG: 7-segment and 14-segment fonts")
1563 (description
1564 "DSEG is a font family that imitates seven- and fourteen-segment LCD
1565displays (7SEG, 14SEG). DSEG includes the roman alphabet and symbol glyphs.
1566This package provides the TrueType fonts.")
1567 (license license:silofl1.1)))