From 93b44c323b743d907ce274ff559299e69d588e09 Mon Sep 17 00:00:00 2001 From: philwareham Date: Wed, 7 Apr 2021 10:08:36 +0100 Subject: [PATCH] Updated fonts --- ...tin-700.woff => pt-serif-v12-latin-700.woff} | Bin ...n-700.woff2 => pt-serif-v12-latin-700.woff2} | Bin ...c.woff => pt-serif-v12-latin-700italic.woff} | Bin ...woff2 => pt-serif-v12-latin-700italic.woff2} | Bin ...alic.woff => pt-serif-v12-latin-italic.woff} | Bin ...ic.woff2 => pt-serif-v12-latin-italic.woff2} | Bin ...lar.woff => pt-serif-v12-latin-regular.woff} | Bin ...r.woff2 => pt-serif-v12-latin-regular.woff2} | Bin src/assets/sass/modules/_fonts.scss | 16 ++++++++-------- src/templates/forms/misc/head.txp | 4 ---- 10 files changed, 8 insertions(+), 12 deletions(-) rename src/assets/fonts/{pt-serif-v11-latin-700.woff => pt-serif-v12-latin-700.woff} (100%) rename src/assets/fonts/{pt-serif-v11-latin-700.woff2 => pt-serif-v12-latin-700.woff2} (100%) rename src/assets/fonts/{pt-serif-v11-latin-700italic.woff => pt-serif-v12-latin-700italic.woff} (100%) rename src/assets/fonts/{pt-serif-v11-latin-700italic.woff2 => pt-serif-v12-latin-700italic.woff2} (100%) rename src/assets/fonts/{pt-serif-v11-latin-italic.woff => pt-serif-v12-latin-italic.woff} (100%) rename src/assets/fonts/{pt-serif-v11-latin-italic.woff2 => pt-serif-v12-latin-italic.woff2} (100%) rename src/assets/fonts/{pt-serif-v11-latin-regular.woff => pt-serif-v12-latin-regular.woff} (100%) rename src/assets/fonts/{pt-serif-v11-latin-regular.woff2 => pt-serif-v12-latin-regular.woff2} (100%) diff --git a/src/assets/fonts/pt-serif-v11-latin-700.woff b/src/assets/fonts/pt-serif-v12-latin-700.woff similarity index 100% rename from src/assets/fonts/pt-serif-v11-latin-700.woff rename to src/assets/fonts/pt-serif-v12-latin-700.woff diff --git a/src/assets/fonts/pt-serif-v11-latin-700.woff2 b/src/assets/fonts/pt-serif-v12-latin-700.woff2 similarity index 100% rename from src/assets/fonts/pt-serif-v11-latin-700.woff2 rename to src/assets/fonts/pt-serif-v12-latin-700.woff2 diff --git a/src/assets/fonts/pt-serif-v11-latin-700italic.woff b/src/assets/fonts/pt-serif-v12-latin-700italic.woff similarity index 100% rename from src/assets/fonts/pt-serif-v11-latin-700italic.woff rename to src/assets/fonts/pt-serif-v12-latin-700italic.woff diff --git a/src/assets/fonts/pt-serif-v11-latin-700italic.woff2 b/src/assets/fonts/pt-serif-v12-latin-700italic.woff2 similarity index 100% rename from src/assets/fonts/pt-serif-v11-latin-700italic.woff2 rename to src/assets/fonts/pt-serif-v12-latin-700italic.woff2 diff --git a/src/assets/fonts/pt-serif-v11-latin-italic.woff b/src/assets/fonts/pt-serif-v12-latin-italic.woff similarity index 100% rename from src/assets/fonts/pt-serif-v11-latin-italic.woff rename to src/assets/fonts/pt-serif-v12-latin-italic.woff diff --git a/src/assets/fonts/pt-serif-v11-latin-italic.woff2 b/src/assets/fonts/pt-serif-v12-latin-italic.woff2 similarity index 100% rename from src/assets/fonts/pt-serif-v11-latin-italic.woff2 rename to src/assets/fonts/pt-serif-v12-latin-italic.woff2 diff --git a/src/assets/fonts/pt-serif-v11-latin-regular.woff b/src/assets/fonts/pt-serif-v12-latin-regular.woff similarity index 100% rename from src/assets/fonts/pt-serif-v11-latin-regular.woff rename to src/assets/fonts/pt-serif-v12-latin-regular.woff diff --git a/src/assets/fonts/pt-serif-v11-latin-regular.woff2 b/src/assets/fonts/pt-serif-v12-latin-regular.woff2 similarity index 100% rename from src/assets/fonts/pt-serif-v11-latin-regular.woff2 rename to src/assets/fonts/pt-serif-v12-latin-regular.woff2 diff --git a/src/assets/sass/modules/_fonts.scss b/src/assets/sass/modules/_fonts.scss index 36adc74..178b95b 100644 --- a/src/assets/sass/modules/_fonts.scss +++ b/src/assets/sass/modules/_fonts.scss @@ -11,8 +11,8 @@ font-family: "PT Serif"; font-style: normal; font-weight: normal; - font-display: optional; - src: url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-regular.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-regular.woff") format("woff"); + font-display: swap; + src: url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-regular.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-regular.woff") format("woff"); } // Regular Italic @@ -20,8 +20,8 @@ font-family: "PT Serif"; font-style: italic; font-weight: normal; - font-display: optional; - src: url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-italic.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-italic.woff") format("woff"); + font-display: swap; + src: url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-italic.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-italic.woff") format("woff"); } // Bold @@ -29,8 +29,8 @@ font-family: "PT Serif"; font-style: normal; font-weight: bold; - font-display: optional; - src: url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-700.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-700.woff") format("woff"); + font-display: swap; + src: url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-700.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-700.woff") format("woff"); } // Bold Italic @@ -38,6 +38,6 @@ font-family: "PT Serif"; font-style: italic; font-weight: bold; - font-display: optional; - src: url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-700italic.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v11-latin-700italic.woff") format("woff"); + font-display: swap; + src: url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-700italic.woff2") format("woff2"), url("https://textile-lang.com/assets/fonts/pt-serif-v12-latin-700italic.woff") format("woff"); } diff --git a/src/templates/forms/misc/head.txp b/src/templates/forms/misc/head.txp index b7d148b..1ec95d4 100644 --- a/src/templates/forms/misc/head.txp +++ b/src/templates/forms/misc/head.txp @@ -1,9 +1,5 @@ - - - -