From 307fcad3bd93a119db39cd2fadce671102c49e86 Mon Sep 17 00:00:00 2001 From: Bobby Date: Sat, 4 Jun 2022 12:50:35 +0530 Subject: Avoid FOIT --- public/css/fonts.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/css/fonts.css b/public/css/fonts.css index 037f1971..ae921aa3 100644 --- a/public/css/fonts.css +++ b/public/css/fonts.css @@ -4,6 +4,7 @@ src: url('../fonts/TIMES16-Regular.woff'); font-weight: normal; font-style: normal; + font-display: swap; } @font-face { @@ -12,6 +13,7 @@ src: url('../fonts/TIMES16-Italic.woff'); font-weight: normal; font-style: italic; + font-display: swap; } @font-face { @@ -20,6 +22,7 @@ src: url('../fonts/TIMES16-Bold.woff'); font-weight: bold; font-style: normal; + font-display: swap; } @font-face { @@ -28,6 +31,7 @@ src: url('../fonts/TIMES24-Bold.woff'); font-weight: bold; font-style: normal; + font-display: swap; } @font-face { @@ -36,6 +40,7 @@ src: url('../fonts/TIMES32-Bold.woff'); font-weight: bold; font-style: normal; + font-display: swap; } @font-face { @@ -44,5 +49,6 @@ src: url('../fonts/COUR16-Regular.woff'); font-weight: normal; font-style: normal; + font-display: swap; } -- cgit v1.2.3