From 6a874c39e09cb404596b95476b25c9c482d670a9 Mon Sep 17 00:00:00 2001 From: Jason Pamental Date: Tue, 18 Sep 2018 08:20:05 -0400 Subject: [PATCH] Syntax updates --- variable-fonts/grade.html | 4 ++-- variable-fonts/italic.html | 10 ++++++++-- variable-fonts/optical-sizing.html | 2 +- variable-fonts/sample-page.html | 2 +- variable-fonts/slant.html | 2 +- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/variable-fonts/grade.html b/variable-fonts/grade.html index 0551b217..39d2ac17 100644 --- a/variable-fonts/grade.html +++ b/variable-fonts/grade.html @@ -8,9 +8,9 @@ @@ -134,6 +137,7 @@ /* italic can only be italic or normal */ .container1 * { font-style: italic; + font-synthesis: none; } @@ -169,6 +174,7 @@ diff --git a/variable-fonts/optical-sizing.html b/variable-fonts/optical-sizing.html index defb0c4a..43693829 100644 --- a/variable-fonts/optical-sizing.html +++ b/variable-fonts/optical-sizing.html @@ -10,7 +10,7 @@ font-family: 'Amstelvar VF'; src: url('fonts/AmstelvarAlpha-VF.woff2') format('woff2-variations'); font-weight: 300 900; - font-stretch: 75 150; + font-stretch: 75% 150%; font-style: normal; font-display: swap; } diff --git a/variable-fonts/sample-page.html b/variable-fonts/sample-page.html index a6d5ad84..e7ce9750 100644 --- a/variable-fonts/sample-page.html +++ b/variable-fonts/sample-page.html @@ -10,7 +10,7 @@ font-family: 'Amstelvar VF'; src: url('fonts/AmstelvarAlpha-VF.woff2') format('woff2-variations'); font-weight: 300 900; - font-stretch: 75 150; + font-stretch: 75% 150%; font-style: normal; font-display: swap; } diff --git a/variable-fonts/slant.html b/variable-fonts/slant.html index 6a8afa09..f40fce42 100644 --- a/variable-fonts/slant.html +++ b/variable-fonts/slant.html @@ -10,7 +10,7 @@ font-family: 'Roboto VF'; src: url('fonts/Roboto-VF.woff2') format('woff2-variations'); font-weight: 100 900; - font-stretch: 75 100; + font-stretch: 75% 100%; font-style: oblique 0deg 12deg; font-display: swap; }