Update font format from 'ttf' to 'truetype' (#32493)
As per css docs `ttf` isn't a valid format specifier. Instead, for '.ttf' fonts you need to use `truetype`. https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@supports#font-format
This commit is contained in:
@@ -39,7 +39,7 @@ e.g. in config.json:
|
||||
"faces": [
|
||||
{
|
||||
"font-family": "Inter",
|
||||
"src": [{"url": "/fonts/Inter.ttf", "format": "ttf"}]
|
||||
"src": [{"url": "/fonts/Inter.ttf", "format": "truetype"}]
|
||||
}
|
||||
],
|
||||
"general": "Inter, sans",
|
||||
|
||||
Reference in New Issue
Block a user