summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7c15928..3912400 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,7 @@ all: $(flavors:%=$(stem)-%.pdf)
download:: get-$(stem).raw
download:: get-$(stem)-front-logo2.bmp get-$(stem)-front-a4-orig.svg
download:: get-$(stem)-front-photo-orig.jpg
+download:: get-fonts
get-$(stem).raw: get-%:
# FIXME: website apparently down (last checked 2017-03-30)
@@ -65,6 +66,15 @@ get-$(stem)-front-logo2.bmp: get-%:
get-$(stem)-front-a4-orig.svg: get-%:
curl -o '$*' 'http://siri.biks.dk/transparency/transparency_front.svg'
+get-fonts:
+ curl -LO https://github.com/cyrealtype/Lora-Cyrillic/raw/master/fonts/ttf/Lora-{Regular,Italic,Bold,BoldItalic}.ttf
+ curl -Lo quattrocento-sans-v2.0.zip http://www.impallari.com/media/uploads/prosources/update-19-source.zip
+ unzip -uo quattrocento-sans-v2.0.zip quattrocento-sans-v2.0/*.ttf
+
+install-fonts:
+ mkdir -p ~/.fonts
+ cp -ft ~/.fonts Lora-*.ttf quattrocento-sans-v2.0/*.ttf
+
$(stem)-front-photo.jpg: $(stem)-front-photo-orig.jpg
cp -f $< $@
jpegoptim --strip-all --all-progressive --force $@