From: Raphaƫl Gertz Date: Thu, 13 Oct 2022 05:38:55 +0000 (+0200) Subject: Add font-display: swap CSS directive X-Git-Tag: 0.3.0~207 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/8463c8e20466d883377bcfda6d0d1d14dffe6d9a?ds=sidebyside;hp=06c0e2a68accb62d55b1a0b1f60e82a714a83b87 Add font-display: swap CSS directive --- diff --git a/Resources/public/css/droidsans.css b/Resources/public/css/droidsans.css index 26cea93..ffc1dcf 100644 --- a/Resources/public/css/droidsans.css +++ b/Resources/public/css/droidsans.css @@ -4,6 +4,7 @@ font-weight: 400; src: local('Droid Sans Regular'), local('DroidSans-Regular'), url(/bundles/rapsysair/woff2/droidsans.regular.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + font-display: swap; } @font-face { font-family: 'Droid Sans'; @@ -11,6 +12,7 @@ font-weight: 700; src: local('Droid Sans Bold'), local('DroidSans-Bold'), url(/bundles/rapsysair/woff2/droidsans.bold.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + font-display: swap; } @font-face { font-family: 'Droid Sans Mono'; @@ -18,6 +20,7 @@ font-weight: 400; src: local('Droid Sans Mono Regular'), local('DroidSansMono-Regular'), url(/bundles/rapsysair/woff2/droidsansmono.regular.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + font-display: swap; } @font-face { font-family: 'Droid Serif'; @@ -25,6 +28,7 @@ font-weight: 400; src: local('Droid Serif Italic'), local('DroidSerif-Italic'), url(/bundles/rapsysair/woff2/droidserif.italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + font-display: swap; } @font-face { font-family: 'Droid Serif'; @@ -32,6 +36,7 @@ font-weight: 700; src: local('Droid Serif Bold Italic'), local('DroidSerif-BoldItalic'), url(/bundles/rapsysair/woff2/droidserif.bolditalic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + font-display: swap; } @font-face { font-family: 'Droid Serif'; @@ -39,6 +44,7 @@ font-weight: 400; src: local('Droid Serif Regular'), local('DroidSerif-Regular'), url(/bundles/rapsysair/woff2/droidserif.regular.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + font-display: swap; } @font-face { font-family: 'Droid Serif'; @@ -46,4 +52,5 @@ font-weight: 700; src: local('Droid Serif Bold'), local('DroidSerif-Bold'), url(/bundles/rapsysair/woff2/droidserif.bold.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; + font-display: swap; }