summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2020-02-09 01:59:33 +0300
committerRasmus Andersson <rasmus@notion.se>2020-02-09 01:59:33 +0300
commit6d9f189f67aeaa0552362912170295ef629d3821 (patch)
treeb133bbbdcbdcbf6d8a3877e02c7fd07ded77dfbe /misc
parentc1fb1e9560b48c04cb91131d998e02dfda70b4e1 (diff)
downloadinter-6d9f189f67aeaa0552362912170295ef629d3821.tar.xz
Drop BETA from light weights
Diffstat (limited to 'misc')
-rw-r--r--misc/dist/inter.css24
-rw-r--r--misc/fontbuildlib/info.py4
2 files changed, 12 insertions, 16 deletions
diff --git a/misc/dist/inter.css b/misc/dist/inter.css
index d15060d5e..919263a82 100644
--- a/misc/dist/inter.css
+++ b/misc/dist/inter.css
@@ -3,16 +3,16 @@
font-style: normal;
font-weight: 100;
font-display: swap;
- src: url("Inter-Thin-BETA.woff2?v=3.11") format("woff2"),
- url("Inter-Thin-BETA.woff?v=3.11") format("woff");
+ src: url("Inter-Thin.woff2?v=3.11") format("woff2"),
+ url("Inter-Thin.woff?v=3.11") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 100;
font-display: swap;
- src: url("Inter-ThinItalic-BETA.woff2?v=3.11") format("woff2"),
- url("Inter-ThinItalic-BETA.woff?v=3.11") format("woff");
+ src: url("Inter-ThinItalic.woff2?v=3.11") format("woff2"),
+ url("Inter-ThinItalic.woff?v=3.11") format("woff");
}
@font-face {
@@ -20,16 +20,16 @@
font-style: normal;
font-weight: 200;
font-display: swap;
- src: url("Inter-ExtraLight-BETA.woff2?v=3.11") format("woff2"),
- url("Inter-ExtraLight-BETA.woff?v=3.11") format("woff");
+ src: url("Inter-ExtraLight.woff2?v=3.11") format("woff2"),
+ url("Inter-ExtraLight.woff?v=3.11") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 200;
font-display: swap;
- src: url("Inter-ExtraLightItalic-BETA.woff2?v=3.11") format("woff2"),
- url("Inter-ExtraLightItalic-BETA.woff?v=3.11") format("woff");
+ src: url("Inter-ExtraLightItalic.woff2?v=3.11") format("woff2"),
+ url("Inter-ExtraLightItalic.woff?v=3.11") format("woff");
}
@font-face {
@@ -37,16 +37,16 @@
font-style: normal;
font-weight: 300;
font-display: swap;
- src: url("Inter-Light-BETA.woff2?v=3.11") format("woff2"),
- url("Inter-Light-BETA.woff?v=3.11") format("woff");
+ src: url("Inter-Light.woff2?v=3.11") format("woff2"),
+ url("Inter-Light.woff?v=3.11") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 300;
font-display: swap;
- src: url("Inter-LightItalic-BETA.woff2?v=3.11") format("woff2"),
- url("Inter-LightItalic-BETA.woff?v=3.11") format("woff");
+ src: url("Inter-LightItalic.woff2?v=3.11") format("woff2"),
+ url("Inter-LightItalic.woff?v=3.11") format("woff");
}
@font-face {
diff --git a/misc/fontbuildlib/info.py b/misc/fontbuildlib/info.py
index 12b59dd6b..9833ea124 100644
--- a/misc/fontbuildlib/info.py
+++ b/misc/fontbuildlib/info.py
@@ -73,10 +73,6 @@ def setFontInfo(font, weight=None):
if weight is None:
weight = font.info.openTypeOS2WeightClass
- # Add " BETA" to light weights
- if weight < 400:
- font.info.styleName = font.info.styleName + " BETA"
-
family = font.info.familyName # i.e. "Inter"
style = font.info.styleName # e.g. "Medium Italic"