Bitter – the font only works in the TT4 style “Permutation”.
Because that’s where it is!
Method:
- Creata a style in /styles/
- e.g. myStyle.json
- Download the font from Google Fonts: Bitter
- Convert to woff2 with a converter like this.
- Place the files in ./assets/fonts/Bitter
- Add the file manually to myStyle.json
{
"fontFace": [
{
"fontFamily": "Bitter",
"fontStyle": "normal",
"fontWeight": "400 700",
"src": [
"file:./assets/fonts/Bitter/Bitter-VariableFont_wght.woff2"
]
},
{
"fontFamily": "Bitter Italic",
"fontStyle": "italic",
"fontWeight": "400 700",
"src": [
"file:./assets/fonts/Bitter/Bitter-Italic-VariableFont_wght.woff2"
]
}
],
"fontFamily": "\"Bitter\", sans-serif",
"name": "Bitter",
"slug": "bitter"
}