Skip to content

Commit eb7a38b

Browse files
authored
Merge pull request #164 from dstansby/font-download
Fix downloading pacifico font
2 parents 2a2af53 + 5aab1b4 commit eb7a38b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fonts/Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ROBOTO_SLAB_ZIP := https://github.com/googlefonts/robotoslab/archive/a65e6d
77
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
88
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
99
SOURCE_SERIF_PRO_ZIP := https://github.com/adobe-fonts/source-serif/releases/download/3.001R/source-serif-pro-3.001R.zip
10-
PACIFICO_ZIP := https://fonts.google.com/download?family=Pacifico
10+
PACIFICO := https://raw.githubusercontent.com/googlefonts/Pacifico/refs/heads/main/fonts/ttf/Pacifico-Regular.ttf
1111

1212
UNZIP_FLAGS := -x "__MACOSX/*"
1313

@@ -25,7 +25,7 @@ all: sources
2525
cd source-code-pro && unzip -j /tmp/source-code-pro.zip "*.otf" $(UNZIP_FLAGS)
2626
cd source-sans-pro && unzip -j /tmp/source-sans-pro.zip "source-sans-pro-2.045R-ro-1.095R-it/OTF/*.otf" $(UNZIP_FLAGS)
2727
cd source-serif-pro && unzip -j /tmp/source-serif-pro.zip "source-serif-pro-3.001R/OTF/*.otf" $(UNZIP_FLAGS)
28-
cd pacifico && unzip -j /tmp/pacifico.zip "*.ttf" $(UNZIP_FLAGS)
28+
cd pacifico && cp /tmp/pacifico.ttf .
2929

3030
.PHONY: sources
3131
sources:
@@ -36,7 +36,7 @@ sources:
3636
wget $(SOURCE_CODE_PRO_ZIP) -O /tmp/source-code-pro.zip
3737
wget $(SOURCE_SANS_PRO_ZIP) -O /tmp/source-sans-pro.zip
3838
wget $(SOURCE_SERIF_PRO_ZIP) -O /tmp/source-serif-pro.zip
39-
wget $(PACIFICO_ZIP) -O /tmp/pacifico.zip
39+
wget $(PACIFICO) -O /tmp/pacifico.ttf
4040

4141
.PHONY: clean
4242
clean:

0 commit comments

Comments
 (0)