From 5aab1b43b2e8ed190cf26bee592c8c934d3da783 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Sun, 23 Mar 2025 19:22:30 +0000 Subject: [PATCH] Fix downloading pacifico font --- fonts/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fonts/Makefile b/fonts/Makefile index 7525dcf..96d20ee 100644 --- a/fonts/Makefile +++ b/fonts/Makefile @@ -7,7 +7,7 @@ ROBOTO_SLAB_ZIP := https://github.com/googlefonts/robotoslab/archive/a65e6d SOURCE_CODE_PRO_ZIP := https://github.com/adobe-fonts/source-code-pro/releases/download/2.038R-ro%2F1.058R-it%2F1.018R-VAR/OTF-source-code-pro-2.038R-ro-1.058R-it.zip SOURCE_SANS_PRO_ZIP := https://github.com/adobe-fonts/source-sans/releases/download/2.045R-ro%2F1.095R-it/source-sans-pro-2.045R-ro-1.095R-it.zip SOURCE_SERIF_PRO_ZIP := https://github.com/adobe-fonts/source-serif/releases/download/3.001R/source-serif-pro-3.001R.zip -PACIFICO_ZIP := https://fonts.google.com/download?family=Pacifico +PACIFICO := https://raw.githubusercontent.com/googlefonts/Pacifico/refs/heads/main/fonts/ttf/Pacifico-Regular.ttf UNZIP_FLAGS := -x "__MACOSX/*" @@ -25,7 +25,7 @@ all: sources cd source-code-pro && unzip -j /tmp/source-code-pro.zip "*.otf" $(UNZIP_FLAGS) cd source-sans-pro && unzip -j /tmp/source-sans-pro.zip "source-sans-pro-2.045R-ro-1.095R-it/OTF/*.otf" $(UNZIP_FLAGS) cd source-serif-pro && unzip -j /tmp/source-serif-pro.zip "source-serif-pro-3.001R/OTF/*.otf" $(UNZIP_FLAGS) - cd pacifico && unzip -j /tmp/pacifico.zip "*.ttf" $(UNZIP_FLAGS) + cd pacifico && cp /tmp/pacifico.ttf . .PHONY: sources sources: @@ -36,7 +36,7 @@ sources: wget $(SOURCE_CODE_PRO_ZIP) -O /tmp/source-code-pro.zip wget $(SOURCE_SANS_PRO_ZIP) -O /tmp/source-sans-pro.zip wget $(SOURCE_SERIF_PRO_ZIP) -O /tmp/source-serif-pro.zip - wget $(PACIFICO_ZIP) -O /tmp/pacifico.zip + wget $(PACIFICO) -O /tmp/pacifico.ttf .PHONY: clean clean: