diff --git a/static/css/boostlook.css b/static/css/boostlook.css index a4cccf7b..429def44 100644 --- a/static/css/boostlook.css +++ b/static/css/boostlook.css @@ -725,8 +725,9 @@ html:has(.boostlook) { font-stretch: 62.5% 100%; /* Variable font weight range */ font-variation-settings: "wght" 400, "wdth" 62.5; - font-display: swap; - src: url("/static/font/notosans.woff2") format("woff2"), + font-display: block; + src: url("../font/NotoSansDisplay.ttf") format("truetype"), + url("/static/font/notosans.woff2") format("woff2"), url("../../../../tools/boostlook/notosans.woff2") format("woff2"), url("https://cppalliance.org/fonts/NotoSansDisplay.ttf") format("truetype"); /* Metric overrides to reduce CLS on swap */ @@ -744,8 +745,9 @@ html:has(.boostlook) { font-stretch: 62.5% 100%; /* Variable font weight range */ font-variation-settings: "wght" 400, "wdth" 62.5; - font-display: swap; - src: url("/static/font/notosans_ext.woff2") format("woff2"), + font-display: block; + src: url("../font/NotoSansDisplay-Italic.ttf") format("truetype"), + url("/static/font/notosans_ext.woff2") format("woff2"), url("../../../../tools/boostlook/notosans_ext.woff2") format("woff2"), url("https://cppalliance.org/fonts/NotoSansDisplay-Italic.ttf") format("truetype"); /* Metric overrides to reduce CLS on swap */ @@ -763,8 +765,9 @@ html:has(.boostlook) { font-stretch: 62.5% 100%; /* Variable font weight range */ font-variation-settings: "wght" 400, "wdth" 62.5; - font-display: swap; - src: url("/static/font/notosans_mono.woff") format("woff"), + font-display: block; + src: url("../font/NotoSansMono.ttf") format("truetype"), + url("/static/font/notosans_mono.woff") format("woff"), url("../../../../tools/boostlook/notosans_mono.woff") format("woff"), url("https://cppalliance.org/fonts/NotoSansMono.ttf") format("truetype"); /* Metric overrides to reduce CLS on swap */ @@ -781,8 +784,9 @@ html:has(.boostlook) { font-weight: 400; /* Fixed weight for specific use cases */ font-stretch: 62.5% 100%; - font-display: swap; - src: url("/static/font/notosans_mono.woff") format("woff"), + font-display: block; + src: url("../font/NotoSansMono.ttf") format("truetype"), + url("/static/font/notosans_mono.woff") format("woff"), url("../../../../tools/boostlook/notosans_mono.woff") format("woff"), url("https://cppalliance.org/fonts/NotoSansMono.ttf") format("truetype"); /* Metric overrides to reduce CLS on swap */