From 4d34ea76dd72cc811cb1e40bc5f91dc74b3e3dc3 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Mon, 13 Dec 2021 17:17:25 -0500 Subject: update font handling --- fonts/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 fonts/Makefile (limited to 'fonts/Makefile') diff --git a/fonts/Makefile b/fonts/Makefile new file mode 100644 index 0000000..13e1c08 --- /dev/null +++ b/fonts/Makefile @@ -0,0 +1,23 @@ +fonts = Brill_Typeface_2.06 \ + InconsolataHellenic.otf \ + ubuntu-font-family-0.80 \ + Courier-Prime \ + Fell \ + SourceCodePro_FontsOnly-1.017 \ + Vollkorn + +all: $(fonts) + +clean: + rm -f $(fonts) + +install: $(fonts) + [ -d ~/.fonts ] || mkdir -p ~/.fonts + rsync -av $^ .fonts/ + +# Requires fontforge +InconsolataHellenic.otf: Inconsolata-Hellenic/Inconsolata-Hellenic.sfd convert.pe + fontforge -script convert.pe $< + mv -f $(<:.sfd=.otf) $@ + +.PHONY: all clean install -- cgit v1.2.3