1
1
mirror of https://github.com/rsms/inter.git synced 2024-12-24 16:14:35 +03:00

makefile: italic ufo

This commit is contained in:
Rasmus Andersson 2018-09-11 23:40:13 -07:00
parent df94aca815
commit 26a7168d83
2 changed files with 11 additions and 9 deletions

View File

@ -83,8 +83,6 @@ $(FONTDIR)/const/Inter-UI-Regular.%: src/Inter-UI.designspace $(Regular_ufo_d)
$(FONTDIR)/const/Inter-UI-Black.%: src/Inter-UI.designspace $(Black_ufo_d)
misc/fontbuild compile -o $@ src/Inter-UI-Black.ufo
Italic_ufo_d := $(wildcard src/Inter-UI-RegularItalic.ufo/*.{fea,plist} src/Inter-UI-RegularItalic.ufo/glyphs/*.{glif,plist})
$(FONTDIR)/const/Inter-UI-Italic.%: src/Inter-UI.designspace $(Italic_ufo_d)
misc/fontbuild compile -o $@ src/Inter-UI-RegularItalic.ufo

18
init.sh
View File

@ -308,16 +308,16 @@ else
master_styles=( \
Regular \
Black \
Italic \
)
derived_styles=( \
"Italic : Regular" \
"Medium : Regular Black" \
"MediumItalic : Regular Black" \
"MediumItalic : Regular Black Italic" \
"Bold : Regular Black" \
"BoldItalic : Regular Black" \
"BoldItalic : Regular Black Italic" \
"ExtraBold : Regular Black" \
"ExtraBoldItalic : Regular Black" \
"BlackItalic : Regular Black" \
"ExtraBoldItalic : Regular Black Italic" \
"BlackItalic : Regular Black Italic" \
)
web_formats=( woff woff2 ) # Disabled/unused: eot
@ -348,8 +348,12 @@ else
# add master styles to style array
for style in "${master_styles[@]}"; do
all_styles+=( $style )
echo "${style}_ufo_d := " \
"\$(wildcard src/Inter-UI-${style}.ufo/* src/Inter-UI-${style}.ufo/*/*)" >> "$GEN_MAKE_FILE"
echo -n "${style}_ufo_d := \$(wildcard" >> "$GEN_MAKE_FILE"
echo -n " src/Inter-UI-${style}.ufo/*.plist" >> "$GEN_MAKE_FILE"
echo -n " src/Inter-UI-${style}.ufo/*.fea" >> "$GEN_MAKE_FILE"
echo -n " src/Inter-UI-${style}.ufo/glyphs/*.plist" >> "$GEN_MAKE_FILE"
echo -n " src/Inter-UI-${style}.ufo/glyphs/*.glif" >> "$GEN_MAKE_FILE"
echo ")" >> "$GEN_MAKE_FILE"
done
# generate all_ufo: <master_ufos>