Files
integration/website/public/fonts
Emmanuel Pelletier 7d75902ae6 gaufre: temporarily use a full marianne webfont file
this is to allow a quick publish of the website later because I dont
have the tools to build the subsetted font right now…
2024-11-14 15:18:29 +01:00
..

We use a subset of Marianne font because we know we use just a few characters for our list. This shrinks the font file size noticeably!

Example command to use to generate the subset with glyphhanger:

glyphhanger \
  --subset="./Marianne-Regular.woff2" \
  --formats=woff2 \
  --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).