rename variable font file to InterVariable

This commit is contained in:
Rasmus Andersson 2023-11-19 14:57:36 -08:00
parent ac91e11c06
commit 1ab7046f7c
4 changed files with 146 additions and 111 deletions

131
Makefile
View file

@ -212,10 +212,10 @@ $(FONTDIR)/var/.%.var.otf: $(UFODIR)/%.var.designspace build/features_data | $(F
. $(VENV) ; misc/tools/woff2 compress -o "$@" "$<" . $(VENV) ; misc/tools/woff2 compress -o "$@" "$<"
$(FONTDIR)/var/Inter-Variable.ttf: $(FONTDIR)/var/.Inter-Roman.var.ttf misc/tools/bake-vf.py $(FONTDIR)/var/InterVariable.ttf: $(FONTDIR)/var/.Inter-Roman.var.ttf misc/tools/bake-vf.py
. $(VENV) ; python misc/tools/bake-vf.py $< -o $@ . $(VENV) ; python misc/tools/bake-vf.py $< -o $@
$(FONTDIR)/var/Inter-Variable-Italic.ttf: $(FONTDIR)/var/.Inter-Italic.var.ttf misc/tools/bake-vf.py $(FONTDIR)/var/InterVariable-Italic.ttf: $(FONTDIR)/var/.Inter-Italic.var.ttf misc/tools/bake-vf.py
. $(VENV) ; python misc/tools/bake-vf.py $< -o $@ . $(VENV) ; python misc/tools/bake-vf.py $< -o $@
@ -230,12 +230,12 @@ $(UFODIR):
var: \ var: \
$(FONTDIR)/var/Inter-Variable.ttf \ $(FONTDIR)/var/InterVariable.ttf \
$(FONTDIR)/var/Inter-Variable-Italic.ttf $(FONTDIR)/var/InterVariable-Italic.ttf
var_web: \ var_web: \
$(FONTDIR)/var/Inter-Variable.woff2 \ $(FONTDIR)/var/InterVariable.woff2 \
$(FONTDIR)/var/Inter-Variable-Italic.woff2 $(FONTDIR)/var/InterVariable-Italic.woff2
web: var_web static_web web: var_web static_web
@ -310,19 +310,51 @@ test: test_var test_static
test_var: \ test_var: \
build/fontbakery-report-var.txt build/fontbakery-report-var.txt
test_static: \ test_static: \
build/fontbakery-report-static-text.txt \ build/fontbakery-report-text.txt \
build/fontbakery-report-static-display.txt build/fontbakery-report-display.txt
# disabled fontbakery tests # disabled fontbakery tests:
# TODO: re-enable and work out these issues FBAKE_DISABLED =
# Note: com.google.fonts/check/fontbakery_version calls a server to see if FBAKE_DISABLED_STATIC =
# there's a newer version of fontbakery and FAILs if there is.
FBAKE_DISABLED := \ FBAKE_DISABLED += com.google.fonts/check/fontbakery_version
-x com.google.fonts/check/fontbakery_version \ # Calls a server to see if there's a newer version of fontbakery and
-x com.google.fonts/check/family/win_ascent_and_descent \ # FAILs if there is. This breaks reproducible builds.
FBAKE_DISABLED += com.google.fonts/check/family/win_ascent_and_descent
# "FAIL OS/2.usWinAscent value should be equal or greater than 2269,
# but got 1984 instead"
# "FAIL OS/2.usWinDescent value should be equal or greater than 660,
# but got 494 instead"
FBAKE_DISABLED_STATIC += com.google.fonts/check/family/underline_thickness
# "Fonts have consistent underline thickness"
# Inter explicitly have varying underline thickness, matching wght
FBAKE_DISABLED_STATIC += com.google.fonts/check/contour_count
# This test is pedantic; generates warnings when the number of contours are different
# than what is usually seen in other fonts. No real world impact.
# The following test are minor issues, left enabled for the var tests
# but disabled for the static tests to reduce noise
FBAKE_DISABLED_STATIC += com.google.fonts/check/legacy_accents
# "Glyph <NAME> has a legacy accent component (hungarumlaut)"
# TODO: improve the design of Hungar* composite glyphs to use marks
FBAKE_DISABLED_STATIC += com.google.fonts/check/gdef_mark_chars
# "Check mark characters are in GDEF mark glyph class"
# "WARN The following mark characters could be in the GDEF mark glyph
# class: uni0488 (U+0488), uni0489 (U+0489), uni20DD (U+20DD), uni20DE (U+20DE)"
FBAKE_DISABLED_STATIC += com.google.fonts/check/gdef_spacing_marks
# "Check glyphs in mark glyph class are non-spacing"
# "WARN The following spacing glyphs may be in the GDEF mark glyph class by mistake:
# dotbelow (U+0323)
# FBAKE_ARGS are common args for all fontbakery targets # FBAKE_ARGS are common args for all fontbakery targets
FBAKE_ARGS := \ FBAKE_ARGS = \
check-universal \ check-universal \
--no-colors \ --no-colors \
--no-progress \ --no-progress \
@ -330,32 +362,33 @@ FBAKE_ARGS := \
--succinct \ --succinct \
--full-lists \ --full-lists \
-j \ -j \
$(FBAKE_DISABLED) $(patsubst %,-x %,$(FBAKE_DISABLED))
FBAKE_ARGS_STATIC = $(FBAKE_ARGS) $(patsubst %,-x %,$(FBAKE_DISABLED_STATIC))
STATIC_TEXT_FONTS_TTF = $(patsubst %,$(FONTDIR)/static-hinted/%.ttf,$(STATIC_TEXT_FONTS)) STATIC_TEXT_FONTS_TTF = $(patsubst %,$(FONTDIR)/static-hinted/%.ttf,$(STATIC_TEXT_FONTS))
STATIC_DISPLAY_FONTS_TTF = $(patsubst %,$(FONTDIR)/static-hinted/%.ttf,$(STATIC_DISPLAY_FONTS)) STATIC_DISPLAY_FONTS_TTF = $(patsubst %,$(FONTDIR)/static-hinted/%.ttf,$(STATIC_DISPLAY_FONTS))
build/fontbakery-report-var.txt: \ build/fontbakery-report-var.txt: $(FONTDIR)/var/InterVariable.ttf $(FONTDIR)/var/InterVariable-Italic.ttf | venv
$(FONTDIR)/var/Inter-Variable.ttf \ @echo "fontbakery InterVariable -> $(@) ..."
$(FONTDIR)/var/Inter-Variable-Italic.ttf \
| venv
@echo "fontbakery {Inter-Variable,Inter-Variable-Italic}.ttf > $(@) ..."
@. $(VENV) ; fontbakery $(FBAKE_ARGS) $^ > $@ \ @. $(VENV) ; fontbakery $(FBAKE_ARGS) $^ > $@ \
|| (cat $@; echo "report at $@"; touch -m -t 199001010000 $@; exit 1) || (cat $@; echo "report at $@"; touch -m -t 199001010000 $@; exit 1)
@echo "fontbakery InterVariable: PASS"
@grep -E -A7 '^Total:' $@ | tail -6 | sed -E 's/^ +/ /g'
build/fontbakery-report-static-text.txt: $(STATIC_TEXT_FONTS_TTF) | venv build/fontbakery-report-text.txt: $(STATIC_TEXT_FONTS_TTF) | venv
@echo "fontbakery static/Inter-*.ttf > $@ ..." @echo "fontbakery Inter -> $@ ..."
@. $(VENV) ; fontbakery \ @. $(VENV) ; fontbakery $(FBAKE_ARGS_STATIC) $^ > $@ \
$(FBAKE_ARGS) -x com.google.fonts/check/family/underline_thickness \
$^ > $@ \
|| (cat $@; echo "report at $@"; touch -m -t 199001010000 $@; exit 1) || (cat $@; echo "report at $@"; touch -m -t 199001010000 $@; exit 1)
@echo "fontbakery Inter: PASS"
@grep -E -A7 '^Total:' $@ | tail -6 | sed -E 's/^ +/ /g'
build/fontbakery-report-static-display.txt: $(STATIC_DISPLAY_FONTS_TTF) | venv build/fontbakery-report-display.txt: $(STATIC_DISPLAY_FONTS_TTF) | venv
@echo "fontbakery static/InterDisplay-*.ttf > $@ ..." @echo "fontbakery InterDisplay -> $@ ..."
@. $(VENV) ; fontbakery \ @. $(VENV) ; fontbakery $(FBAKE_ARGS_STATIC) $^ > $@ \
$(FBAKE_ARGS) -x com.google.fonts/check/family/underline_thickness \
$^ > $@ \
|| (cat $@; echo "report at $@"; touch -m -t 199001010000 $@; exit 1) || (cat $@; echo "report at $@"; touch -m -t 199001010000 $@; exit 1)
@echo "fontbakery InterDisplay: PASS"
@grep -E -A7 '^Total:' $@ | tail -6 | sed -E 's/^ +/ /g'
.PHONY: test test_var .PHONY: test test_var
@ -367,10 +400,10 @@ zip: all
"build/release/Inter-$(VERSION)-$(shell git rev-parse --short=10 HEAD).zip" "build/release/Inter-$(VERSION)-$(shell git rev-parse --short=10 HEAD).zip"
zip_beta: \ zip_beta: \
$(FONTDIR)/var/Inter-Variable.ttf \ $(FONTDIR)/var/InterVariable.ttf \
$(FONTDIR)/var/Inter-Variable.woff2 \ $(FONTDIR)/var/InterVariable.woff2 \
$(FONTDIR)/var/Inter-Variable-Italic.ttf \ $(FONTDIR)/var/InterVariable-Italic.ttf \
$(FONTDIR)/var/Inter-Variable-Italic.woff2 $(FONTDIR)/var/InterVariable-Italic.woff2
mkdir -p build/release mkdir -p build/release
zip -j -q -X "build/release/Inter_beta-$(VERSION)-$(shell date '+%Y%m%d_%H%M')-$(shell git rev-parse --short=10 HEAD).zip" $^ zip -j -q -X "build/release/Inter_beta-$(VERSION)-$(shell date '+%Y%m%d_%H%M')-$(shell git rev-parse --short=10 HEAD).zip" $^
@ -406,7 +439,7 @@ dist:
$(MAKE) -f $(MAKEFILE) dist_postflight $(MAKE) -f $(MAKEFILE) dist_postflight
dist_zip: | venv dist_zip: | venv
. $(VENV) ; python misc/tools/patch-version.py misc/dist/inter.css @#. $(VENV) ; python misc/tools/patch-version.py misc/dist/inter.css
bash misc/makezip2.sh -reveal-in-finder "$(DIST_ZIP)" bash misc/makezip2.sh -reveal-in-finder "$(DIST_ZIP)"
dist_docs: dist_docs:
@ -438,27 +471,35 @@ INSTALLDIR := $(HOME)/Library/Fonts/Inter
install: install_var install_ttf install: install_var install_ttf
install_var: \ install_var: \
$(INSTALLDIR)/Inter-Variable.ttf \ $(INSTALLDIR)/InterVariable.ttf \
$(INSTALLDIR)/Inter-Variable-Italic.ttf $(INSTALLDIR)/InterVariable-Italic.ttf
install_ttf: $(INSTALLDIR)/Inter.ttc install_ttf: $(INSTALLDIR)/Inter.ttc
install_otf: $(INSTALLDIR)/Inter.otc install_otf: $(INSTALLDIR)/Inter.otc
$(INSTALLDIR)/%.ttc: $(FONTDIR)/static-hinted/%.ttc | $(INSTALLDIR) $(INSTALLDIR)/%.ttc: $(FONTDIR)/static-hinted/%.ttc | $(INSTALLDIR)
rm -rf $(INSTALLDIR)/Inter*.otf $(INSTALLDIR)/Inter*.otc @# remove conflicting OTF fonts
rm -f $(INSTALLDIR)/Inter*.otf $(INSTALLDIR)/Inter*.otc
cp -a $^ $@ cp -a $^ $@
$(INSTALLDIR)/%.otc: $(FONTDIR)/static/%.otc | $(INSTALLDIR) $(INSTALLDIR)/%.otc: $(FONTDIR)/static/%.otc | $(INSTALLDIR)
rm -rf $(INSTALLDIR)/Inter*.ttc @# remove conflicting TTF fonts
@rm -fv $(INSTALLDIR)/Inter*.ttc
cp -a $^ $@ cp -a $^ $@
$(INSTALLDIR)/Inter-Variable.ttf: $(FONTDIR)/var/Inter-Variable.ttf | $(INSTALLDIR) $(INSTALLDIR)/InterVariable.ttf: $(FONTDIR)/var/InterVariable.ttf | $(INSTALLDIR)
@# remove font with legacy name
@rm -fv $(INSTALLDIR)/InterVariable.ttf
cp -a $^ $@ cp -a $^ $@
$(INSTALLDIR)/Inter-Variable-Italic.ttf: $(FONTDIR)/var/Inter-Variable-Italic.ttf | $(INSTALLDIR) $(INSTALLDIR)/InterVariable-Italic.ttf: $(FONTDIR)/var/InterVariable-Italic.ttf | $(INSTALLDIR)
@# remove font with legacy name
@rm -fv $(INSTALLDIR)/InterVariable-Italic.ttf
cp -a $^ $@ cp -a $^ $@
$(INSTALLDIR)/%.otf: $(FONTDIR)/static/%.otf | $(INSTALLDIR) $(INSTALLDIR)/%.otf: $(FONTDIR)/static/%.otf | $(INSTALLDIR)
@# remove conflicting TTF fonts
rm -f $(INSTALLDIR)/{Inter,InterDisplay}-*.ttf
cp -a $^ $@ cp -a $^ $@
$(INSTALLDIR): $(INSTALLDIR):
@ -484,8 +525,8 @@ build/ttx/%: $(FONTDIR)/static/%.ttf
ttx -x glyf -x GPOS -x GSUB -i -f -s "build/ttx/$(basename $(notdir $^))/$(notdir $^)" ttx -x glyf -x GPOS -x GSUB -i -f -s "build/ttx/$(basename $(notdir $^))/$(notdir $^)"
@echo "Dumped $(notdir $^) to build/ttx/$(basename $(notdir $^))/" @echo "Dumped $(notdir $^) to build/ttx/$(basename $(notdir $^))/"
ttx_var_roman: build/ttx/Inter-Variable ttx_var_roman: build/ttx/InterVariable
ttx_var_italic: build/ttx/Inter-Variable-Italic ttx_var_italic: build/ttx/InterVariable-Italic
ttx_var: ttx_var_roman ttx_var_italic ttx_var: ttx_var_roman ttx_var_italic
ttx_static: $(patsubst %,build/ttx/%,$(STATIC_FONTS)) ttx_static: $(patsubst %,build/ttx/%,$(STATIC_FONTS))

21
misc/dist/help.txt vendored
View file

@ -11,17 +11,17 @@ Contents:
5. License (can I use Inter for x?) 5. License (can I use Inter for x?)
File index: File index:
Inter.ttc Complete font family "Inter" Inter.ttc Complete font family "Inter"
Inter-Variable*.ttf Complete font family "Inter Variable" InterVariable*.ttf Complete font family "Inter Variable"
web/* Web fonts and CSS web/* Web fonts and CSS
extras/ Alternative formats (see "Extras") extras/ Alternative formats (see "Extras")
--------------------------------------------------------------------- ---------------------------------------------------------------------
1. Installing font files 1. Installing font files
Inter fonts comes in two flavors: Variable and Static Inter fonts comes in two flavors: Variable and Static
(Inter-Variable*.ttf and Inter.ttc, respectively) (InterVariable*.ttf and Inter.ttc, respectively)
Variable fonts is a new format which allows you to choose any Variable fonts is a new format which allows you to choose any
weight and optical size. Variable fonts is a relatively new weight and optical size. Variable fonts is a relatively new
@ -41,8 +41,7 @@ File index:
1. Open the "Font Book" application. 1. Open the "Font Book" application.
2. In the main menu, select "File" → "Add Fonts..." 2. In the main menu, select "File" → "Add Fonts..."
3. Select "Inter.ttc", "Inter-Variable.ttf" and 3. Select "Inter.ttc", "InterVariable.ttf" and "InterVariable-Italic.ttf"
"Inter-Variable-Italic.ttf"
4. Press the "Open" button 4. Press the "Open" button
Alternatively, if you prefer not to use Font Book, you can move or Alternatively, if you prefer not to use Font Book, you can move or
@ -52,8 +51,7 @@ File index:
1.2. Installing on Microsoft Windows 1.2. Installing on Microsoft Windows
1. Open the zip file you downloaded 1. Open the zip file you downloaded
2. Select "Inter.ttc", "Inter-Variable.ttf" and 2. Select "Inter.ttc", "InterVariable.ttf" and "InterVariable-Italic.ttf"
"Inter-Variable-Italic.ttf"
3. Right-click the selected files, choose "Install for all users" 3. Right-click the selected files, choose "Install for all users"
If you have a previous installation of Inter, you should make sure If you have a previous installation of Inter, you should make sure
@ -65,9 +63,8 @@ File index:
1.3. Installing on Ubuntu Linux 1.3. Installing on Ubuntu Linux
1. Create a ".fonts" directory in your home. (mkdir -p ~/.fonts) 1. Create a ".fonts" directory in your home. (mkdir -p ~/.fonts)
2. Copy "Inter.ttc", "Inter-Variable.ttf" and 2. Copy "Inter.ttc", "InterVariable.ttf" and "InterVariable-Italic.ttf"
"Inter-Variable-Italic.ttf" into your .fonts directory into your .fonts directory (cp Inter.ttc *.ttf ~/.fonts/)
(cp Inter.ttc *.ttf ~/.fonts/)
You may have to restart apps and/or your window server session. You may have to restart apps and/or your window server session.

91
misc/dist/inter.css vendored
View file

@ -1,60 +1,57 @@
/* Variable fonts usage: /* Variable fonts usage:
:root { font-family: "Inter", sans-serif; } :root { font-family: "Inter", sans-serif; }
@supports (font-variation-settings: normal) { @supports (font-variation-settings: normal) {
:root { font-family: "InterVar", sans-serif; font-optical-sizing: auto; } :root { font-family: "InterVariable", sans-serif; font-optical-sizing: auto; }
} */ } */
@font-face { @font-face {
font-family: "InterVar"; font-family: InterVariable;
font-style: normal;
font-weight: 100 900; font-weight: 100 900;
font-display: swap; font-display: swap;
font-style: normal; src: url("InterVariable.woff2") format("woff2");
src: url("InterVariable.woff2?v=3.19") format("woff2-variations"),
url("InterVariable.woff2?v=3.19") format("woff2");
src: url("InterVariable.woff2?v=3.19") format("woff2") tech("variations");
} }
@font-face { @font-face {
font-family: "InterVar"; font-family: InterVariable;
font-style: italic;
font-weight: 100 900; font-weight: 100 900;
font-display: swap; font-display: swap;
font-style: italic; src: url("InterVariable-Italic.woff2") format("woff2");
src: url("InterVariable-Italic.woff2?v=3.19") format("woff2-variations"),
url("InterVariable-Italic.woff2?v=3.19") format("woff2");
src: url("InterVariable-Italic.woff2?v=3.19") format("woff2") tech("variations");
} }
/* static fonts */ /* static fonts */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100; font-display: swap; src: url("Inter-Thin.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: normal; font-weight: 100; font-display: swap; src: url("Inter-Thin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 100; font-display: swap; src: url("Inter-ThinItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: italic; font-weight: 100; font-display: swap; src: url("Inter-ThinItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 200; font-display: swap; src: url("Inter-ExtraLight.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: normal; font-weight: 200; font-display: swap; src: url("Inter-ExtraLight.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 200; font-display: swap; src: url("Inter-ExtraLightItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: italic; font-weight: 200; font-display: swap; src: url("Inter-ExtraLightItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("Inter-Light.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("Inter-Light.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 300; font-display: swap; src: url("Inter-LightItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: italic; font-weight: 300; font-display: swap; src: url("Inter-LightItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("Inter-Regular.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url("Inter-Italic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url("Inter-Italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("Inter-Medium.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 500; font-display: swap; src: url("Inter-MediumItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: italic; font-weight: 500; font-display: swap; src: url("Inter-MediumItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("Inter-SemiBold.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 600; font-display: swap; src: url("Inter-SemiBoldItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: italic; font-weight: 600; font-display: swap; src: url("Inter-SemiBoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("Inter-Bold.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 700; font-display: swap; src: url("Inter-BoldItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: italic; font-weight: 700; font-display: swap; src: url("Inter-BoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("Inter-ExtraBold.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("Inter-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 800; font-display: swap; src: url("Inter-ExtraBoldItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: italic; font-weight: 800; font-display: swap; src: url("Inter-ExtraBoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("Inter-Black.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("Inter-Black.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 900; font-display: swap; src: url("Inter-BlackItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "Inter"; font-style: italic; font-weight: 900; font-display: swap; src: url("Inter-BlackItalic.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 100; font-display: swap; src: url("InterDisplay-Thin.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 100; font-display: swap; src: url("InterDisplay-Thin.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 100; font-display: swap; src: url("InterDisplay-ThinItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 100; font-display: swap; src: url("InterDisplay-ThinItalic.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 200; font-display: swap; src: url("InterDisplay-ExtraLight.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 200; font-display: swap; src: url("InterDisplay-ExtraLight.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 200; font-display: swap; src: url("InterDisplay-ExtraLightItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 200; font-display: swap; src: url("InterDisplay-ExtraLightItalic.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 300; font-display: swap; src: url("InterDisplay-Light.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 300; font-display: swap; src: url("InterDisplay-Light.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 300; font-display: swap; src: url("InterDisplay-LightItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 300; font-display: swap; src: url("InterDisplay-LightItalic.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 400; font-display: swap; src: url("InterDisplay-Regular.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 400; font-display: swap; src: url("InterDisplay-Regular.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 400; font-display: swap; src: url("InterDisplay-Italic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 400; font-display: swap; src: url("InterDisplay-Italic.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 500; font-display: swap; src: url("InterDisplay-Medium.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 500; font-display: swap; src: url("InterDisplay-Medium.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 500; font-display: swap; src: url("InterDisplay-MediumItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 500; font-display: swap; src: url("InterDisplay-MediumItalic.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 600; font-display: swap; src: url("InterDisplay-SemiBold.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 600; font-display: swap; src: url("InterDisplay-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 600; font-display: swap; src: url("InterDisplay-SemiBoldItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 600; font-display: swap; src: url("InterDisplay-SemiBoldItalic.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 700; font-display: swap; src: url("InterDisplay-Bold.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 700; font-display: swap; src: url("InterDisplay-Bold.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 700; font-display: swap; src: url("InterDisplay-BoldItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 700; font-display: swap; src: url("InterDisplay-BoldItalic.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 800; font-display: swap; src: url("InterDisplay-ExtraBold.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 800; font-display: swap; src: url("InterDisplay-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 800; font-display: swap; src: url("InterDisplay-ExtraBoldItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 800; font-display: swap; src: url("InterDisplay-ExtraBoldItalic.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 900; font-display: swap; src: url("InterDisplay-Black.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 900; font-display: swap; src: url("InterDisplay-Black.woff2") format("woff2"); }
@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 900; font-display: swap; src: url("InterDisplay-BlackItalic.woff2?v=3.19") format("woff2"); } @font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 900; font-display: swap; src: url("InterDisplay-BlackItalic.woff2") format("woff2"); }

View file

@ -51,13 +51,13 @@ cp LICENSE.txt "$ZIPDIR/LICENSE.txt"
mkdir -p "$ZIPDIR/web" mkdir -p "$ZIPDIR/web"
cp misc/dist/help.txt "$ZIPDIR/help.txt" cp misc/dist/help.txt "$ZIPDIR/help.txt"
cp build/fonts/static-hinted/Inter.ttc "$ZIPDIR/Inter.ttc" cp build/fonts/static-hinted/Inter.ttc "$ZIPDIR/Inter.ttc"
cp build/fonts/var/Inter-Variable.ttf "$ZIPDIR/Inter-Variable.ttf" cp build/fonts/var/InterVariable.ttf "$ZIPDIR/InterVariable.ttf"
cp build/fonts/var/Inter-Variable-Italic.ttf "$ZIPDIR/Inter-Variable-Italic.ttf" cp build/fonts/var/InterVariable-Italic.ttf "$ZIPDIR/InterVariable-Italic.ttf"
cp build/fonts/static/Inter*.woff2 "$ZIPDIR/web/" & cp build/fonts/static/Inter*.woff2 "$ZIPDIR/web/" &
cp build/fonts/var/Inter-Variable.woff2 "$ZIPDIR/web/InterVariable.woff2" cp build/fonts/var/InterVariable.woff2 "$ZIPDIR/web/InterVariable.woff2"
cp build/fonts/var/Inter-Variable-Italic.woff2 "$ZIPDIR/web/InterVariable-Italic.woff2" cp build/fonts/var/InterVariable-Italic.woff2 "$ZIPDIR/web/InterVariable-Italic.woff2"
cp misc/dist/inter.css "$ZIPDIR/web/" cp misc/dist/inter.css "$ZIPDIR/web/"
. build/venv/bin/activate . build/venv/bin/activate