+
+(define-public font-jetbrains-mono
+ (package
+ (name "font-jetbrains-mono")
+ (version "2.210")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://github.com/JetBrains/JetBrainsMono/releases/"
+ "download/v" version "/JetBrainsMono-" version ".zip"))
+ (sha256
+ (base32 "19wbggnmqs3k1wdqy7l7imnx23g7hh159pl32nz3mzz8s8sqfdix"))))
+ (build-system font-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'install-license-files 'change-directory-to-archive-root
+ ;; Find the license file outside of the default subdirectory.
+ (lambda _
+ (chdir "..")
+ #t))
+ (replace 'install-license-files
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (string-append out "/share/doc/" ,name "-" ,version)))
+ (install-file "OFL.txt" doc)
+ #t))))))
+ (home-page "https://www.jetbrains.com/lp/mono/")
+ (synopsis "Mono typeface for developers")
+ (description
+ "JetBrains Mono is a font family dedicated to developers. JetBrains
+Mono’s typeface forms are simple and free from unnecessary details. Rendered
+in small sizes, the text looks crisper.")
+ (license license:asl2.0)))
+
+(define-public font-juliamono
+ (package
+ (name "font-juliamono")
+ (version "0.025")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cormullion/juliamono")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1w8mpl9zc1y4j1f26ikbz5g9dqsszhikp4r9p1d3ch3b5ayb5c3m"))))
+ (build-system font-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'delete-website-folder
+ ;; This folder contains other unrelated fonts.
+ (lambda _
+ (delete-file-recursively "website")
+ #t)))))
+ (home-page "https://github.com/cormullion/juliamono")
+ (synopsis "Monospaced font for programming")
+ (description
+ "JuliaMono is a monospaced font for scientific and technical computing,
+designed to work for programming in the Julia Programming Language and other
+text environments.")
+ (license license:silofl1.1)))
+
+(define-public font-vazir
+ (package
+ (name "font-vazir")
+ (version "22.1.0")
+ (source
+ (origin
+ (method url-fetch/zipbomb)
+ (uri
+ (string-append "https://github.com/rastikerdar/vazir-font/"
+ "releases/download/v" version
+ "/vazir-font-v" version ".zip"))
+ (sha256
+ (base32
+ "0w3gwb5q33x5llw7cfs8qhaxr4ssg6rsx4b9day3993zn24xq031"))))
+ (build-system font-build-system)
+ (home-page "https://rastikerdar.github.io/vazir-font/")
+ (synopsis "Vazir Persian typeface")
+ (description
+ "Vazir is a beautiful and elegant Persian typeface originally based on
+DejaVu, and comes in six variants: Thin, Light, Normal, Medium, Bold, and
+Black. This package provides four versions of Vazir:
+
+@itemize
+@item @code{Vazir}: The main version; includes Latin glyphs from Roboto.
+@item @code{Vazir-FD}: Like @code{Vazir}, but (always) uses Farsi digit glyphs
+instead of Latin ones.
+@item @code{Vazir-WOL}: Like @code{Vazir}, but without Roboto's Latin glyphs.
+@item @code{Vazir-FD-WOL}: Combination of @code{Vazir-FD} and @code{Vazir-WOL}:
+always uses Farsi digits, and does not include Latin glyphs from Roboto.
+@end itemize\n")
+ (license
+ ;; See https://github.com/rastikerdar/vazir-font/blob/master/LICENSE for
+ ;; details.
+ (list license:public-domain ; the Vazir modifications to DejaVu
+ ; and the DejaVu modifications to...
+ (license:x11-style ; ...the Bitstream Vera typeface
+ "file://LICENSE" "Bitstream Vera License")
+ license:asl2.0)))) ; Latin glyphs from Roboto
+
+(define-public font-meera-inimai
+ (package
+ (name "font-meera-inimai")
+ (version "2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/smc/meera-inimai")
+ (commit "0f39cdd7dbf1b6d1bed7df85834d33789dce20a7")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1x5mhrpx24imh0r4l83mkaiszxgwi1q4ppyyvq63h3ddwk20cwdg"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("fontforge" ,fontforge)
+ ("harfbuzz" ,harfbuzz "bin")
+ ("python" ,python-minimal)
+ ("python-fonttools" ,python-fonttools)
+ ("python-google-brotli" ,python-google-brotli)))
+ (arguments
+ `(#:make-flags (list "PY=python3"
+ (string-append "DESTDIR=" %output)
+ "fontpath=/share/fonts/truetype")
+ #:test-target "test"
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (home-page "https://gitlab.com/smc/meera-inimai")
+ (synopsis "Meera Inimai Tamil font")
+ (description "Meera Inimai is a Unicode font for the Tamil Script. Meera
+Inimai is a san-serif typeface. It is best used as a screen font for body
+text. It is also useful for body text of printed pamphlets or single page
+designs. Meera Inimai can be thought of as similar to Helvetica and its
+variation Arial. Tamil characters are inherently vertically-elliptical. The
+orthography of Roman glyphs of Meera Inimai are also based on this
+characteristic so that they sit smoothly with the Tamil glyphs.")
+ (license license:silofl1.1)))
+
+(define-public font-ipa-mj-mincho
+ (package
+ (name "font-ipa-mj-mincho")
+ (version "006.01")
+ (source (origin
+ (method url-fetch/zipbomb)
+ (uri (string-append "https://mojikiban.ipa.go.jp/OSCDL/IPAmjMincho"
+ "/ipamjm" (string-join (string-split version #\.) "")
+ ".zip"))
+ (sha256
+ (base32
+ "0s2vs9p7vd7ajnn6c2icli069sjwi4d45a39fczqpwwn507lwj9m"))))
+ (build-system font-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'install-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((doc-dir (string-append (assoc-ref outputs "out")
+ "/share/doc/font-ipa-mj-mincho")))
+ (mkdir-p doc-dir)
+ (copy-file "Readme.txt" (string-append doc-dir "/README"))
+ (copy-file "IPA_Font_License_Agreement_v1.0.txt"
+ (string-append doc-dir "/LICENSE"))
+ #t))))))
+ (home-page "https://mojikiban.ipa.go.jp/1300.html")
+ (synopsis "Japanese font from the Information-technology Promotion Agency")
+ (description "MJM Mincho is a font that aims at, for example, allowing you
+to write people's name, or for formal business situations where it is necessary
+to have a detailed and proper character style.")
+ (license license:ipa)))
+
+(define-public font-fontna-yasashisa-antique
+ (package
+ (name "font-fontna-yasashisa-antique")
+ (version "0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://flop.sakura.ne.jp/font/fontna-op/"
+ "YasashisaAntiqueFont.zip"))
+ (sha256
+ (base32
+ "1hl2qk3lzmh9h2vv5647vhlslkn3vqbq9rqgp4wzybajafx8c6nj"))))
+ (build-system font-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; encoding issues cause many phases to fail
+ (add-after 'unpack 'fix-encoding
+ (lambda _
+ ;; This directory, TrueType(サポート外), is not properly encoded,
+ ;; which makes rename-file fail. Instead, use shell globbing to
+ ;; select and rename the directory.
+ (invoke "sh" "-c" "mv TrueType* TrueType")
+ #t)))))
+ (native-inputs
+ `(("bash" ,bash-minimal)
+ ("coreutils" ,coreutils)))
+ (home-page "http://www.fontna.com/blog/1122/")
+ (synopsis "Mix font of gothic kanji and minchou kana")
+ (description "Antique is a font that is popular to write manga bubbles,
+dictionary headwords and picture books. This font reduces the thickness
+differences in characters compared to other antique fonts.")
+ (license (list license:ipa
+ (license:non-copyleft "mplus-TESTFLIGHT-057/LICENSE_E")))))
+
+(define-public font-mplus-testflight
+ (package
+ (name "font-mplus-testflight")
+ (version "063a")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://osdn.net/frs/redir.php?"
+ "m=gigenet&f=mplus-fonts%2F62344%2Fmplus-TESTFLIGHT-"
+ version ".tar.xz"))
+ (file-name (string-append name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0yfx9i77638yrgclnwwl4af79ri3vifi1nslwi6mgzva9cxrgss4"))))
+ (build-system font-build-system)
+ (home-page "https://mplus-fonts.osdn.jp/index.html")
+ (synopsis "Japanese font collection")
+ (description "M+ is a collection of Japanese fonts with all Latin glyph
+sets, with Basic Latin, Latin-1 Supplement, Latin Extended-A, and IPA
+Extensions. In addition to European letters used in many Western European
+languages, it contains Japanese characters, including Kana glyphs and more
+than 5,300 Kanji glyphs, as well major international phonetic symbols,
+operators and special symbols.")
+ (license (license:non-copyleft "file:///LICENSE_E"))))
+
+(define-public font-catamaran
+ (let ((commit "7559b4906f9c9148fb22c6f89508c3053a78a296")
+ (revision "1"))
+ (package
+ (name "font-catamaran")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/VanillaandCream/Catamaran-Tamil")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1wpp41l7j2kpgnyavhgxcc5wp852a4wqsnwravn39gp980s84yxw"))))
+ (build-system font-build-system)
+ (home-page "https://github.com/VanillaandCream/Catamaran-Tamil")
+ (synopsis "9 weight Tamil and Latin type")
+ (description "Catamaran is a 9 weight Tamil and Latin type. Catamaran
+is a stylish type with a polished yet relaxed feel. Its versatility makes it
+suitable for a wide range of uses.")
+ (license license:silofl1.1))))