Bug description
Setting: Quarto Website using a theme.
Objective: I would like to avoid downloading google fonts via the google api
Idea: Storing the fonts locally and include them via a custom scss file
_quarto.yml:
format:
html:
theme: light: [flatly, light.scss]
light.scss:
/* lato-regular - latin-ext_latin */@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */font-family:'Lato';
font-style: normal;
font-weight:400;
src:url('fonts/lato-v23-latin-ext_latin-regular.woff2') format('woff2'),/* Chrome 36+, Opera 23+, Firefox 39+ */url('fonts/lato-v23-latin-ext_latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
(...)
$font-family-sans-serif:'Lato';
}In my environment, the fonts are still downloaded from the google api in the fonts folder: /site_libs/bootstrap/fonts
This screenshot also shows that the api is still in use:

From a user perspetive, it would be most helpful to have a variable that ensures that no font is used via an api. Any other approach to ensure that only local fonts are used would likewise be appreciated.
As a side-note: This is particularily relevant in Germany, because there is a legal issue using google fonts that are included via the API. Therefore, this issue should be relevant for a larger group of users.
I raised this issue here.
My environment:
- WSL2 Ubuntu 20.04
- VS Code 1.75.1
- Quarto Version: 1.2.335
Checklist
Bug description
Setting: Quarto Website using a theme.
Objective: I would like to avoid downloading google fonts via the google api
Idea: Storing the fonts locally and include them via a custom scss file
_quarto.yml:light.scss:In my environment, the fonts are still downloaded from the google api in the fonts folder:
/site_libs/bootstrap/fontsThis screenshot also shows that the api is still in use:

From a user perspetive, it would be most helpful to have a variable that ensures that no font is used via an api. Any other approach to ensure that only local fonts are used would likewise be appreciated.
As a side-note: This is particularily relevant in Germany, because there is a legal issue using google fonts that are included via the API. Therefore, this issue should be relevant for a larger group of users.
I raised this issue here.
My environment:
Checklist