summaryrefslogtreecommitdiff
path: root/init.sh
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2019-10-22 17:55:36 +0300
committerRasmus Andersson <rasmus@notion.se>2019-10-22 17:55:36 +0300
commitbc8b267b01d4652334e6f4a5452e77fbf79b329d (patch)
tree12e83a1e1176e07c6a888f13d68d32070540187e /init.sh
parent4ca248c6c836a89064e8282937fbde417983478f (diff)
downloadinter-bc8b267b01d4652334e6f4a5452e77fbf79b329d.tar.xz
Generate OTF (quads, not cff) for VF, rename upright to roman and add googlefonts makefile target
Diffstat (limited to 'init.sh')
-rwxr-xr-xinit.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/init.sh b/init.sh
index fc1baaaef..3683a74b6 100755
--- a/init.sh
+++ b/init.sh
@@ -522,6 +522,20 @@ else
# done
# echo "" >> "$GEN_MAKE_FILE"
+ # googlefonts_all target
+ echo -n "googlefonts_all:" >> "$GEN_MAKE_FILE"
+ echo -n " build/googlefonts/var/Inter.var.otf" >> "$GEN_MAKE_FILE"
+ echo -n " build/googlefonts/var/Inter.var.woff2" >> "$GEN_MAKE_FILE"
+ echo -n " build/googlefonts/var/Inter-roman.var.otf" >> "$GEN_MAKE_FILE"
+ echo -n " build/googlefonts/var/Inter-roman.var.woff2" >> "$GEN_MAKE_FILE"
+ echo -n " build/googlefonts/var/Inter-italic.var.otf" >> "$GEN_MAKE_FILE"
+ echo -n " build/googlefonts/var/Inter-italic.var.woff2" >> "$GEN_MAKE_FILE"
+ for style in "${all_styles[@]}"; do
+ echo -n " build/googlefonts/const/Inter-${style}.otf" >> "$GEN_MAKE_FILE"
+ echo -n " build/googlefonts/const/Inter-${style}.woff2" >> "$GEN_MAKE_FILE"
+ done
+ echo "" >> "$GEN_MAKE_FILE"
+
echo -n ".PHONY: all_otf all_ttf_hinted all_ttf all_web all_web_hinted all_ufo all_check_const" >> "$GEN_MAKE_FILE"
for style in "${all_styles[@]}"; do