Make-recipe for making FIGlet lisp code

This commit is contained in:
Jaidyn Ann 2023-06-30 13:41:22 -05:00
parent 6550cfb68a
commit 3b32b1f809
4 changed files with 3345 additions and 0 deletions

View File

@ -1,5 +1,8 @@
LISP ?= ecl
fonts:
$(LISP) \
--load "res/fonts/flf→lisp.lisp"
maps:
$(LISP) \
--load "res/maps/tmx→lisp.lisp"

18
res/fonts/flf→lisp.lisp Normal file
View File

@ -0,0 +1,18 @@
(ql:quickload '(alexandria str uiop))
(load "figlet.lisp")
(defun local-path (subpath)
(format nil "~A~A" (uiop:getcwd) subpath))
(mapcar
(lambda (font-name)
(figlet:save-font-to-file
(local-path (format nil "res/fonts/~A.flf.lisp" font-name))
(figlet:figlet-font-plist (local-path (format nil "res/fonts/~A.flf" font-name)))
":FLORA-SEARCH-AURORA"
(format nil "*~A-font*" font-name)))
'("standard" "small"))
(quit)

1097
res/fonts/small.flf Normal file

File diff suppressed because it is too large Load Diff

2227
res/fonts/standard.flf Normal file

File diff suppressed because it is too large Load Diff