gnu: texlive-amsfonts: Only create tfm files for Euler fonts.

* gnu/packages/tex.scm (texlive-amsfonts)[arguments]<#:phases>[build-fonts]:
Invoke `afm2tfm' for only the Euler fonts.
This commit is contained in:
Jelle Licht 2020-10-26 22:26:46 +01:00 committed by Ricardo Wurmus
parent 7899a10e8e
commit d9f733ad8b
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1116,7 +1116,7 @@ (define-public texlive-amsfonts
;; convert the afm files instead.
(let ((build (string-append (getcwd) "/build-fonts/euler")))
(mkdir build)
(with-directory-excursion "fonts/afm/public/amsfonts/"
(with-directory-excursion "fonts/afm/public/amsfonts/euler"
(for-each (lambda (font)
(format #t "converting afm font ~a\n" (basename font ".afm"))
(invoke "afm2tfm" font