From 98d63a9d64fbedfdf5281b9c1c540d1e96a8a426 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 13 Sep 2023 16:23:20 -0700 Subject: [PATCH] Correct format() in source-sans-3VF.css MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is required to let browsers that don’t support variable fonts (e.g. Firefox on Windows 8) avoid downloading them and fall back to something usable. Signed-off-by: Anders Kaseorg --- source-sans-3VF.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source-sans-3VF.css b/source-sans-3VF.css index 539c33da7e..5d44c04b9a 100755 --- a/source-sans-3VF.css +++ b/source-sans-3VF.css @@ -3,9 +3,9 @@ font-weight: 200 900; font-style: normal; font-stretch: normal; - src: url('WOFF2/VF/SourceSans3VF-Upright.ttf.woff2') format('woff2'), - url('WOFF/VF/SourceSans3VF-Upright.ttf.woff') format('woff'), - url('VF/SourceSans3VF-Upright.ttf') format('truetype'); + src: url('WOFF2/VF/SourceSans3VF-Upright.ttf.woff2') format('woff2-variations'), + url('WOFF/VF/SourceSans3VF-Upright.ttf.woff') format('woff-variations'), + url('VF/SourceSans3VF-Upright.ttf') format('truetype-variations'); } @font-face{ @@ -13,7 +13,7 @@ font-weight: 200 900; font-style: italic; font-stretch: normal; - src: url('WOFF2/VF/SourceSans3VF-Italic.ttf.woff2') format('woff2'), - url('WOFF/VF/SourceSans3VF-Italic.ttf.woff') format('woff'), - url('VF/SourceSans3VF-Italic.ttf') format('truetype'); + src: url('WOFF2/VF/SourceSans3VF-Italic.ttf.woff2') format('woff2-variations'), + url('WOFF/VF/SourceSans3VF-Italic.ttf.woff') format('woff-variations'), + url('VF/SourceSans3VF-Italic.ttf') format('truetype-variations'); }