From 3f174fcef6b614ee58716b7ec1b2744e137069ae Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Mon, 26 Sep 2022 17:09:36 -0700 Subject: Remove slnt/ital VF axis This removes the slant/italic variable axis and breaks up the font in two: roman and italic. This change will allow diverging designs for italic (for example single-storey a). It also addresses the fact that most software, including web browsers, doesn't handle VFs with slnt or ital well. --- misc/makezip2.sh | 50 ++++++++++++++++++++------------------------------ 1 file changed, 20 insertions(+), 30 deletions(-) (limited to 'misc/makezip2.sh') diff --git a/misc/makezip2.sh b/misc/makezip2.sh index 50180aeca..2dcfda03e 100644 --- a/misc/makezip2.sh +++ b/misc/makezip2.sh @@ -55,40 +55,30 @@ rm -f build/tmp/a.zip # create directories mkdir -p \ - "$ZIPDIR/Inter Desktop" \ - "$ZIPDIR/Inter Hinted for Windows/Desktop" \ - "$ZIPDIR/Inter Hinted for Windows/Web" \ - "$ZIPDIR/Inter Variable" \ - "$ZIPDIR/Inter Variable/Single axis" \ - "$ZIPDIR/Inter Web" + "$ZIPDIR/Desktop" \ + "$ZIPDIR/Desktop with TrueType hints" \ + "$ZIPDIR/Variable" \ + "$ZIPDIR/Web" # copy font files # ---------------------------------------------------------------------------- -# Inter Desktop -cp $FONTDIR/static/Inter-*.otf "$ZIPDIR/Inter Desktop/" & -cp $FONTDIR/var/Inter-V.var.ttf "$ZIPDIR/Inter Desktop/Inter-V.ttf" & - -# Inter Hinted for Windows -cp "misc/dist/about hinted fonts.txt" "$ZIPDIR/Inter Hinted for Windows/" & -cp $FONTDIR/static-hinted/Inter-*.ttf "$ZIPDIR/Inter Hinted for Windows/Desktop/" & -cp $FONTDIR/static-hinted/Inter-*.woff* "$ZIPDIR/Inter Hinted for Windows/Web/" & -cp misc/dist/inter.css "$ZIPDIR/Inter Hinted for Windows/Web/" & - -# Inter Variable -cp $FONTDIR/var/Inter.var.ttf \ - "$ZIPDIR/Inter Variable/Inter.ttf" & -cp $FONTDIR/var/Inter-roman.var.ttf \ - "$ZIPDIR/Inter Variable/Single axis/Inter-roman.ttf" & -cp $FONTDIR/var/Inter-italic.var.ttf \ - "$ZIPDIR/Inter Variable/Single axis/Inter-italic.ttf" & - -# Inter Web -cp $FONTDIR/static/Inter-*.woff* "$ZIPDIR/Inter Web/" & -cp $FONTDIR/var/Inter.var.woff2 "$ZIPDIR/Inter Web/" & -cp $FONTDIR/var/Inter-roman.var.woff2 "$ZIPDIR/Inter Web/" & -cp $FONTDIR/var/Inter-italic.var.woff2 "$ZIPDIR/Inter Web/" & -cp misc/dist/inter.css "$ZIPDIR/Inter Web/" & +# Desktop +cp $FONTDIR/static/Inter-*.otf "$ZIPDIR/Desktop/" & + +# Hinted for Windows +cp "misc/dist/about hinted fonts.txt" "$ZIPDIR/Desktop with TrueType hints/" & +cp $FONTDIR/static-hinted/Inter-*.ttf "$ZIPDIR/Desktop with TrueType hints/" & + +# Variable ("Inter" and "Inter V") +cp $FONTDIR/var/Inter*.var.ttf "$ZIPDIR/Variable/" & + +# Web +cp $FONTDIR/static/Inter-*.woff* "$ZIPDIR/Web/" & +cp $FONTDIR/var/Inter.var.woff2 "$ZIPDIR/Web/" & +cp $FONTDIR/var/Inter-italic.var.woff2 "$ZIPDIR/Web/" & +cp misc/dist/inter.css "$ZIPDIR/Web/" & + # ---------------------------------------------------------------------------- # copy misc stuff -- cgit v1.2.3