diff --git a/website/public/fonts/Marianne-Regular-subset.woff2 b/website/public/fonts/Marianne-Regular-subset.woff2 index fc69060..47825af 100644 Binary files a/website/public/fonts/Marianne-Regular-subset.woff2 and b/website/public/fonts/Marianne-Regular-subset.woff2 differ diff --git a/website/public/fonts/readme.md b/website/public/fonts/readme.md index 45a65aa..1dcd765 100644 --- a/website/public/fonts/readme.md +++ b/website/public/fonts/readme.md @@ -10,4 +10,9 @@ glyphhanger \ --whitelist="DeskLaSuiteNumériqueMessagerieTchapResanaFranceTransfertContactsGristLePadWebConférencedel'ÉtatWebinaire  " ``` +## ⚠ + +Make sure to also update the `unicode-range` on the `@font-face` CSS rule. You can get it on the +glyphhanger command output. + Assuming you have the Marianne-Regular.woff2 file (you can take it from the DSFR). diff --git a/website/src/components/GaufrePage.astro b/website/src/components/GaufrePage.astro index 5d05b5d..9b43309 100644 --- a/website/src/components/GaufrePage.astro +++ b/website/src/components/GaufrePage.astro @@ -22,6 +22,8 @@ const { services } = Astro.props @font-face { font-family: "La Gaufre"; src: url("/fonts/Marianne-Regular-subset.woff2") format("woff2"); + unicode-range: U+20, U+27, U+43, U+44, U+46, U+47, U+4E, U+50, U+52-54, U+56, U+57, + U+61-66, U+68, U+69, U+6C-70, U+72-76, U+A0, U+C9, U+E9, U+2715; font-weight: 400; font-display: swap; }