Skip to content

Add missing font Pacifico #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ Beginner handout [(download pdf)](https://matplotlib.org/cheatsheets/handout-beg
or https://github.com/adobe-fonts/source-sans-pro/tree/release/OTF
* `fonts/source-serif-pro/*` : See https://fonts.google.com/specimen/Source+Serif+Pro
or https://github.com/adobe-fonts/source-serif-pro/tree/release/OTF
* `fonts/delicious-123/*` : See https://www.exljbris.com/delicious.html
* `fonts/eb-garamond/*` : See https://bitbucket.org/georgd/eb-garamond/src/master
* `fonts/pacifico/*` : See https://fonts.google.com/download?family=Pacifico

On Linux, with `make` installed, the fonts can be set up with the following command:
```shell
Expand Down
5 changes: 4 additions & 1 deletion fonts/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FONT_DIRS := eb-garamond roboto roboto-mono roboto-slab source-code-pro source-sans-pro source-serif-pro
FONT_DIRS := eb-garamond roboto roboto-mono roboto-slab source-code-pro source-sans-pro source-serif-pro pacifico

EB_GARAMOND_ZIP := https://bitbucket.org/georgd/eb-garamond/downloads/EBGaramond-0.016.zip
ROBOTO_ZIP := https://github.com/googlefonts/roboto/releases/download/v2.138/roboto-unhinted.zip
Expand All @@ -7,6 +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

UNZIP_FLAGS := -x "__MACOSX/*"

Expand All @@ -24,6 +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)

.PHONY: sources
sources:
Expand All @@ -34,6 +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

.PHONY: clean
clean:
Expand Down