mirror of
https://github.com/rsms/inter.git
synced 2024-12-24 08:02:04 +03:00
makefile: italic ufo
This commit is contained in:
parent
df94aca815
commit
26a7168d83
2
Makefile
2
Makefile
@ -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
18
init.sh
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user