summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2019-10-22 17:55:36 +0300
committerRasmus Andersson <rasmus@notion.se>2019-10-22 17:55:36 +0300
commitbc8b267b01d4652334e6f4a5452e77fbf79b329d (patch)
tree12e83a1e1176e07c6a888f13d68d32070540187e /docs
parent4ca248c6c836a89064e8282937fbde417983478f (diff)
downloadinter-bc8b267b01d4652334e6f4a5452e77fbf79b329d.tar.xz
Generate OTF (quads, not cff) for VF, rename upright to roman and add googlefonts makefile target
Diffstat (limited to 'docs')
-rw-r--r--docs/_includes/preload-font-files.html2
-rw-r--r--docs/font-files/Inter-roman.var.ttf (renamed from docs/font-files/Inter-upright.var.ttf)bin591232 -> 591232 bytes
-rw-r--r--docs/font-files/Inter-roman.var.woff2 (renamed from docs/font-files/Inter-upright.var.woff2)bin220904 -> 220904 bytes
-rw-r--r--docs/inter-ui.css2
-rw-r--r--docs/inter.css4
-rw-r--r--docs/var-test.html6
6 files changed, 7 insertions, 7 deletions
diff --git a/docs/_includes/preload-font-files.html b/docs/_includes/preload-font-files.html
index a3bc69ad4..69a94be73 100644
--- a/docs/_includes/preload-font-files.html
+++ b/docs/_includes/preload-font-files.html
@@ -5,5 +5,5 @@ assign url_root = "/" %}{% else %}{%
assign url_root = "/inter/" %}{% endif %}{%
assign font_v = site.data.fontinfo[0].version
-%}<link rel="preload" href="{{url_root}}font-files/Inter-upright.var.woff2?v=3.10" as="font" type="font/woff2" crossorigin="anonymous">
+%}<link rel="preload" href="{{url_root}}font-files/Inter-roman.var.woff2?v=3.10" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="{{url_root}}font-files/Inter-italic.var.woff2?v=3.10" as="font" type="font/woff2" crossorigin="anonymous"> \ No newline at end of file
diff --git a/docs/font-files/Inter-upright.var.ttf b/docs/font-files/Inter-roman.var.ttf
index 39229fd06..39229fd06 100644
--- a/docs/font-files/Inter-upright.var.ttf
+++ b/docs/font-files/Inter-roman.var.ttf
Binary files differ
diff --git a/docs/font-files/Inter-upright.var.woff2 b/docs/font-files/Inter-roman.var.woff2
index a12077bf8..a12077bf8 100644
--- a/docs/font-files/Inter-upright.var.woff2
+++ b/docs/font-files/Inter-roman.var.woff2
Binary files differ
diff --git a/docs/inter-ui.css b/docs/inter-ui.css
index b3b7c5549..9aac5f998 100644
--- a/docs/inter-ui.css
+++ b/docs/inter-ui.css
@@ -189,7 +189,7 @@ BUGS:
font-weight: 100 900;
font-style: normal;
font-named-instance: 'Regular';
- src: url("font-files/Inter-upright.var.woff2?v={{font_v}}") format("woff2");
+ src: url("font-files/Inter-roman.var.woff2?v={{font_v}}") format("woff2");
}
@font-face {
font-family: 'Inter UI var alt';
diff --git a/docs/inter.css b/docs/inter.css
index 41190284b..6d14d03ab 100644
--- a/docs/inter.css
+++ b/docs/inter.css
@@ -170,7 +170,7 @@ Usage:
font-style: normal;
font-named-instance: 'Regular';
font-display: swap;
- src: url("font-files/Inter-upright.var.woff2?v={{font_v}}") format("woff2");
+ src: url("font-files/Inter-roman.var.woff2?v={{font_v}}") format("woff2");
}
@font-face {
font-family: 'Inter var';
@@ -188,7 +188,7 @@ Usage:
font-style: normal;
font-named-instance: 'Regular';
font-display: swap;
- src: url("font-files/Inter-upright.var.woff2?v={{font_v}}") format("woff2");
+ src: url("font-files/Inter-roman.var.woff2?v={{font_v}}") format("woff2");
}
@font-face {
font-family: 'Inter var alt';
diff --git a/docs/var-test.html b/docs/var-test.html
index 384af2964..c0eff9116 100644
--- a/docs/var-test.html
+++ b/docs/var-test.html
@@ -54,8 +54,8 @@ Note on font file URLs:
font-weight: 100 900;
font-style: normal;
font-named-instance: 'Regular';
- src: url("font-files/Inter-upright.var.woff2?t=woff2-variations&v={{inter_var_woff2_v}}") format("woff2-variations"),
- url("font-files/Inter-upright.var.woff2?t=woff2&v={{inter_var_woff2_v}}") format("woff2");
+ src: url("font-files/Inter-roman.var.woff2?t=woff2-variations&v={{inter_var_woff2_v}}") format("woff2-variations"),
+ url("font-files/Inter-roman.var.woff2?t=woff2&v={{inter_var_woff2_v}}") format("woff2");
}
@font-face {
font-family: 'Inter var single-axis';
@@ -287,7 +287,7 @@ if (
<li>
Mapping of <tt>ital</tt> axis to <tt>font-style:italic</tt>
is not supported, nor is Mapping of <tt>slnt</tt> axis to <tt>font-style:oblique</tt>.
- Note: We use separate italic and upright font files for Edge in this
+ Note: We use separate italic and roman font files for Edge in this
test, which is why intermediate oblique degrees are displayed as either
fully slanted or not slanted at all when viewing this in Edge.
(Last confirmed version: Edge 42)